3 karma · joined Oct 11, 2016 (10y ago) · 11 submissions
1.
Show HN: Traycer – AI-Powered Code Analysis in Real Time for VSCode(marketplace.visualstudio.com ↗)
10 points · by tanveergill · 2y ago · discuss
comment 2y ago · link · parent
I think it is beneficial to re-think how we tune queues. Instead of setting a queue size, we should be tuning the max permissible latency in the queue which is what a request timeout actually is. That way, you stay within the acceptable response time SLA while keeping only the serve-able requests in the queue.
Aperture, an open-source load management platform took this approach. Each request specifies a timeout for which it is willing to stay in the queue. And weighted fair queuing scheduler then allocates the capacity (a request quota or max number of in-flight requests) based on the priority and tokens (request heaviness) of each request.
Read more about the WFQ scheduler in Aperture: https://docs.fluxninja.com/concepts/scheduler
Link to Aperture's GitHub: https://github.com/fluxninja/aperture
Would love to hear your thoughts on our approach!
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
Would love to hear your thoughts about this project: https://github.com/fluxninja/aperture
comment 2y ago · link · parent
The demand and capacity is determined based on a request rate quota or the maximum number of in-flight requests.
Would love the community here to check us out on GitHub and provide feedback: https://github.com/fluxninja/aperture
7.
Monitoring Microservices in Kubernetes(blog.netsil.com ↗)
3 points · by tanveergill · 9y ago · discuss