3 ms·
Does anybody know why it does so well on the multiple updates test?
by zinclozenge 6y ago
Does anybody know why it does so well on the multiple updates test?
- dragonsh 6y agoTake a look at features on the page: 1. Support non-blocking I/O based asynchronously reading and writing database (PostgreSQL and MySQL(MariaDB) database); 2. Support asynchronously reading and writing sqlite3 database based on thread pool;
- zinclozenge 6y agoSure but actix does the same via tokio-Postgres and is beaten by almost 2x.
- dragonsh 6y agoNot sure of the exact reason may be because it is directly using the postgresql C client library. Check the implementation of DB client: https://github.com/an-tao/drogon/blob/master/orm_lib/src/DbClientImpl.cc https://github.com/an-tao/drogon/blob/master/orm_lib/src/DbC...