Comments (8)
Hey @luisdavim,
Thank you for reporting this. It would be good having a default implementation based on DNS. Olric already depends on (indirectly) github.com/miekg/dns
. I think this task can be a good first issue. Please feel free to provide a design document and create a PR for this feature.
from olric.
Is this still relevant?
I am looking for my first issue and this seems easy enough.
from olric.
Yes, I think this is still relevant.
from olric.
Is this still relevant?
I am looking for my first issue and this seems easy enough.
Hello,
Yes, it's still relevant but we should start working on an RFC before implementing the feature.
from olric.
Ok. I am sorry but I am not sure what you mean by an RFC.
If I understood this issue correctly, what you want is something similar to how nginx dns service discovery works.
My initial idea is to implement the ServiceDiscovery
interface and simply create a default plugin for service discovery.
However I am quite green and would appreciate some guidance.
from olric.
Plugins for service discovery already exist. The point of this issue is to have a native, default service discovery mechanism.
See also:
- https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
- https://www.haproxy.com/blog/dns-service-discovery-haproxy
from olric.
Plugins for service discovery already exist. The point of this issue is to have a native, default service discovery mechanism.
If I understand it correctly, plugins for service discovery are written in Go, and they implement an interface from here. That package is the common dependency between orlic and service discovery plugin (orlic consumes the interface, the plugin implements it).
All I would need to do is provide a default implementation that is used instead where appropriate. Am I on the right track here?
from olric.
The idea is that we would have a default service discovery mechanism based on DNS, without having to use plugins.
An RFC (request for comments) is a document where you would explain the proposed implementation so it cabeceiras reviewed and agreed upon before starting the actual implementation.
from olric.
Related Issues (20)
- more flexible encoder to support proto / json payloads HOT 3
- pipelining 100x slower on cache misses HOT 10
- panic: semaphore: released more than held HOT 1
- pipeline concurrency hardcoded to 1
- reduce pipeline.Discard allocations HOT 1
- Possible pipeline.Discard bug HOT 1
- pipeline panic HOT 4
- Unbounded memory growth / leak in pipelines HOT 4
- panic: runtime error: integer divide by zero in setLRUEvictionStats HOT 1
- panic on args HOT 1
- Panic on start when BindAddr cannot be resolved
- Data race when getting stats in embedded mode
- remove dtopic listener didn't work well in cluster mode
- Fast restart will cause data lost HOT 1
- Flaky integration test
- Using olric from PHP programs HOT 3
- storage overhead per object HOT 3
- Allow developer to pass his/her logging framework of choice HOT 9
- Use of DM Lock with Embedded Member HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from olric.