Code Monkey home page Code Monkey logo

Comments (3)

geffzhang avatar geffzhang commented on August 25, 2024

Online updates to ReRoute, needs to have a unique identity that exists in the code ReRouteKey identifies the ReRoute is now used for load balancing, it is a calculated value, I think there should be certain identification value, similar to a database table's primary key, so that we can store ReRoute in database or Consul, it will be great storage across servers and updates In this case the local profile can be a backup of the currently running.

from ocelot.

TomPallister avatar TomPallister commented on August 25, 2024

@geffzhang first iteration I do not want to use any dependencies such as consul or database. I try to take a lean approach to software development and use dependencies only when I have to.

UpstreamPathTemplate and UpstreamHttpMethod must be unique in Ocelot so we do not need a specific key such as GUID.

My plan is to expose API that lets you post entire configuration and reload it. I know that this is a hack but I want to make sure authentication is in place before we start looking at better ways to do this. When I have something basic working I will make it better.

Then I will make cluster of Ocelots that keep configuration up to date across cluster.

Finally I will make Ocelot into service discovery so services can register with Ocelot.

All of these features will be behind interface so a user can swap them out and use a database/consul etc if they want to.

from ocelot.

wlclass avatar wlclass commented on August 25, 2024

I am studying this section, where can I find relevant examples?

from ocelot.

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.