Why we moved from NodeJS to Ruby on Rails
blog.targeterapp.com
Why we moved from NodeJS to Ruby on Rails
1–10 of 166 posts
Re: Why we moved from NodeJS to Ruby on Rails
#2Re: Why we moved from NodeJS to Ruby on Rails
#3I think you accidentally word.
Re: Why we moved from NodeJS to Ruby on Rails
#4I wonder what testing functionality, specifically, they see missing in the Node ecosystem...
Re: Why we moved from NodeJS to Ruby on Rails
#5I wonder what testing functionality, specifically, they see missing in the Node ecosystem...
1. register some timers and create some sockets
2. send some stuff over the sockets
3. wait until the socket handlers received some data which cause the handlers to unregister the sockets and timers
4. at this point, the main event loop has ended. go to next test and setup a new event loop
How do you do (3) and (4) in Node? I have no idea, and I couldn't find any clear answers on the Internet. I ended up writing my tests in RSpec which launch Node processes, and I just check whether the stuff printed to stdout matches what I expect. RSpec also happens to have a much much nicer syntax than any Javascript testing framework I've encountered.Re: Why we moved from NodeJS to Ruby on Rails
#6>I am huge fan of NodeJs and I believe it’s a very technology and we will see it getting I think you accidentally word.
Re: Why we moved from NodeJS to Ruby on Rails
#7Re: Why we moved from NodeJS to Ruby on Rails
#8I wonder what testing functionality, specifically, they see missing in the Node ecosystem...
I'm writing a server in Node and to date I'm still trying to figure out how to control the main loop from Node. I want to write tests like this: 1. register some timers and create some sockets 2. send some stuff over the sockets 3. wait until the socket handlers received some data which cause the handlers to unregister the sockets and timers 4. at this point, the main event loop has ended. go to next test and setup a…
https://github.com/bergie/noflo/blob/master/test/MQ_SendMess...
More BDD-ish version of something similar:
https://github.com/nemein/kckupmq/blob/master/test/001_kckup...
Re: Why we moved from NodeJS to Ruby on Rails
#9Re: Why we moved from NodeJS to Ruby on Rails
#10I know Twitter kind of had to move away from Rails due to scalability issues.
GameBattles.com also had to back away from Rails after their uptime dropped to 80%.
I am not trying to tarnish Rails, I am just curious to learn about some success stories involving Rails at very large scale.