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

handle multiple requests #7

Open
ennorehling opened this issue Jun 12, 2015 · 1 comment
Open

handle multiple requests #7

ennorehling opened this issue Jun 12, 2015 · 1 comment

Comments

@ennorehling
Copy link
Owner

the server currently handles one request at a time. since most requests are reads, we should be able to handle more than one simultaneously.

@ennorehling
Copy link
Owner Author

Thoughts

This is going to require threading, and a reader/writer lock around the data store.
C11 has threads and atomic operations, but there seems to be no toolchain. musl seems to have the threads, though, and other vendors will eventually follow?
Alternative is pthreads (yuck).

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

1 participant