Comments (9)
Is it about LB?
from ztunnel.
This involves looking at our concurrency model and configuration and also requires an evaluation method.
from ztunnel.
Tokio has some 'budget' concept but it is per-task. We would want some concept of task-groups.
But we also probably want higher level fairness like bytes/s
https://docs.rs/tokio/latest/src/tokio/runtime/coop.rs.html
from ztunnel.
The title is confused, does it mean that Tokio is unfair in some case or we need different priorities for different clients?
from ztunnel.
Tokio fairness is per task. ideally ours would be per-pod
from ztunnel.
Tokio fairness is per task. ideally ours would be per-pod
Sounds like the fairness wrt bandwidth for per-pod, which is better to be done by the OS facilities. I know tc
or some NICs can do this.
from ztunnel.
Yeah good point, I guess now that we have "in pod" mode, its much easier to do this at the CNI layer
from ztunnel.
There is still some fairness like number of connections open/establish (sending a few bytes of TLS handshake is way more expensive than a few bytes of data) that would be nice to have
from ztunnel.
Do you mean fairness in connection pool?
from ztunnel.
Related Issues (20)
- Provide a new label for metrics regarding destination type HOT 3
- Issue trying ambient mode on an ipv4-only k8s cluster HOT 13
- [release-1.22] h2: remove illegal double oneshot recv HOT 1
- [release-1.22] Properly handle named targetPort services
- dualstack: DNS always returns both IP families regardless of service configuration
- Support dual-stack localhost binding for DNS
- Emit end-of-process access logs
- Stress test on-demand DNS querying
- [release-1.22] Add option for disabling IPv6 HOT 1
- local_address and peer_address can panic
- Ztunnel does not scale up with number of worker threads in expected way HOT 13
- Implement DNS-over-TCP redirection HOT 1
- Do not error if the app sends a RST
- Implement improved draining HOT 14
- CVE-2023-4039 when will fix ? HOT 4
- Failure to do `apk update` when ambient captured from wolfi pods HOT 2
- Refactoring improvements now that we have a proxy-per-workload approach HOT 4
- Feature Request: Allow Customized XDS Address to be set HOT 7
- log output in json format HOT 1
- failed to connect to server "/var/run/ztunnel/ztunnel.sock" HOT 12
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 ztunnel.