Better HN
topnewbestaskshowjobs
Log inSign up

pfalls

1,152 karma · joined Jan 29, 2013 (13y ago) · 40 submissions

Submissions

1.

Web Framework Benchmarks Round 5(techempower.com ↗)

89 points · by pfalls · 13y ago · 57 comments

comment 13y ago · link · parent

We use the cluster module to handle multiple workers (https://github.com/TechEmpower/FrameworkBenchmarks/blob/mast...), so far we've received feedback that this is a valid approach.

comment 13y ago · link · parent

We use the cluster module to spin up multiple instances. We cap it at one instance per core.

comment 13y ago · link · parent

The latest test that we have, dubbed "Fortunes", does server-side templating, so we (or a generous community member) could add a JSF implementation for that test.

comment 13y ago · link · parent

Here is the issue for just that:

https://github.com/TechEmpower/FrameworkBenchmarks/issues/11...

If you're interested, we'd love to have some help getting this accomplished.

comment 13y ago · link · parent

We would like to have a .NET test running on mono. We were hoping to get a pull request for round 4, but unfortunately we have yet to receive one.

comment 13y ago · link · parent

Thanks for the kind words. We're very interested in adding additional tests, this round even includes a new test dubbed "Fortunes" which does in fact do server-side templating. We have an open github issue[1] asking for the community's input for just this sort of thing, and we'd love to have your feedback included.

[1] https://github.com/TechEmpower/FrameworkBenchmarks/issues/13...

8.

Web Framework Benchmarks Round 4(techempower.com ↗)

369 points · by pfalls · 13y ago · 346 comments

comment 13y ago · link · parent

I want to give a quick thank you to everyone who has contributed thus far. Being able to show frameworks that span this many different languages and platforms is really an amazing achievement that we only we able to accomplish with the help of the community. For the frameworks that are still missing, we're not done yet, continue submitting pull requests and we'll get them in.

10.

Web Framework Benchmarks Round 3(techempower.com ↗)

34 points · by pfalls · 13y ago · 29 comments

comment 13y ago · link · parent

Each test can be modified in isolation, if both tests see an improvement in that setup, we would like to include the changes for both though.

comment 13y ago · link · parent

Correct, because we chose MySQL as the database backend, both Django and Flask are punished for not having a connection pool. We've received requests to do the test using Postgres which does have a connection pool, and we hope to eventually get to that.

comment 13y ago · link · parent

There will most certainly be a Round 3, and 4 and on and on as long as we continue to have feedback from the community. I can guarantee that we'll have a Lua test in there, but if we receive a pull request, we'll include it.

comment 13y ago · link · parent

We're very curious about PyPy as well, and have it on our list https://github.com/TechEmpower/FrameworkBenchmarks/issues/15

comment 13y ago · link · parent

Yes, Github issues is a good place to ask for guidance.

comment 13y ago · link · parent

We're looking into moving to unicorn as the community has suggested. If anyone is interested in setting up Puma or Goliath, we'd be interested in testing those out as well.

comment 13y ago · link · parent

"I like these comparisons. It's unlikely that anyone is going to pick a framework for their project based on just this alone."

This is exactly right, performance is one of many items to consider when building your own website, and while we're aiming to have a very comprehensive and useful set of performance data, we would agree that other factors need to be taken into account.

comment 13y ago · link · parent

The short answer is that at some point, we kept adding more and more tests on our own, which kept the blog from going out, and we finally decided to have a cutoff date and let the community continue adding tests that they were interested in. I think adding a database test to Netty (as well as Go for that matter) would be a great addition.

comment 13y ago · link · parent

Great suggestions, we've thought about capturing other system data as well, but memory seems like a great choice to start with.

comment 13y ago · link · parent

We've had a lot of requests Mono, and are actually very interested in trying this out. We've been hesitant to move forward only because we're unsure how stable the C# community believes Mono to be. We hope to have that test at some point though, but the fastest way to get a test included is to issue a pull request. So if anyone is interested in trying this out, let us know and we can help guide the process.

comment 13y ago · link · parent

We have one pull request for Onion, which is c based. We're working with the author to work through some issues, but we're also excited to see how it will stack up.

comment 13y ago · link · parent

Since we moved to a different benchmarking tool for round 2, we had to re-run all the tests, which is a time consuming process, especially on the EC2 hardware. Now that we've gotten that out of the way, we have an easier time running and processing results for individual tests. So stay tuned!

comment 13y ago · link · parent

The only framework that uses MongoDB exclusively is the vert.x test, the nodejs tests have tests for both MySQL and MongoDB

comment 13y ago · link · parent

Thanks for the kind words. Glad to hear that you've been introduced to some new frameworks, we feel the same way, and we're excited to see what else the community has up it's sleeve.

comment 13y ago · link · parent

Thanks for the suggestion, we're still in the early stages of getting the latency information incorporated, and having the ability to sort by the various metrics makes a lot of sense.

comment 13y ago · link · parent

Go 1.1 is very high on our list, we'd love to get that into the tests as soon as we can. Of course, anyone in the Go community is welcome to issue a pull request that updated the version to 1.1.

Edit: Just saw this pull request come in, so expect some Go 1.1 love in the next round. https://github.com/TechEmpower/FrameworkBenchmarks/pull/64

comment 13y ago · link · parent

Thanks so much for the kind words. We're obviously having a great time working on this, and we too think there's a lot of value to this for the community at large.

28.

Web Framework Benchmarks Round 2(techempower.com ↗)

193 points · by pfalls · 13y ago · 232 comments

comment 13y ago · link · parent

We used Phusion Passenger, although we have plans to add additional servers (such as Unicorn). We tried to spend time with various server choices for all platforms, and for ruby, in our short test, Passenger won out against the others.

Our understanding is that when running Passenger, simply passing '-e production' to the command line is sufficient to run in production, but if that's incorrect, we'll gladly update the test.

comment 13y ago · link · parent

for Vert.x, we specified the number of verticals in App.groovy, rather than on the command line, which we think is a valid way to specify it.
12