News for hackers. Stuff that matters.
Re:Ask HN: How Can I Make My Front End React to Database Cha... by bruchim on Thursday April 18, 2024 @04:03AM (#40074006)
Thanks! > It's fairly straightforward to write a websocket endpoint in whatever backend you have

It indeed solves half of the problem, but managing websockets for thousands of users is not that trivial IMO

Re:Ask HN: How Can I Make My Front End React to Database Cha... by fernandotakai on Friday April 19, 2024 @07:12AM (#40085354)
you should try phoenix channels https://hexdocs.pm/phoenix/channels.html

they scale really really easily for millions of users.