Lounès Lounis
08/13/2024, 2:34 PMChaoyu
08/13/2024, 7:32 PMthese freezes occasionally occur around the updates of the dynamic batching optimizer parametersHow did you observe that?
Chaoyu
08/13/2024, 7:32 PMChaoyu
08/13/2024, 7:33 PMLounès Lounis
08/20/2024, 1:34 PMimport bentoml
@bentoml.service(
traffic={"timeout": 10} # "concurrency": 1 gives similar results
)
class DummyAPI:
@bentoml.api
def dummy(self, text: str) -> str:
return text
Using artillery, i measure that this small example cannot handle more than 100 requests per second (the latency eventually increases) while a low rate of 20 requests per second works just fine. Do you have an idea of the maximum throughput that bentoml can handle ? Maybe i need extra arguments in order to increase it ?Chaoyu
08/20/2024, 2:43 PMFrost Ming
08/21/2024, 2:47 AMFrost Ming
08/21/2024, 2:48 AMChaoyu
08/21/2024, 5:07 AM