iotdb
iotdb copied to clipboard
SEDA model: using the SEDA model in our IoTDB
Is your feature request related to a problem? Please describe.
The concurrency model in our IoTDB is thread-base, each client thread corresponds to a server thread.
disadvantage:
- The context switch is overload.
- We can't control the resource of the thread.
Proposal:
Using the SEDA model in our IoTDB.
Possible impaction:
- the latency of each operation will increase
- the throughput of writing operation will decrease
Advantage:
- We can control the resource of the thread
- We can trace different request in different stage
Describe the solution you'd like A clear and concise description of what you want to happen.
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.
@jixuan1989 @MyXOF @qiaojialin @Beyyes
I like SEDA. Maybe the latency of each operation will increase, but the throughput will increase if we can assign the resources fine-grained.