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

refactor(portal): Return single relay with multiple addresses #3805

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

AndrewDryga
Copy link
Collaborator

No description provided.

Copy link

vercel bot commented Feb 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
firezone ⬜️ Ignored (Inspect) Visit Preview Apr 24, 2024 6:53pm

[
%{
type: :stun,
addr: "#{format_address(address)}:#{relay.port}"
ipv4_addr: if(relay.ipv4, do: "#{format_address(relay.ipv4)}:#{relay.port}"),
ipv6_addr: if(relay.ipv6, do: "#{format_address(relay.ipv6)}:#{relay.port}")
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the change that you will see: ipv4_addr and ipv6_addr for each relay, either of those can be null.

Copy link

github-actions bot commented Feb 28, 2024

Terraform Cloud Plan Output

Plan: 15 to add, 14 to change, 15 to destroy.

Terraform Cloud Plan

@thomaseizinger
Copy link
Member

Thanks! I'd hold off on changing this for now until we revisit, how want to do fallback, redundancy etc.

@jamilbk jamilbk changed the title Return single relay with multiple addresses refactor(portal): Return single relay with multiple addresses Mar 6, 2024
@github-actions github-actions bot added the kind/refactor Code refactoring label Apr 24, 2024
Copy link

Performance Test Results

TCP

Test Name Received/s Sent/s Retransmits
direct-tcp-client2server 239.0 MiB (+0%) 240.4 MiB (-0%) 207 (-37%)
direct-tcp-server2client 237.7 MiB (-0%) 239.3 MiB (-0%) 284 (-4%)
relayed-tcp-client2server 221.1 MiB (-2%) 222.1 MiB (-2%) 286 (-2%)
relayed-tcp-server2client 237.1 MiB (+1%) 237.7 MiB (+0%) 505 (+46%)

UDP

Test Name Total/s Jitter Lost
direct-udp-client2server 50.0 MiB (-0%) 0.27ms (+240%) 0.00% (NaN%)
direct-udp-server2client 50.0 MiB (-0%) 0.01ms (+30%) 0.00% (NaN%)
relayed-udp-client2server 50.0 MiB (-0%) 0.10ms (+127%) 0.00% (NaN%)
relayed-udp-server2client 50.0 MiB (+0%) 0.01ms (-3%) 0.00% (NaN%)

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

Successfully merging this pull request may close these issues.

None yet

2 participants