New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
split large data inserts #445
Comments
This goes hand in hand with #193 |
@c0c0n3 fixing the inject to db with a sub batches should not be much pain, can you have a look? the issue occurred in prod on ekz |
Hi @c0c0n3 and @chicco785, first of all, I want to salute you for #450. Then, I wanted to take the chance to inform you that there is a new We are currently looking into how that can improve performance when talking to CrateDB using the PostgreSQL wire protocol. So, while I recognize QuantumLeap is still using the HTTP interface, that might well be an option to look into within a future iteration. Whether Flask/Werkzeug will support asyncio natively is obviously the other side of the story in order to leverage most out of With kind regards, [1] https://github.com/MagicStack/asyncpg/releases/tag/v0.22.0 cc @mfussenegger, @seut |
Hi @amotl, thanks for your support and appreciation.
Yes, definitely. Just give us a shout when you guys are done w/ those postgres wire protocol improvements, we'll definitely consider switching to
Yep, spot on. We looked into that a while back and got stuck since not all libs in our stack were designed to work w/ an event loop.
Exciting news, thanks for sharing! |
Is your feature request related to a problem? Please describe.
When a large set of data is received, if doing a single insert, crate bombs:
Describe the solution you'd like
Split insert in smaller batches for multi notifications.
Describe alternatives you've considered
Fixing on the client side currently.
Additional context
N/A
The text was updated successfully, but these errors were encountered: