In-Browser Microservice Containers for Web Latency Reduction
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
High latency in web application microservices due to factors like physical distance, bandwidth limitations, and network infrastructure issues leads to increased network latency, affecting user experience.
Innovation Solution
Executing high latency web application microservices within an in-browser container execution engine in the web browser to process HTTP requests locally, optimizing resource utilization, and managing container lifecycle to reduce latency.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If microservices are executed remotely via network, then service accessibility is improved, but network latency increases
Solution Approach 1:
The patent creates local copies of microservice containers within the web browser using web assembly technology. These local copies replicate the functionality of remote microservices, allowing the application to execute critical services locally without network dependency while maintaining service accessibility. The container execution engine loads and runs microservice containers directly in the browser, eliminating network round-trips for local operations.
Solution Approach 2:
The patent transitions microservice execution from a single network-based dimension to a hybrid model operating in two dimensions: local browser-based execution and remote cloud execution. This dimensional shift allows the system to choose the optimal execution location based on latency requirements, with local execution handling time-sensitive operations and remote execution handling less critical tasks.
2Adaptability or versatility
If more microservices are deployed remotely, then application functionality is improved, but network dependency and latency increase
Solution Approach 1:
The patent segments the microservice architecture into local and remote components. Critical microservices that require low latency are segmented and executed locally within the browser container, while non-critical microservices continue to run remotely. This segmentation reduces network dependency for essential functions while maintaining full application functionality through the combination of local and remote service execution.
3Loss of time
If microservices are executed locally in-browser, then network latency is reduced, but device resource consumption increases
Solution Approach 1:
The patent changes the execution environment parameters by using web assembly technology, which allows microservice containers to run locally in the browser with significantly reduced resource overhead compared to traditional local execution methods. Web assembly provides optimized binary code execution that balances performance with resource efficiency, enabling local microservice execution without excessive battery or processing power consumption.
Data Source
AI summary
Decreasing latency of high latency microservices is provided. A Hypertext Transfer Protocol (HTTP) request is sent to an in-browser microservice running in an in-browser container of an in-browser container execution engine within a web browser of the host device to process the HTTP request. The HTTP request is processed using the in-browser microservice running in the in-browser container of the in-browser container execution engine within the web browser to decrease latency of the in-browser microservice that is marked as a high latency microservice. An HTTP response to the HTTP request is returned to the web browser based on the in-browser microservice running in the in-browser container of the in-browser container execution engine within the web browser processing the HTTP request.


