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

agentv2: add heartbeats #54

Merged
merged 3 commits into from
Jun 1, 2024
Merged

agentv2: add heartbeats #54

merged 3 commits into from
Jun 1, 2024

Conversation

andydunstall
Copy link
Owner

See commit descriptions.

Adds a net.Conn using WebSockets as the underlying transport. This has a
small overhead due to WebSocket framing though it allows us to use a
HTTP server and load balancer rather than raw TCP.
Add a serverv2 WebSocket server that accepts connections from upstreams
at /piko/v1/upstream/ws.
Adds muxado heartbeats between the client and upstream server.
@andydunstall andydunstall merged commit 8ac99b1 into main Jun 1, 2024
3 checks passed
@andydunstall andydunstall deleted the agent-v2-heartbeats branch June 1, 2024 15:12
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

Successfully merging this pull request may close these issues.

1 participant