Better HN
topnewbestaskshowjobs
Log inSign up

slivuz

144 karma · joined Oct 2, 2012 (14y ago) · 11 submissions

Ruby Programmer
Submissions

1.

Enginery - Fine-Tuned App Builder for Espresso Framework(github.com ↗)

1 points · by slivuz · 13y ago · discuss

comment 13y ago · link · parent

you right, sorry for pointless blaming, my bad, had to check it first. updating orignal post

comment 13y ago · link · parent

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...

comment 13y ago · link · parent

it will segfault. that's why EventMachine using epoll on linuxes and kqueue on bsd

comment 13y ago · link · parent

it is Gnome's System Monitor

comment 13y ago · link · parent

a micro instance costs 2 cents per hour, so $1 per hour for 50 instances.

comment 13y ago · link · parent

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...

comment 13y ago · link · parent

start with Ruby as backend for online games...

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

consider Ruby for streaming podcasts...

etc. etc.

comment 13y ago · link · parent

sure, i tried, but connections comes slow... i wanted they to come like a tornado.

10.

Ruby - Handling 1 Million Concurrent Connections(github.com ↗)

133 points · by slivuz · 13y ago · 58 comments

11.

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

2 points · by slivuz · 14y ago · discuss