[
https://issues.apache.org/jira/browse/RATIS-1376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17342986#comment-17342986
]
Tsz-wo Sze commented on RATIS-1376:
-----------------------------------
You are right -- We should set the sliding window at the servers to a small
size, i.e. set raft.client.data-stream.outstanding-requests.max (int,
default=100) to a small value, say 8.
> Improve the used memory
> -----------------------
>
> Key: RATIS-1376
> URL: https://issues.apache.org/jira/browse/RATIS-1376
> Project: Ratis
> Issue Type: Sub-task
> Reporter: runzhiwang
> Priority: Major
> Attachments: screenshot-1.png
>
>
> [~szetszwo] I find the main used memory caused by
> SlidingWindow#Client#requests, because when send DataStreamWindowRequest with
> data, SlidingWindow#Client#requests will hold DataStreamWindowRequest until
> receive reply. Because DataStreamWindowRequest has data, so the memory used a
> lot. Still do not know how to improve it. Not sure whether SlidingWindow is
> necessary.
> !screenshot-1.png!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)