Description
Key information
- RFC PR:
- Related issue(s), if known: n/a
- Area: Web Sockets
- Meet tenets: Yes
- Approved by: ''
- Reviewed by: ''
Summary
Customers would like to use AWS Lambda and Amazon API Gateway Web Sockets but find it hard to build a suitable solution to handle managing the connections. Powertools could provide a best practice approach to managing connection information similar to how the Idempotency module works.
Motivation
To provide a best practice solution to working with API Gateway Web Sockets with AWS Lambda
Proposal
This is the bulk of the RFC.
Explain the design in enough detail for somebody familiar with Powertools to understand it, and for somebody familiar with the implementation to implement it.
If this feature should be available in other runtimes (e.g. Java), how would this look like to ensure consistency?
User Experience
How would customers use it?
Any configuration or corner cases you'd expect?
Demonstration of before and after on how the experience will be better
Drawbacks
Why should we not do this?
Do we need additional dependencies? Impact performance/package size?
Rationale and alternatives
- What other designs have been considered? Why not them?
- What is the impact of not doing this?
Unresolved questions
Optional, stash area for topics that need further development e.g. TBD