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

[URA] Websockets for quoting #55

Open
marktoda opened this issue Mar 16, 2023 · 2 comments
Open

[URA] Websockets for quoting #55

marktoda opened this issue Mar 16, 2023 · 2 comments
Assignees

Comments

@marktoda
Copy link
Collaborator

marktoda commented Mar 16, 2023

Rough Scope

Websocket APIs for the gouda and param service can be built with the existing server-less infrastructure and CDK constructs that we've been using for everything. API Gateway will manage a connection between our service and the client then lambda will be spun up dynamically to handle message passing between the two parties. We will need to build the following components to support Websockets:

  • DB to store connections between server and client (connectionId and some other connection info)
  • Lambda handler that starts a connection
  • Lambda handler that ends a connection
  • Modify webhook/ build new handler to parse all db events and send those msgs to the relevant clients
  • Map Websocket routes to existing handlers that handle new quotes, new orders, etc. The current handlers expect APIGatewayProxyEvent and the websocket requests will emit the same events so this should be relatively easy.

Scope: ~ 1 eng week of work x 2 services (gouda and param) = ~ 2 weeks total

Resources

@rileydcampbell rileydcampbell self-assigned this Mar 17, 2023
@rileydcampbell
Copy link
Contributor

Going to take a look at scoping this on Monday 👍

@willpote willpote changed the title Websockets for quoting [URA] Websockets for quoting Mar 20, 2023
@aMagicNeko
Copy link

Go ahead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants