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

Reworking Load balancer function #2

Open
NavinShrinivas opened this issue Oct 18, 2022 · 6 comments
Open

Reworking Load balancer function #2

NavinShrinivas opened this issue Oct 18, 2022 · 6 comments

Comments

@NavinShrinivas
Copy link
Owner

NavinShrinivas commented Oct 18, 2022

Preface

As of now, the loadbalancer function (present in Modules/handle_packets.go) uses a mod function to handle distribution of load amongst threads. It would be preferable to have some better load balancing algorithm.

Possible solutions

I was thinking some IP based hashing algorithm will be good, but feel free to ideate through comments!

Previous knowledge

I have tried implementing load detecting algorithm and this was not optimized, so make sure the algorithm you provide is fast.

Logs

There are no logs per se, but the screenshots in README.md show the current performance, something equally good or better in performance is preferable.

  • Open access time : None [You can work on this issue only if assigned]
  • Block time : 30 mins [make sure u give updates every 30 mins if u have been assigned this issue]
  • Bounty points : 65
@bunsamosa-bot
Copy link

bunsamosa-bot bot commented Oct 18, 2022

Thank you from Opening this issue! A Maintainer will review it soon!

@bunsamosa-bot
Copy link

bunsamosa-bot bot commented Oct 18, 2022

Thank you from Opening this issue! A Maintainer will review it soon!

4 similar comments
@bunsamosa-bot
Copy link

bunsamosa-bot bot commented Oct 18, 2022

Thank you from Opening this issue! A Maintainer will review it soon!

@bunsamosa-bot
Copy link

bunsamosa-bot bot commented Oct 18, 2022

Thank you from Opening this issue! A Maintainer will review it soon!

@bunsamosa-bot
Copy link

bunsamosa-bot bot commented Oct 18, 2022

Thank you from Opening this issue! A Maintainer will review it soon!

@bunsamosa-bot
Copy link

bunsamosa-bot bot commented Oct 18, 2022

Thank you from Opening this issue! A Maintainer will review it soon!

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

No branches or pull requests

2 participants