Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SEDA model: using the SEDA model in our IoTDB #473

Open
liukun4515 opened this issue Nov 29, 2018 · 2 comments
Open

SEDA model: using the SEDA model in our IoTDB #473

liukun4515 opened this issue Nov 29, 2018 · 2 comments

Comments

@liukun4515
Copy link
Contributor

liukun4515 commented Nov 29, 2018

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:

  1. The context switch is overload.
  2. We can't control the resource of the thread.

Proposal:

Using the SEDA model in our IoTDB.

Possible impaction:

  1. the latency of each operation will increase
  2. the throughput of writing operation will decrease

Advantage:

  1. We can control the resource of the thread
  2. 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.

@liukun4515
Copy link
Contributor Author

@jixuan1989
Copy link
Member

I like SEDA.
Maybe the latency of each operation will increase, but the throughput will increase if we can assign the resources fine-grained.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants