mbbx6spp / bash-http-server

For the lolz
BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

Concerns about scalability #2

Open jlouis opened 9 years ago

jlouis commented 9 years ago

Hi Susan,

Is this bash-http-server proper webscale? Will it handle tens of thousands of connections, non-blocking in the style of Node.js. And what framework do you propose I'm going to use? Furthermore, what does your stack look like? Are you proper MongoDB webscale here, or did you pick something slow like Postgres?

polynomial commented 9 years ago

I agree with @jlouis. But I also want to know, when I deploy this I will no longer be able to ride my fixie because my service is down due to me only deploying it on one node?

cransom commented 9 years ago

I found that this did not scale well. But, after porting it to dash (to be closer to the metal and minimize memory requirements), it only crashes a few times a day and is much improved.

vjanelle commented 9 years ago

According to #1, this is "not webscale".

PeterFCaswell commented 9 years ago

I find that when I hide it behind an Apple service, it can handle as many requests as I throw at it.

trane commented 9 years ago

Actually, I've done some real-world benchmarking with apache bench and can say definitively that this is webscale. It only took 10ms per request and handled up to 4 concurrent requests per second without crashing. My jruby app doesn't even start up that fast! And that's on the new jruby 9000!!!!1

So, haters 'gonna h8.

P.S. Can we ship this in a self executing .tar file?

mbbx6spp commented 9 years ago

Where are the like/love buttons? <3

jlouis commented 9 years ago

Hello.

Is there any update on this issue?