Details
-
Improvement
-
Status: Closed
-
Major - P3
-
Resolution: Won't Fix
-
None
-
None
-
None
Description
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.
Attachments
Issue Links
- is duplicated by
-
CXX-965 C++11 driver 3.0.1 so much slower than legacy C++ driver 2.6.11?
-
- Closed
-