I'm not grasping the concept; Do I use this in production to manage concurrency, or do I use this in 'testing' to fine tune my system?
Concurrency Limits by Netflix
11–20 of 30 posts
Re: Concurrency Limits by Netflix
#12Re: Concurrency Limits by Netflix
#13Is this better ?
Re: Concurrency Limits by Netflix
#14This adds flexibility to allow for use of multiple algorithms in different load balancing regions (mobile as a lossy fabric is better to stay with conventional, desktop and server clients can use a some smarter throughput maximizing algo, and in countries with high percentages of connections being laggy DSLs, you can use something else )
Re: Concurrency Limits by Netflix
#15I would have thought reactive streams or back pressure would be the usual way to deal with this issue. Is this better ?
Re: Concurrency Limits by Netflix
#16I would have thought reactive streams or back pressure would be the usual way to deal with this issue. Is this better ?
Netflix's circuit breaking OSS project, Hystrix, is commonly seen alongside Ratpack/rxjava where both reactive streams and back pressure are in play. I don't think you're wrong, but Netflix and others using their solutions like Hystrix and Hollow, are outside of what I'd consider "usual" problems and solutions.
Re: Concurrency Limits by Netflix
#17Re: Concurrency Limits by Netflix
#18Re: Concurrency Limits by Netflix
#19Can anyone explain how they decide which requests to reject? The blog post just mentions that excess RPS gets rejected, but couldn't rejecting arbitrary requests cause other problems?
From https://medium.com/@NetflixTechBlog/performance-under-load-3...
> The discovered limit and number of concurrent requests can therefore vary from server to server, especially in a multi-tenant cloud environment. This can result in shedding by one server when there was enough capacity elsewhere. With that said, using client side load balancing a single client retry is nearly 100% successful at reaching an instance with available capacity. Better yet, there’s no longer a concern about retries causing DDOS and retry storms as services are able to shed traffic quickly in sub millisecond time with minimum impact to performance.
Edit: In terms of how they decide what to reject, from reading the blog post, there is a queue and there is a limit to how big the queue can be. Requests that come in while the queue is "full" get rejected immediately. They don't wait in the queue and timeout.
Re: Concurrency Limits by Netflix
#20Can anyone explain how they decide which requests to reject? The blog post just mentions that excess RPS gets rejected, but couldn't rejecting arbitrary requests cause other problems?