top | item 4318666

(no title)

le_isms | 13 years ago

This is a great idea! Do you mind letting us know what your setup's like?

discuss

order

wulczer|13 years ago

We just issue Celery jobs to track events in Mixpanel, so if their API is failing, the jobs fail and get retried later on.

If we get too many messages accumulated in the queue where these jobs go, we just purge it (better lose that data than let RabbitMQ die because of memory exhaustion). Although there have to be a whole damn lot of events there for us to actually notice

le_isms|13 years ago

Really neat! I might be a newbie to this, but how do you get those client-side javascript function calls over to the serverside? I am assuming the client's browser is running the Mixpanel Javascript and that your events are serverside.

jhuckestein|13 years ago

I mentioned it in an answer to a different post in this thread. The short answer is I use Redis via Resque.