Giter VIP home page Giter VIP logo

Comments (8)

buraksezer avatar buraksezer commented on May 25, 2024 3

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.

kozlowsqi avatar kozlowsqi commented on May 25, 2024 1

Is this still relevant?

I am looking for my first issue and this seems easy enough.

from olric.

luisdavim avatar luisdavim commented on May 25, 2024

Yes, I think this is still relevant.

from olric.

buraksezer avatar buraksezer commented on May 25, 2024

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.

kozlowsqi avatar kozlowsqi commented on May 25, 2024

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.

luisdavim avatar luisdavim commented on May 25, 2024

Plugins for service discovery already exist. The point of this issue is to have a native, default service discovery mechanism.

See also:

from olric.

kozlowsqi avatar kozlowsqi commented on May 25, 2024

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.

luisdavim avatar luisdavim commented on May 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.