Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I rolled a microservice in node to handle websockets from our Django app. I can push a notification into an event queue, make an HTTP call to send a notification, and even use postgres notify/listen.

FWIW I'd have just used Pusher.io and triggered via django signals but I didn't want clients to be able to query the list of channels, or have to think about costs.

This was more of a Friday hack for fun rather than a core product requirement for profit. But I feel like using a separately deployed and scaled service, agnostic of business logic, was the right move.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: