5 ENG FAQ
ProTankerAlfa edited this page 2024-05-20 01:29:57 -03:00
Other languages: 简体中文

FAQ

This is a list of commonly asked questions and the answers, with some extended explanation.

What's drogon's threading model and best practices?

Drogon runs on a thread pool where the HTTP server threads as well as DB threads are created when app().run() is called. It is a sequential task based system. Thus it is recommended to always use the asynchronous APIs or coroutines when possible. See Understanding drogon's threading model for detail.