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

sb: compile-time option for routing table as a hash #217

Closed
skliper opened this issue Sep 30, 2019 · 2 comments
Closed

sb: compile-time option for routing table as a hash #217

skliper opened this issue Sep 30, 2019 · 2 comments
Labels

Comments

@skliper
Copy link
Contributor

skliper commented Sep 30, 2019

We've discussed how to handle a large number of subscriptions, one option would be to have the RoutingTbl be a hash instead.

This does have a performance impact on code that is heavily used, but in some environments memory is less of a concern so a large hash table could support a very large subscription base.

While I don't feel it would be wise to switch whole-hog, I propose that a compile-time option be available to configure the software bus to use a hash for the routing table, which gives users with larger subscription needs the option.

@skliper
Copy link
Contributor Author

skliper commented Sep 30, 2019

Imported from trac issue 186. Created by cdknight on 2017-03-21T15:16:08, last modified: 2019-03-01T15:27:58

@skliper skliper self-assigned this Sep 30, 2019
@skliper skliper removed their assignment Sep 30, 2019
@skliper
Copy link
Contributor Author

skliper commented Sep 30, 2020

OBE - routing table entries are no longer freed when there are no subscribers, and adding deconfliction information to the destination block would be a net higher cost in memory. Closing as invalid per the current design.

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

No branches or pull requests

1 participant