Memory computing service framework and implementation system
A service framework and in-memory computing technology, applied in computing, database management systems, program control design, etc., can solve problems such as inability to complete read-write separation of data, interface definitions, and call method storage models that cannot form a unified specification, so as to improve throughput Ability, effect of guaranteed speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] see figure 1 , this embodiment provides an in-memory computing service framework, the service framework uses Nats as a message bus for inter-service communication; the service triggers business logic processing by subscribing to a specified topic, and publishes the service in the form of a message after the processing is completed The memory state of the framework is sent to the specified topic for consumption by other services; the service framework uses Hazelcast to cache the service state.
[0045] In this embodiment, general data storage and query services are set based on Hazelcast and databases; an application service developed based on the service framework specifies the data that needs to be persisted through annotations when the data model is defined, and the fields for establishing query indexes. The storage and query services provided by the memory computing service framework automatically persist data and provide queries.
[0046] In this embodiment, the Ca...
Embodiment 2
[0056] see figure 2 , in the in-memory computing service framework provided in this embodiment, the service uses topics to communicate in the pub-sub mode based on Nats, and each topic contains the following attributes: name, type, encoding method of transmitted information on the topic, topic creator or all When a data producer publishes a message to a specified topic, the memory computing service framework SDK will extract the corresponding field value in the message according to the template attribute of the topic to form a subject, and Nats will route the message according to the subject and subscription conditions.
[0057] In this embodiment, all services use topics to communicate in a pub-sub mode based on Nats, and topic management is a core management capability of the service framework. Topic is one of the core concepts in the Nats framework. Each topic contains the following attributes: name (name), type (type), encoding (the encoding method of the message transmit...
Embodiment 3
[0062] see image 3 , the memory computing service framework provided in this embodiment includes a management center node Monitor, which manages the status of all services in the framework, and initialization operations such as service registration and login. Service startup (INIT state) needs to go through a) login, b) registration, c) synchronization parameters, d) check dependencies, etc., and finally start successfully (ACTIVE state). Such as image 3 , the service itself and the Monitor maintain their own status through heartbeats. If the Monitor does not receive the service heartbeat for a long time, it will judge that the service status is INACTIVE. After the service in the ACTIVE state stops, it finally enters the SHUTDOWN state; after the service in the INACTIVE state exits, it finally enters the SHUTDOWN state. Monitor will broadcast the status changes of any service, and other services can subscribe to these changes and make corresponding decisions. If the status...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com