Data high-concurrency processing method of healthy social platform Feed stream system
A technology of social platform and processing method, which is applied in the field of high concurrency processing of data, can solve problems such as inability to dynamically transmit data to subscribers, high concurrency performance bottlenecks, connection timeouts, etc., to improve user experience, reduce memory requirements, and reduce difficulty Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0039] see Figure 1-6 , the present invention provides the following technical solutions: the tweet is stored in the database, and the tweetmeta is stored in the timeline, comprising the following steps:
[0040] S1. When a user publishes a tweet, the tweetmeta is written into the timelinelist through fanout according to the social graph; only the metadata is saved, and Redis can well support a large amount of metadata push;
[0041] S2. When the user checks his timeline, he directly fetches tweetmeta from his timeline, and then obtains the corresponding tweet data from the DB. The test environment in this implementation is a single 4-core 8G Gigabit network card Centos7.5 server. Deploy redis4.2, mysql 5.7, feed stream system in docker. The pressure test client uses apachejmeter5.3, 100 thread group pressure test for 10 minutes.
[0042] Specifically, when publishing a Feed message;
[0043] 1). Feed messages first enter a queue service. Extract metadata (TweetMeta) from...
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