Safe2COVIDApp / bct-server

Bluetooth Contact Tracing for Covid19 - server
5 stars 1 forks source link

reduce blocking in twisted server #74

Closed danaronson closed 4 years ago

danaronson commented 4 years ago

Currently each http requests blocks the server. Since twisted is single threaded unblock by using deferred(s). The basic blocking reasons that both need to be fixed is: Reading from many files on disk to get the json blobs (fix by reading a few files at a time and then deferring until later

To fix this:

mitra42 commented 4 years ago

I think this is what you just pushed Dan ?