oleiade / Elevator

Elevator is an open source, on-disk key-value store. Provides high-performance bulk read-write operations over very large datasets while exposing a simple and efficient API.
http://elevator.readthedocs.org
MIT License
71 stars 12 forks source link

Ack + Tokens request->response system #124

Open oleiade opened 11 years ago

oleiade commented 11 years ago

One way to support huge and long operations gracefully, might be to implement a "Future" operation that would handle requests the following way:

Client sends request to the server as a "future" request -> Servers responds ack and op id -> When result is ready, server returns the respons prepended with the op id -> Client handles the response.

Nota: Problem is that it could be quite difficult and so straight forward to implement client-side.