Method and system for achieving priority message queues based on Redis
A message queue and priority technology, applied in the computer field, can solve problems such as inability to view, modify, and inconvenient expansion of message queue capacity, and achieve good flexibility
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0026] The present invention will be further described below in conjunction with specific drawings and embodiments.
[0027] Such as figure 1 Shown: in order to realize the message queue with priority function, the present invention includes write message module 2 and the Redis cluster 3 that is used for message queue storage and management, described write message module 2 is connected with Redis cluster 3 by connection pool module 4 ;
[0028] After the connection pool module 4 is connected with the Redis cluster 3, the message writing module 2 can write the message body in the Redis cluster 3, and the message body includes the queue name, message content and message priority, and the Redis cluster 3 writes the message in the message body The content is stored in the message list of the message queue corresponding to the queue name and message priority, and after the Redis cluster 3 stores the message content in the corresponding message list, the connection between the mes...
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