Live data from Hacker News

Web Framework Benchmarks

techempower.com

91–100 of 116 posts

Re: Web Framework Benchmarks

#91
post #54

Earlier quoted context omitted.

For Rust, I'm interested to see what the future holds once the community coalesces around an async IO interface. Additionally, when procedural macros stabilizes (for real), the possibilities for ergonomic frameworks in Rust become endless. Rocket has been really interesting to work with, but it only works on nightly since it relies on experimental codegen/procedural macro features. Once procedural macros stabilizes,…

Lots of folks seem to be getting drawn to actix-web, which features quite a bit up the top of these benchmarks. I've not used it, but it works on stable, is fully async, and has been met with many good reviews!

Which according to their main developer is used in production at Microsoft.

Re: Web Framework Benchmarks

#92
post #36

Earlier quoted context omitted.

I agree with the overall sentiment. Plus almost all cases I run into performance issues with e.g. Python in general web development, that main problems were how the code was written, not what it was written in and being bottle-necked by the database. That said I disagree a bit with saying it is a a solved problem unless you are Google-scale. In developing countries if you are in a small company without big investors,…

Im somewhat traditional with my web, javascript and php. But are people really doing python and web development? I love python for my web crawlers, photoshop automation, and table formatting automation- But I never considered it a web contender. Any major sites running python? Whats the popular way people are doing it?

Instagram. Dropbox.

Re: Web Framework Benchmarks

#93
post #7

I had not checked these for a good long while. (Probably around round 10 or 11.) Looking back in on it now, holy MAN! C (C++) and Java. Wow. Even though I'm old, I'd sort of forgotten how speedy they can be. It's strange, because I actually work with Java and C in making streaming game engines. And you kind of get used to thinking in terms of millions on a set of hardware. So you think Java and C are slow. Then you r…

> Anything other than C or Java really Rust, C#, and Go also seem to fit the bill, according to these benchmarks. C# particularly has rocketed up since the last time I looked in depth at these. Pretty impressive work from the .NET Core folks, I'd say.

[deleted]

Re: Web Framework Benchmarks

#94
post #86
post #78

I'm not familiar with this site and benchmarks, but from reading comments it seems to be respected. Given that, I'm confused why this is called "web framework" benchmarks. It looks to me like it is comparing some actual frameworks (which rank very poorly) against minimalist, task-focused http servers (which rank highly).

We use the word "framework" as a term of convenience covering the full spectrum from platforms, micro-frameworks, to full-stack frameworks. We are also liberal with accepting contributions from the community, which means we do indeed include several frameworks that are well outside the mainstream. That said, in tests such as Fortunes, you will see many full-stack frameworks demonstrating their capability to deliver m…

Thanks for the explanation. I see your reasoning.

If there were a (asterisk) in the title: Web Framework Benchmarks (asterisk link), with the asterisk taking you to a page with something like your explanation above, that would be lovely.

Re: Web Framework Benchmarks

#96
Check out vertx on the multiple query benchmark - it is almost twice as fast as the next entry. Just got confirmation from TechEmpower that they are using a new pipelining feature in postgres to wipe the floor with the rest of the field.

https://twitter.com/sampullara/status/1004753777209962497

Re: Web Framework Benchmarks

#97

I have been working with .NET Core since RC1 and I am so excited about the performance it's getting. Ranked 7? That's seriously impressive. Just go look at some of the past benchmarks.

I think it would have been even faster if they'd test with SQL Server because you can do things with SQL Server that you simply cannot do in PG such as stored procedures that return multiple resultsets, which saves a ton of round-trips.

Re: Web Framework Benchmarks

#98
post #84

Trust me. You won't hit 424,712 requests per seconds per each node (that is 1,528,963,200 per hour). You need to have many nodes and a a well distributed and scalable infrastructure to handle 1B req/hr. There is no point to benchmark your programming-language/framework when doing web development. When it comes to web, you will hit N different capacity limits before that even with slowest framework, starting from your…

Yep. It took me about six months to write a replacement of ActiveRecord with an identical API (for what was needed) that could scale to arbitrarily large number of writes. Shit, pre-A16Z raise 500px ran on Rails and they were a social network around photography . You think Twitter is bad? Try timelines where you have half a million photographers liking hundreds of photos an hour and every like gets pushed into every…

>Yep. It took me about six months to write a replacement of ActiveRecord with an identical API (for what was needed) that could scale to arbitrarily large number of writes

Sorry to ask, would that be open sourced?

>It was 5 application servers, 4 MongoDB servers for the timeline with some crazy data structures, one or two MySQL DBs.

That is a little hard to warp my head around, because pre-A16z 500px was a long time ago? Hardware should be much slower and Ruby was way slower as well. We have 2-3x faster hardware and faster ruby today, and the same hardware surely won't do much with Discourse and Gitlab scale.

Re: Web Framework Benchmarks

#100

I have been working with .NET Core since RC1 and I am so excited about the performance it's getting. Ranked 7? That's seriously impressive. Just go look at some of the past benchmarks.

I think it would have been even faster if they'd test with SQL Server because you can do things with SQL Server that you simply cannot do in PG such as stored procedures that return multiple resultsets, which saves a ton of round-trips.

You can do even more advanced stuff in Postgres, but they've changed the rules to dissalow it since it much more faster than the the current best ones. Something about being fair to other frameworks...
Post reply on HN