News for hackers. Stuff that matters.

slivuz

Re:Ruby - Handling 1 Million Concurrent Connections on Thursday February 21, 2013 @03:34PM (#5260176)
you right, sorry for pointless blaming, my bad, had to check it first. updating orignal post
Re:Ruby - Handling 1 Million Concurrent Connections on Wednesday February 20, 2013 @02:47PM (#5252807)
mm, strange math.

179 means that while app holding and communicating to 1 million persistent connections it is still able to process 100+ standard requests per second. pretty enough to accept new clients to your online game, audio/video chat, podcast etc.

this graph shows how many requests per second app may process depending on amount of established persistent connections:

https://raw.github.com/slivu/1mc2/master/results/requests-pe...

Re:Ruby - Handling 1 Million Concurrent Connections on Wednesday February 20, 2013 @09:14AM (#5250484)
it will segfault. that's why EventMachine using epoll on linuxes and kqueue on bsd
Re:Ruby - Handling 1 Million Concurrent Connections on Wednesday February 20, 2013 @07:51AM (#5250123)
it is Gnome's System Monitor
Re:Ruby - Handling 1 Million Concurrent Connections on Wednesday February 20, 2013 @06:00AM (#5249803)
a micro instance costs 2 cents per hour, so $1 per hour for 50 instances.
Re:Ruby - Handling 1 Million Concurrent Connections on Wednesday February 20, 2013 @05:57AM (#5249798)
starting with 1.9.3 they are also available on MRI, though not sure about 2.0.0 as there GC are highly refactored/optimized.

> Starting with Ruby 1.9.3, the GC in mainstream ruby can also be tuned

http://www.web-l.nl/posts/15-tuning-ruby-s-garbage-collector...

Re:Ruby - Handling 1 Million Concurrent Connections on Wednesday February 20, 2013 @04:26AM (#5249600)
start with Ruby as backend for online games...

continue with Ruby as backend for audio/video chats...

consider Ruby for streaming podcasts...

etc. etc.

Re:Ruby - Handling 1 Million Concurrent Connections on Wednesday February 20, 2013 @04:08AM (#5249568)
sure, i tried, but connections comes slow... i wanted they to come like a tornado.

Real Time CI. Test/Build your Ruby/Python/Node.js code directly, without queues

Disclaimer: I'm the author of presented service, so if you consider this is a banal ad(which imo is not), please simply ignore it. Thank you.===Presenting Beta version of CIBox.org, a free service featuring Live Code Sharing and Real Time CI.Paste services doing a good job on sharing code snippets. The downside is that you have to execute the code in the mind or copy/paste it.That's...

( Read More... | no comments | 2 points | on HN )