Q: how do replicas work in tye
See original GitHub issueReplicas mean there are multiple instances of an application running. In Kubernetes, a ‘Service’ is what is used by an application which will then resolve to one of the instances.
When developing with tye
, what will cause the difference instances to be used?
Does the GetServiceUri
method always resolve to the same instance?
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
ReplicaSet
A ReplicaSet is defined with fields, including a selector that specifies how to identify Pods it can acquire, a number of replicas indicating...
Read more >What is Database Replication and How Does it Work?
Asynchronous replication is when the data is sent to the model server -- the server that the replicas take data from -- from...
Read more >What Is a Kubernetes Replica?
Kubernetes replicas are clones that facilitate self-healing for pods. As with most processes and services, pods are liable to failure, errors, evictions, and ......
Read more >amazon web services - How do s3 replicas work?
To answer your first question, replication occurs automatically for all s3 objects in a given region and provides 11 9s durability unless ...
Read more >Replica - Wikipedia
Replicas work well in museum settings because they have the ability to look so real and accurate that people can feel the authentic...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
On your localhost, replicas simply creates multiple “instances” of the program. For ex, if you specify “Replicas:2”, you can see 2 instances of the program in task manager on 2 different ports. you need to use an “Ingress” with route filters to load balance when resolving the URL to service replicas with more than 1 instance via “tye” service discovery. https://github.com/dotnet/tye/blob/master/docs/recipes/ingress.md
@davidfowl what process does the tcp proxying? Is there one such process per service (that has multiple replicas)? Where does this live in the source code?