gianm commented on issue #18733: URL: https://github.com/apache/druid/issues/18733#issuecomment-3565036660
Sounds reasonable to me in general. I do believe @clintropolis is right that we would want to have a memory model where memory is associated with the query rather than the processing thread. Otherwise each virtual thread would need a big chunk of memory, which limits the number of virtual threads we can make. Dart/MSQ already works like this: the "processing buffers" are not a shared pool, but are actually per-query. (Unlike native queries, where the "processing buffers" are associated 1-1 with processing threads.) So it could be interesting to try out the virtual thread idea there. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
