You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since Endpoint is already a concept in ASP.NET and right now Routes (from config) are being mapped to an Endpoint (ASP.NET) and Endpoints (from config) are referred to backend servers.
I suggest renaming Endpoint to Server or Resource and renaming Route to Endpoint.
Yeah, the terminology could be improved, many of these terms are used in too many different contexts.
That said, endpoints is already an overloaded term (used by kestrel, routing, and the proxy). At least routes are a unique term. I don't see renaming routes to endpoints as an improvement.
I would like to rename backend endpoints to something to limit the overloading. Servers is also an overloaded term, we already have a server in the app at the front end. Destination(s)? Backend(s) could also work if we found a better group name for what we currently call backends (e.g. a group of endpoints).
I think nginx and haproxy terminology should also be taken into account, given they are most used and popular proxies and many people have prior experience with these for many years. Envoy and Traffic just became popular into kubernetes ecosystem, so that t will make easier for people coming from outside k8s to grasp.
Regarding the name change from route to endpoint, I honestly prefer route, given endpoint can be confusing as inbound endpoint or outbound endpoint.
The server in NGINX can be misleading, given it is used to define any server, either upstream or downstream, like shownhere and here. Probably the right terminology should be upstream.server, like you did for ocelot.
http { // Same as Kestrel
upstream myproject { // same as backend
server 127.0.0.1:8000; // same as endpoint
server 127.0.0.1:8001;
}
server { // this concept does not exist here, I've suggested on #134
listen 80;
server_name www.domain.com;
location / { //same as route
proxy_pass http://myproject;
}
}
}
From the above data route seems like a solid choice.
For backend there does not seem to be consistent terms and the only alternative that seems more descriptive is cluster since it's explicitly a group of resources.
While server does seem to be common to describe backend resources, it's still overloaded and conflicts with the inbound server. server might still be better than endpoint here since endpoint also has internal conflicts with endpoint routing and Kestrel's inbound endpoints.
Have we considered BackendServer to replace what we currently call Endpoint? A bit more verbose, but also less ambiguous than either Server or Endpoint.
+1 for Route, Destination. But I greatly dislike Cluster due to conflicts with well established terminology for the compute abstraction: Service Fabric Clusters are a top level Azure resource. AKS defines itself in one sentence using the terms (...) Kubernetes cluster in Azure.
What's wrong with Backend? The terms Frontend and Backend are pretty self explanatory and common in proxies.
The preference for cluster over backend was about clarifying it represents a group of resources rather than an individual resource. None of the other terms from the other proxies communicate that. Other suggestions? Or is that not a distinction that needs to be made in the name?
I am changing my stance from greatly dislike to just dislike the name cluster. I still think it would create unnecessary confusion due other meanings of cluster, but I reckon the confusion would be trivial to address through docs, and hence not such a big deal.
Activity
Tratcher commentedon Apr 30, 2020
Yeah, the terminology could be improved, many of these terms are used in too many different contexts.
That said, endpoints is already an overloaded term (used by kestrel, routing, and the proxy). At least routes are a unique term. I don't see renaming routes to endpoints as an improvement.
I would like to rename backend endpoints to something to limit the overloading. Servers is also an overloaded term, we already have a server in the app at the front end.
Destination(s)?Backend(s)could also work if we found a better group name for what we currently call backends (e.g. a group of endpoints).davidni commentedon Apr 30, 2020
Comparing terminology with other proxies may help:
EndpointBackendRoutehostclusterrouteserverservicerouterserverbackenduse_backendwith predicate applied to alistenerupstream.serverupstreamserver,locationblocksReRoute.DownstreamHostAndPortsReRouteUpdated on 5/4: Added HAProxy, nginx.
guibirow commentedon May 2, 2020
I think nginx and haproxy terminology should also be taken into account, given they are most used and popular proxies and many people have prior experience with these for many years. Envoy and Traffic just became popular into kubernetes ecosystem, so that t will make easier for people coming from outside k8s to grasp.
Regarding the name change from route to endpoint, I honestly prefer route, given endpoint can be confusing as inbound endpoint or outbound endpoint.
davidni commentedon May 4, 2020
@guibirow added based on quick reading of docs (linked to in the table), please advise if anything seems inaccurate.
guibirow commentedon May 4, 2020
The server in NGINX can be misleading, given it is used to define any server, either upstream or downstream, like shownhere and here. Probably the right terminology should be
upstream.server, like you did for ocelot.guibirow commentedon May 4, 2020
NGINX terminology: https://www.nginx.com/resources/wiki/start/topics/examples/loadbalanceexample/
Tratcher commentedon May 4, 2020
From the above data
routeseems like a solid choice.For
backendthere does not seem to be consistent terms and the only alternative that seems more descriptive isclustersince it's explicitly a group of resources.While
serverdoes seem to be common to describe backend resources, it's still overloaded and conflicts with the inbound server.servermight still be better thanendpointhere sinceendpointalso has internal conflicts with endpoint routing and Kestrel's inbound endpoints.davidni commentedon May 4, 2020
Have we considered
BackendServerto replace what we currently callEndpoint? A bit more verbose, but also less ambiguous than eitherServerorEndpoint.Tratcher commentedon May 5, 2020
Team discussion proposals:
Route -> Route
Backend -> Cluster
Endpoint -> Destination
@davidni @Kahbazi how's that look?
davidni commentedon May 5, 2020
+1 for Route, Destination. But I greatly dislike Cluster due to conflicts with well established terminology for the compute abstraction:
Service Fabric Clustersare a top level Azure resource. AKS defines itself in one sentence using the terms(...) Kubernetes cluster in Azure.What's wrong with
Backend? The termsFrontendandBackendare pretty self explanatory and common in proxies.Tratcher commentedon May 5, 2020
The preference for cluster over backend was about clarifying it represents a group of resources rather than an individual resource. None of the other terms from the other proxies communicate that. Other suggestions? Or is that not a distinction that needs to be made in the name?
Tratcher commentedon May 7, 2020
I decided to write this out narratively to see if it made more sense.
You select a Route and follow it through a ________ to one of many Destinations.
analogrelay commentedon May 7, 2020
Rathole 😆
I still like Cluster 😄. But I'm mostly going on subjectivity there. Given the change to "Destinations", I can be quite happy with Backend.
Rename Endpoint to Destination #128
Rename Endpoint to Destination #128 (#150)
Tratcher commentedon May 11, 2020
Endpoint was renamed to Destination in #150. Now we just need to decide what to do about Backend.
With how much churn renaming Endpoints caused, and the lack of agreement around a good name for Backends, I'm inclined not to change it.
davidni commentedon May 11, 2020
I am changing my stance from
greatly disliketo justdislikethe namecluster. I still think it would create unnecessary confusion due other meanings ofcluster, but I reckon the confusion would be trivial to address through docs, and hence not such a big deal.[-]Rename Endpoint to Server or Resource[/-][+]Rename Endpoint, Backend[/+]