Multi-tenant Data Transmission via Memory Cloning
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In multi-tenant environments, the high overhead cost of data transfer between applications due to the need for conversion into a transmission format and subsequent restoration is a significant challenge, especially when applications must remain isolated.
Innovation Solution
A method that involves opening a server socket, registering it with an IP and port number, receiving connection requests, and establishing a mechanism for direct data transmission by cloning data in a new tenant space, which includes deep copying of objects to minimize overhead while keeping data isolated.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If data is transmitted using conventional network sockets with serialization and deserialization, then data can be transferred between applications, but the performance cost and overhead are high
Solution Approach 1:
The patent uses memory copying mechanisms to transfer data directly between tenant applications without conventional serialization/deserialization. The data is copied from the source tenant's memory space to the destination tenant's memory space, eliminating the overhead of format conversion while maintaining data integrity and isolation through controlled memory access
Solution Approach 2:
The patent extracts the data transfer mechanism from the conventional network socket layer and implements it directly at the memory level within the multi-tenant runtime environment. By taking out the serialization/deserialization step and replacing it with direct memory copying, the system achieves high-performance data transfer while maintaining application isolation
2Productivity
If direct memory sharing between processes is used for routing, then transmission overhead is reduced, but application isolation between tenants is compromised
Solution Approach 1:
The patent segments the multi-tenant runtime environment into isolated memory spaces for each tenant, with controlled interfaces for data transfer. Each tenant operates in its own virtualized memory space, and the system provides controlled copying mechanisms that allow efficient data transfer while maintaining strict isolation boundaries between tenants
Solution Approach 2:
The patent introduces an intermediary layer (the multi-tenant runtime environment) that manages data transfer between isolated tenant applications. This intermediary controls the copying process, ensuring that data can be efficiently transferred between tenants while maintaining isolation through controlled access and proper memory management
Data Source
AI summary
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.


