nitrictech / nitric

Nitric is a multi-language framework for cloud applications with infrastructure from code.
https://nitric.io
Apache License 2.0
1.16k stars 50 forks source link

Google Cloud: Websockets #677

Open jyecusch opened 2 months ago

jyecusch commented 2 months ago

Enhance the core Nitric Google Cloud Providers (Pulumi & Terraform) to add Websockets support.

tjholm commented 2 months ago

Looking at a Cloud Run implementation, the scalability would be very limited and very expensive to run. (at most 80 concurrent connections per cloud run instance

A better option might be running a container on GCE with something like: https://github.com/fastly/pushpin

And connecting that server to websocket servers based on their socket name as a "channel" name.