Understanding Drogon’s threading model 事件循环和线程 网络IO 事件循环死锁 高速数据库客户端 使用协程 总结 Understanding Drogon’s threading model drogon 是一个快速的 C++ Web 应用程序框架,部分原因是没有抽象化底层线程模型并把它们包裹起来。 然...
Understanding Drogon’s threading model Event loops and threads Network IO in practice Deadlocking the event loop Fast DB clients Coroutines to the rescue TL;DR Understandi...
Static Site Dynamic Site 04.0 Controller Introduction Static Site Let’s start with a simple example that introduces the usage of drogon. In this example we create a project ...
Creating a client Using Redis Transaction Coroutines Drogon supports Redis, a very fast, in-memory data store. Which could be used as a database cache or a message broker. Lik...
Session object Examples of sessions 08.0 Database Session is an important concept of the web application. It is used to save the state of the client on the server. Generally...