Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate http4s WebSocket app with AWS Lambda API Gateway #497

Open
armanbilge opened this issue Jul 9, 2024 · 0 comments
Open

Integrate http4s WebSocket app with AWS Lambda API Gateway #497

armanbilge opened this issue Jul 9, 2024 · 0 comments
Labels
enhancement New feature or request lambda question Further information is requested

Comments

@armanbilge
Copy link
Member

Similarly to our existing http4s integration which allows to deploy an HttpApp as handler of AWS Lambda API Gateway events, it would be useful to have an integration for deploying a WebSocket app. Integrating with http4s would make it seamless to move applications between serverless and server deployments.

However, one important question is how the lifecycle is managed i.e. does the same Lambda instance handle the entirety of a WebSocket connection? If so, then we can be stateful across events and implement the handler with Stream/Pipe. Otherwise, I'm not entirely certain what the API should look like.

@armanbilge armanbilge added enhancement New feature or request question Further information is requested lambda labels Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request lambda question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant