Egmont
04/09/2025, 5:37 AMList , is there are any sort of indexing for identifying the output (e.g. which element in the list should go to which request as response). Or is it relies on the order of the list? Thank you!Jian Shen Yap
04/09/2025, 10:28 AMEgmont
04/09/2025, 11:45 AMWhen using a synchronous endpoint in one Service to call a batchable endpoint in another Service, it sends only one request at a time and waits for a response before sending the next. This is due to the default concurrency of 1 for synchronous endpoints. To enable concurrent requests and allow batching, set the threads=N parameter in the @bentoml.service decorator.
I'm wondering if the threads=N has any relationship with number_of_workers ? What would be a good value for N?Jian Shen Yap
04/10/2025, 12:31 PM