Re:The Way Server-Side Analytics Should Be
by dickeytk on Tuesday January 22, 2013 @05:02PM
(#5099911)
Will the ruby version work when using unicorn?
[ Parent
| on HN ]
Re:The Way Server-Side Analytics Should Be
by calvinfo on Tuesday January 22, 2013 @05:21PM
(#5099996)
I haven't worked with unicorn specifically, but from my understanding - it should work fine given a reasonable number of child processes.
It's worth noting that when you initialize the client, the module spawns a new thread to consume messages from the queue. As long as each forked child process in unicorn initializes its own client, that process will be able to use its own in-memory queue. That means that they will all make their own web requests independently since there isn't any kind of syncing or shared state going on.