AntiTopQuark commented on PR #2513:
URL: https://github.com/apache/kvrocks/pull/2513#issuecomment-2336652664

   > I believe implementing an elegant solution to track and restrict client 
connection memory usage is challenging and could reduce code maintainability.
   > 
   > Instead, I suggest exploring alternative approaches, like limiting the 
number of clients.
   
   
   
   > I believe implementing an elegant solution to track and restrict client 
connection memory usage is challenging and could reduce code maintainability.
   > 
   > Instead, I suggest exploring alternative approaches, like limiting the 
number of clients.
   
   When I looked at Redis previously, it uses the maxclients configuration 
option to limit the number of clients, and maxmemory-clients to limit the total 
memory used by connections. If you only want to limit the output buffer, you 
can use client-output-buffer-limit to restrict the usage per connection.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to