3 ms·
The solution mentioned in the issue is the same one I use, `run_in_threadpool`. Does that not work for you?
by adeelk93 3y ago
The solution mentioned in the issue is the same one I use, `run_in_threadpool`. Does that not work for you?
- scriptr 3y agoThreadpools incur high overhead but that should work mostly. Also, in Litestar Sync is a first class citizen just as much as async is. You can see in benchmarks (that shouldnt be taken as gospel) how frameworks drop off in sync perf., where Litestar maintains both well. https://docs.litestar.dev/latest/benchmarks.html https://docs.litestar.dev/latest/benchmarks.html