crossbario / crossbario/autobahn-python
Router discovery over DNS-SD
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.5k
- Forks
- 768
- PR merge metrics
- No merged PRs in 30d
Description
With classic RPC, the caller needs to know how to address each and every callee it wants to call. With WAMP routed RPC, the client (acting as a caller) only needs to know how to address it's upstream router. You are right, it still needs this bit of info. Today, the recommended way would be using a command line argument providing the hostname or URL of the router to connect to. Or hardcoding would work of course also. I agree that it would be nice to be able to use something like Zeroconf (http://en.wikipedia.org/wiki/Zero-configuration_networking) instead. However, this is not related to WAMP as a protocol, but the WAMP client library implementation that needs to provide that feature. Establishing a WAMP transport (which includes finding the necessary info bits) is outside the WAMP protocol itself.
http://en.wikipedia.org/wiki/Zero-configuration_networking#DNS-based_service_discovery
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the Python client library's WAMP transport setup and how the router hostname or URL is currently supplied. The issue proposes Zeroconf/DNS-based service discovery, but names no files or tests. Done would mean a client can discover the router through DNS-SD instead of requiring a command-line argument or hardcoded address.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100