Earlier quoted context omitted.
That is quite surprising. Anyone have an idea why that is?
That's easy to answer, instead of using a relational database or even PostgreSQL's JSON data store, it's using MongoDB. I hate MongoDB but for tests like these where there's absolutely no writes what so ever, Mongo is going to fly. Hence, I read this as comparing MongoDB read performance to PostgreSQL, MySQL or SQL Server perf (or any of the other DB that are listed.) That's why benchmarks like these have to be scrut…
Techempower Web Framework Benchmarks Round 10
31–40 of 66 posts
Re: Techempower Web Framework Benchmarks Round 10
#32There's something I don't understand in these comments. Why is everyone interested in language comparisons instead of the huge difference between EC2 and bare metal?
Re: Techempower Web Framework Benchmarks Round 10
#33There's something I don't understand in these comments. Why is everyone interested in language comparisons instead of the huge difference between EC2 and bare metal?
That's why the bare metal results are the only relevant ones. The playing field is fair and stable. Let the battle begin ;-)
Re: Techempower Web Framework Benchmarks Round 10
#34Earlier quoted context omitted.
That is quite surprising. Anyone have an idea why that is?
Actually, not really. We checked the code to ensure that there was no gaming the system and it definitely APPEARS to be making separate database queries as we require in our rules. In fact, we had this same question in round 9 and had a number of people audit it. We cannot explain it other than it might be pretty darn fast.
Frankly, who cares if a caching driver avoids some database queries entirely if it still provides the same level of durability and freshness guarantees? If mongo+redis are OK, what's wrong with a plain hashtable?
Re: Techempower Web Framework Benchmarks Round 10
#35Re: Techempower Web Framework Benchmarks Round 10
#36I expect the cause is that too much code is being loaded for every request. PHP tears down and rebuilds the world for every request, and the popular frameworks load a lot of code and instantiate a lot of objects for every request.
Re: Techempower Web Framework Benchmarks Round 10
#37Re: Techempower Web Framework Benchmarks Round 10
#38Re: Techempower Web Framework Benchmarks Round 10
#39Earlier quoted context omitted.
That's easy to answer, instead of using a relational database or even PostgreSQL's JSON data store, it's using MongoDB. I hate MongoDB but for tests like these where there's absolutely no writes what so ever, Mongo is going to fly. Hence, I read this as comparing MongoDB read performance to PostgreSQL, MySQL or SQL Server perf (or any of the other DB that are listed.) That's why benchmarks like these have to be scrut…
If each framework use different DB, then all results with DB queries are useless (for me). Very frustrating. Really, any framework with Redis will have HUGE allowance
Re: Techempower Web Framework Benchmarks Round 10
#40There's something I don't understand in these comments. Why is everyone interested in language comparisons instead of the huge difference between EC2 and bare metal?
Also, by its nature EC2 should be terrible for serious benchmarking, since you have no control whatsoever about the infrastructure.