<div dir="auto">Of course, that was a mathematical model - like the case with finite threads still requires an unbounded queue - from mathematical point of view . And no, you can't replace average with max.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 29 Jul 2022, 01:19 Pedro Lamarão, <<a href="mailto:pedro.lamarao@prodist.com.br">pedro.lamarao@prodist.com.br</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr">Em qui., 28 de jul. de 2022 às 20:24, Alex Otenko <<a href="mailto:oleksandr.otenko@gmail.com" target="_blank" rel="noreferrer">oleksandr.otenko@gmail.com</a>> escreveu:<br></div><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Or, putting it in yet another way, you need support not for the average number of requests in the system, but for the maximum number of requests in the system.<div dir="auto"><br></div></div></blockquote><div><br></div><div>No system is capable of supporting infinite requests.</div><div>If your maximum is known, just replace "average" with "maximum" and the math stays the same.</div><div>If your maximum is unknown, you add a load balancer capable of spinning instances up and down on demand, and the math stays the same.</div><div> </div></div>-- <br><div dir="ltr"><div dir="ltr"><div>Pedro Lamarão</div></div></div></div>
</blockquote></div>