🔮[RFC #0001]: Large pressure measurement scheme #137
Labels
enhancement
New feature or request
feature
Categorizes issue or PR as related to a new feature.
proposal
RFC
Project design proposal
[RFC #0000] Large pressure measurement scheme
Meta
📇Topics
Summary
One paragraph explanation of the feature.
A few directions
Millions of users register
How to support DAU 100W and 10W online at the same time
Test 1 second and 1W message can be sent normally under the situation of 100,000 users online.
View resource occupation ratio, delay, message reliability
Definitions
Make a list of the definitions that may be useful for those reviewing. Include phrases and words that OpenIMSDK authors or other interested parties may not be familiar with.
Motivation
What it is
This provides a high level overview of the feature.
How it Works
What needs to be discussed is how to achieve 10W online users on a machine, the largest TCP connection number of a machine is 6W, and the currently recorded users in the SDK to initialize various listeners, callbacks, and news local libraries.For storage, for the pressure measurement angle, the use of these users is only a message. They do not need to receive the message, and the content does not need to be stored locally
The current proposal is:
The long connection of SDK users log in to open, the server side does statistics, whether there will be a lack of or the user's disconnection.
SDK sends messages to Server, and view the seq number of the server side to detect whether the message from the client to the server is lost
SDK synchronization message: Make differences through the largest local seq and Server's maximum seq, pull data, check the synchronization time consumption
Users with a backlog of 100,000 messages to log in, check the synchronous time consumption, and enter the session to draw historical news if it will cause various functions to stuck
Migration
This section should document breaks to public API and breaks in compatibility due to this RFC's proposed changes. In addition, it should document the proposed steps that one would need to take to work through these changes. Care should be give to include all applicable personas, such as platform developers, OpenIMSDK developers, OpenIMSDK users and consumers of OpenIMSDK images.
Drawbacks
Why should we not do this?
Alternatives
Prior Art
Discuss prior art, both the good and bad.
Unresolved Questions
Spec. Changes (OPTIONAL)
Does this RFC entail any proposed changes to the core specifications or extensions? If so, please document changes here.
Examples of a spec. change might be new lifecycle flags, new
OpenIMSDK.toml
fields, new fields in the OpenIMSDKage label, etc.This section is not intended to be binding, but as discussion of an RFC unfolds, if spec changes are necessary, they should be documented here.
History
The text was updated successfully, but these errors were encountered: