-
Type: Improvement
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
The biggest drawback in the client driver currently is that all the API functions are blocking.
Being able to pass a callback function to functions such as getLastError will not only lead to better design, but also a huge performance and concurrency increase.
The low level sockets are as far as I can deduce already asynchronous. It should be possible to build from that into an asynchronous event driven driver.
Since boost is already employed I recommend looking at asio and bind.
- is duplicated by
-
CXX-965 C++11 driver 3.0.1 so much slower than legacy C++ driver 2.6.11?
- Closed