Direct transmission of data between applications in a multi-tenant environment
First Claim
Patent Images
1. A computer program product for direct transmission of data between applications in a multi-tenant environment, the computer program product comprising a computer readable storage medium having stored thereon:
- first program instructions programmed to determine if a first tenant and a second tenant exist within a same runtime;
second program instructions programmed to, responsive to the first tenant and the second tenant not existing within the same runtime, open a server socket of a first tenant;
third program instructions programmed to place an entry in a registry, the entry including an IP number and a port number associated with the first tenant;
fourth program instructions programmed to receive a request for a connection by a second tenant;
fifth program instructions programmed to store a pairing entry that associates the first tenant with the second tenant;
sixth program instructions programmed to, responsive to determining the first tenant and the second tenant exist within the same runtime, establish a mechanism for transmitting data between the first tenant and the second tenant, wherein the mechanism for transmitting data between the first tenant and the second tenant has a low overhead for transmitting data; and
seventh program instructions programmed to, responsive to a connection being made between the first tenant and the second tenant and the opening of the server socket of the first tenant, establish the mechanism for transmitting data between the first tenant and the second tenant,wherein;
the mechanism includes, at least, one of the following;
1) copying a byte array of the server socket from a first space assigned to the first tenant to a second space assigned to the second tenant; and
2) intercepting an object prior to the forming of a byte array level and deep copying of the object and corresponding references from the first space assigned to the first tenant to the second space assigned to the second tenant.
1 Assignment
0 Petitions
Accused Products
Abstract
Overhead of sending data from one application to another by doing input and output processing can be costly. The present invention provides a method of transmitting data with a low overhead between applications in a multi-tenant runtime environment. The multi-tenant runtime detects a connection between tenants, and then performs low-overhead data transmission mechanisms by cloning data from one tenant space to another tenant space, while keeping the data isolated for two tenants.
-
Citations
13 Claims
-
1. A computer program product for direct transmission of data between applications in a multi-tenant environment, the computer program product comprising a computer readable storage medium having stored thereon:
-
first program instructions programmed to determine if a first tenant and a second tenant exist within a same runtime; second program instructions programmed to, responsive to the first tenant and the second tenant not existing within the same runtime, open a server socket of a first tenant; third program instructions programmed to place an entry in a registry, the entry including an IP number and a port number associated with the first tenant; fourth program instructions programmed to receive a request for a connection by a second tenant; fifth program instructions programmed to store a pairing entry that associates the first tenant with the second tenant; sixth program instructions programmed to, responsive to determining the first tenant and the second tenant exist within the same runtime, establish a mechanism for transmitting data between the first tenant and the second tenant, wherein the mechanism for transmitting data between the first tenant and the second tenant has a low overhead for transmitting data; and seventh program instructions programmed to, responsive to a connection being made between the first tenant and the second tenant and the opening of the server socket of the first tenant, establish the mechanism for transmitting data between the first tenant and the second tenant, wherein; the mechanism includes, at least, one of the following;
1) copying a byte array of the server socket from a first space assigned to the first tenant to a second space assigned to the second tenant; and
2) intercepting an object prior to the forming of a byte array level and deep copying of the object and corresponding references from the first space assigned to the first tenant to the second space assigned to the second tenant. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer system for direct transmission of data between applications in a multi-tenant environment, the computer system comprising:
-
a processor(s) set; and a computer readable storage medium; wherein; the processor set is structured, located, connected and/or programmed to run program instructions stored on the computer readable storage medium; and the program instructions include; first program instructions to determine if a first tenant and a second tenant exist within a same runtime; second program instructions programmed to, responsive to the first tenant and the second tenant not existing within the same runtime, open a server socket of a first tenant; third program instructions programmed to place an entry in a registry, the entry including an IP number and a port number associated with the first tenant; fourth program instructions programmed to receive a request for a connection by a second tenant; fifth program instructions programmed to store a pairing entry that associates the first tenant with the second tenant; and sixth program instructions programmed to, responsive to determining the first tenant and the second tenant exist within the same runtime, establish a mechanism for transmitting data between the first tenant and the second tenant, wherein the mechanism for transmitting data between the first tenant and the second tenant has a low overhead for transmitting data; and seventh program instructions programmed to responsive to a connection being made between the first tenant and the second tenant and the opening of the server socket of the first tenant, establish the mechanism for transmitting data between the first tenant and the second tenant, wherein; the mechanism includes, at least, one of the following;
1) copying a byte array of the server socket from a first space assigned to the first tenant to a second space assigned to the second tenant; and
2) intercepting an object prior to the forming of a byte array level and deep copying of the object and corresponding references from the first space assigned to the first tenant to the second space assigned to the second tenant. - View Dependent Claims (9, 10, 11, 12, 13)
-
Specification