Hacker News new | past | comments | ask | show | jobs | submit login

Raw WebSocket handling could be delegated to something like Pushpin [1] (disclaimer: author). This way, the backend doesn't have to maintain any long-lived connections of its own, but it retains a similar level of control over each connection that a full backend would have had.

As an experiment, we built a chat app like this (using Stamplay as the FaaS) and it actually worked.

[1] https://github.com/fanout/pushpin




Interesting. But I need my own server to run pushpin?


That or you can use Fanout Cloud which provides Pushpin-as-a-service.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: