Page:
ENG FAQ
Pages
CHN 01 概述
CHN 02 安装
CHN 03 快速开始
CHN 04 0 控制器 简介
CHN 04 1 控制器 HttpSimpleController
CHN 04 2 控制器 HttpController
CHN 04 3 控制器 WebSocketController
CHN 05 中间件和过滤器
CHN 06 视图
CHN 07 会话
CHN 08 0 数据库 概述
CHN 08 1 数据库 DbClient
CHN 08 2 数据库 事务
CHN 08 3 数据库 ORM
CHN 08 4 数据库 FastDbClient
CHN 08 5 数据库 自动批处理
CHN 09 插件
CHN 10 配置文件
CHN 11 drogon_ctl命令
CHN 12 AOP面向切面编程
CHN 13 性能测试
CHN 14 Coz分析
CHN 15 Brotli压缩
CHN 16 协程
CHN 17 Redis
CHN 18 测试框架
CHN FAQ 1 线程模型
CHN FAQ
ENG 01 Overview
ENG 02 Installation
ENG 03 Quick Start
ENG 04 0 Controller Introduction
ENG 04 1 Controller HttpSimpleController
ENG 04 2 Controller HttpController
ENG 04 3 Controller WebSocketController
ENG 05 Middleware and Filter
ENG 06 View
ENG 07 Session
ENG 08 0 Database General
ENG 08 1 Database DbClient
ENG 08 2 Database Transaction
ENG 08 3 Database ORM
ENG 08 4 Database FastDbClient
ENG 08 5 Database auto_batch
ENG 09 0 References request
ENG 09 1 File Handler
ENG 10 Plugins
ENG 11 Configuration File
ENG 12 drogon_ctl Command
ENG 13 AOP Aspect Oriented Programming
ENG 14 Benchmarks
ENG 15 Coz
ENG 16 Brotli
ENG 17 Coroutines
ENG 18 Redis
ENG 19 Testing Framework
ENG FAQ 1 Understanding drogon threading model
ENG FAQ
Home
Home.zh CN
README
_Cover
5
ENG FAQ
ProTankerAlfa edited this page 2024-05-20 01:29:57 -03:00
Table of Contents
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.
Document
Tutorial
- Overview
- Install drogon
- Quick Start
- Controller
- Middleware and Filter
- View
- Session
- Database
- References
- Plugins
- Configuration File
- drogon_ctl Command
- AOP
- Benchmarks
- Coz profiling
- Brotli info
- Coroutines
- Redis
- Testing Framework
- FAQ