Details
-
Type:
Task
-
Status: Open
-
Priority:
Major
-
Resolution: Unresolved
-
Fix Version/s: 10.2
-
Component/s: None
-
Labels:None
Description
Some write-only queries (insert, update, delete) could be run in the background (from a client point-of-view), but MariaDB (client) currently provides no API for this. Could such an API be added?
At first the client could spawn a worker thread and run the queries there (on a separate connection), but when protocol support becomes available a separate connection might no longer be necessary.
An ordering flag would probably be required as queries could either be run out-of-order, in-order with other background queries or in-order with all other queries.
The initial design could be emulated in application code, but the ideal design can not.
I'm aware of the async client features, but this is something different.
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
Please check out non-blocking client library – is it what you are looking for?
(You mentioned that you are aware of the async client features, but I'm not sure what exactly you had in mind)