Может ли gRPC установить глобальный лимит памяти на стороне клиента для всех ответных сообщений? ⇐ JAVA
-
Anonymous
Может ли gRPC установить глобальный лимит памяти на стороне клиента для всех ответных сообщений?
My application is using gRPC in JAVA. The response message size is random. The message size has a range from 1B to 2MB. If I reduce the concurrent request count, the performance is not expected when all the responses are 1B. If I increase the concurrent request count, the memory may not enough when all responses are 2MB. So is there a global response memory limit, that I can increase request concurrence safely?
I can not find a config to limit the global memory usage
Источник: https://stackoverflow.com/questions/781 ... se-message
My application is using gRPC in JAVA. The response message size is random. The message size has a range from 1B to 2MB. If I reduce the concurrent request count, the performance is not expected when all the responses are 1B. If I increase the concurrent request count, the memory may not enough when all responses are 2MB. So is there a global response memory limit, that I can increase request concurrence safely?
I can not find a config to limit the global memory usage
Источник: https://stackoverflow.com/questions/781 ... se-message
Мобильная версия