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

Experiment stateless loadbalancing using DTLS connection ID #9

Open
sbernard31 opened this issue Jul 5, 2019 · 1 comment
Open

Comments

@sbernard31
Copy link
Contributor

The idea is to use DTLS connection ID to be able to load-balance traffic.

This idea is more detailed here.

@boaks
Copy link

boaks commented Oct 29, 2020

I currently update my experimental Californium build-in cid load-balancer support.

Future Improvements

One technique, to eliminate the 20% penalty of forwarding and backwarding the messages, is to not backward them, just send them direct to the load-balancer. Normal load-balancer will drop such messages, but if a load-balancer use that message to update the destination entry, that results in close to NO penalty. The benefit of that is, that the load-balancer doesn't need to know about the cid-details, just that backwards traffic is used to "reverse update the address".

Maybe as idea for next year:

Adapt the rule

  • if yes and packet comes from "not associated" real server, we drop the packet

to

  • if yes and packet comes from "not associated" real server, update the association and we modify source address (source NAT) replacing real server address by the virtual server ip address.

optionally.

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

2 participants