News for hackers. Stuff that matters.
Re:From a Ruby monolith to microservices in Go by nexneo on Wednesday March 04, 2015 @05:39AM (#9143544)
As fast as twilio can accept and process without throttling, beyond that its not much useful.

Unicorn forking benefit is overrated, we used it and we don't see much benefit for long running processes.

Sidekiq is good alternative but that means some rewrite(for our app anyway). Secondly Sidekiq looks mature today, I started working on some of these changes 2 years ago.

Re:From a Ruby monolith to microservices in Go by boundlessdreamz on Wednesday March 04, 2015 @07:13AM (#9143757)
Can you explain why using sidekiq involve a rewrite? AFAIK, using sidekiq you just have to make sure that your jobs are threadsafe not the whole app which is not very hard.

2 years ago, ruby was not COW friendly. So yeah, there was not much benefit to forking if you were using 1.9.3. Not sure how well does ruby 2.x fares in that respect

Re:From a Ruby monolith to microservices in Go by nexneo on Wednesday March 04, 2015 @08:47AM (#9144104)
You have to make all code threadsafe that execute from Job or you have to decouple Job code and App code.(which probably be required anyway because I'm not sure sidekiq supports old rubies)

So, in any case you have to rewrite as much as code that I rewrote in Go and decoupled from main App. (its not lot of code, I mentioned in talk)