malloy icon indicating copy to clipboard operation
malloy copied to clipboard

Consider using `boost::asio::thread_pool`

Open Tectu opened this issue 6 months ago • 3 comments

Currently, we're maintaining our own threadpool. It might be worth considering using boost::asio::thread_pool instead.

Tectu avatar Jun 22 '25 22:06 Tectu

I think it's a very good decision, But when will coroutines be supported in routing. It is very practical when the data comes from other server

yansong1221 avatar Aug 23 '25 14:08 yansong1221

There is also boost.mysql

yansong1221 avatar Aug 23 '25 15:08 yansong1221

The main branch already provides a coroutine interface for the HTTP portion of the client. The feature/ws_coro branch is working on using coroutines for WS. Using coroutines in the HTTP server handlers is still will probably follow next.

But none of this has anything to do with this particular issue (using a boost supplied threadpool instead of cooking our own).

Tectu avatar Aug 25 '25 10:08 Tectu