Comments (3)
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.
@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.
I am studying this section, where can I find relevant examples?
from ocelot.
Related Issues (20)
- 'authorization' is missing in Access-Control-Allow-Headers only in a specific request HOT 4
- SignalR no connection in `ws` mode HOT 1
- Is ocelot support sharing routes and rate limit configuration between it's instances if we publish more than one ocelot instance ?
- Error Code: UnableToFindDownstreamRouteError (404) HOT 1
- After Upgrade to 23.3.3 from 23.2.2 cluster name is being used in place of service address HOT 9
- After Upgrade to 23.3.3 from 23.2.2 about every 20th - 30th request finished with status code 500 HOT 42
- Invalid pattern ** HOT 1
- Injection middleware not working HOT 2
- `Regex` exception when route template placeholder contains invalid character ')' HOT 10
- help me ocelot+consul has 404 HOT 3
- Concurrent requests with different services, using consul, returns the same service and then 404 HOT 19
- IIS Windows Auth Intermittent 401.1 HOT 10
- Ocelot - Azure AD (Entra ID) Authentication Example
- Update from 18.0.0 to 23.0.0 broke upstream URLs with 503 HOT 4
- Incorrect Routing when a configuration exists with query param wildcard HOT 4
- 23.3.0 broken HOT 2
- Catch All functionality priority routing partially broken HOT 8
- who has encountered this problem,The remote certificate is invalid because of errors in the certificate chain: PartialChain
- TODO and other follow-up tasks HOT 1
- Using Signalr, web request 404 HOT 5
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 ocelot.