Our project is very happily and productively using the Amplify GraphQL API category. We're making good use of subscriptions - and even server-side filtered subscriptions.
We have a use-case for our application that requires we build out some primitive chat and notification features, in-app.
Using server-side filtered GraphQL subscriptions, we're running into scalability problems (exceeding max socket connection limits).
We're thinking of tackling this by adding a serverless API Gateway of type "WebSocket API" --> The AWS Console supports 4 types: HTTP API, WebSocket API, REST API, and REST API Private.
Is there a recommended solutions pattern for this?
Should I try to hack my way around the AWS CLI and its cloudformation output?
Is there a way to use amplify override api to achieve this?
Or should I go down the path of doing this using a Custom CDK resource?
For inspiration, we were looking at something like:
https://github.com/aws-samples/simple-websockets-chat-app
cc: @worldly furnace (in case you might already know 😎 )