aleph-im / aleph-vm

Aleph.im VM execution engine
MIT License
43 stars 18 forks source link

Support for incoming Websockets inside Aleph VMs #197

Open hoh opened 2 years ago

MHHukiewitz commented 1 year ago

Citing @hoh:

Websockets are stateful and proxying multiple websockets can prove tricky. I started investigating the use of a dynamically configured reverse-proxy (think Nginx/Traefik) to avoid implementing this ourself. The main tricky part is to monitor when a connection is closed in order to stop the on-demand VM after a timeout. If found some tools that may achieve this, but this needs more work.