Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Broker Discovery #71

Closed
htdvisser opened this issue Mar 9, 2016 · 3 comments
Closed

Broker Discovery #71

htdvisser opened this issue Mar 9, 2016 · 3 comments
Assignees
Labels

Comments

@htdvisser
Copy link
Contributor

I'm opening this issue to start discussing the way a TTN router will discover TTN brokers.

Current situation

Upon reception of a packet, a router either

  • Broadcasts a packet to all known brokers
  • Forwards the packet to brokers that previously accepted the devAddr (routing tables)
    • If rejected, then broadcast.

This system obviously isn't very scalable, because:

  • Routing tables will grow and become useless
  • Broadcasting to a couple 100s brokers is just insane
  • There are security issues (many possibilities of DoS)

Long term

For a long-term solution, we're working with a group of experts that will help us define a perfect solution.

Short term

For the short term, we need something that is better than the current situation.

Initial option to start the discussion:

  • Registry Service: Brokers register address range (prefix) with a TTN registry service, so routers only have to broadcast to a smaller number of brokers.
@htdvisser htdvisser self-assigned this Mar 9, 2016
@htdvisser htdvisser added this to the Production Ready - Summer 2016 milestone Mar 9, 2016
@htdvisser htdvisser modified the milestones: Needed for Production, Component Responsibilities May 11, 2016
@htdvisser
Copy link
Contributor Author

Great discussion. We'll go with the Registry service! 🎉

@tftelkamp
Copy link

With a simple registry we'll get some experience for a long-term scalable solution, like how to deal with changing prefixes, etc.

@htdvisser htdvisser mentioned this issue Jul 7, 2016
20 tasks
@htdvisser
Copy link
Contributor Author

The central discovery service has been implemented in the refactor branch. See #199 for more info.

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

No branches or pull requests

2 participants