4 ms·
I knew that name was familiar. Drogon scores nicely in Techempower's benchmarks: https://www.techempower.com/benchmarks/#section=data-r19&hw=ph&test=plaintext
by hu3 6y ago
I knew that name was familiar. Drogon scores nicely in Techempower's benchmarks:
https://www.techempower.com/benchmarks/#section=data-r19&hw=ph&test=plaintext https://www.techempower.com/benchmarks/#section=data-r19&hw=...
- sorokod 6y agoUp to number one in composite score from number nine in the previous round.
- dragonsh 6y agoYes indeed it is one of the top performers. But I feel need more real-life examples of companies and systems using it. Hope it generates some interest among programming community to also look at modern C++ as viable web development platform.
- saberience 6y agoThe problem isn't performance, the problem is developer productivity. C++ isn't known for building things quickly. Why would anyone use this over DotNet Core, which is also highly performance but significantly easier to understand. Also building anything in a complex language like C++ means more bugs and errors.
- CyberDildonics 6y agoI don't find this to be true at all with modern C++. Doing the same things ends being more straightforward in my experience. Setting up compilation is often more painful and sooner or later I run into some snags with const and map iteration, though those don't end up being long term time sinks.
- hellofunk 6y agoDoesn’t make any sense at all to go with dot net if the rest of your app is in C++ and something easy like this exists.
- otabdeveloper4 6y ago> C++ isn't known for building things quickly. What language is? If only sticking to deadlines was as easy as changing your programming language! Alas.
- zinclozenge 6y agoDoes 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...