Skip to content

Comment on Mashable crushed us - here's how we bounced back

Comments

Maybe write the many to many relations in a background job/queue, and push the result back to the user when they're synced. Granted, long polling will take a number of connections, but the socket server won't take down your front facing service.

Great to see that MongoDB turned out to be a quick solution, but it seems that the writes could have just been timed more effectively.

Thanks for the insight!

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.