Patent ID: 9736108
Date: 2017-08-15
CPC Classifications: G06F,H04L

Claim:
1. A method for direct transmission of data between applications in a multi-tenant environment, the method comprising: determining if a first tenant and a second tenant exist within a same runtime; responsive to the first tenant and the second tenant not existing within the same runtime, opening a server socket of a first tenant; placing an entry in a registry, the entry including an IP number and a port number associated with the first tenant; receiving a request for a connection by a second tenant; storing a pairing entry that associates the first tenant with the second tenant; responsive to determining the first tenant and the second tenant exist within the same runtime and the transmission method having a high overhead, establishing 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 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, establishing 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.