ennorehling / ennodb

EnnoDB
20 stars 0 forks source link

handle multiple requests #7

Open ennorehling opened 9 years ago

ennorehling commented 9 years ago

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 commented 9 years ago

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).