[
https://issues.apache.org/jira/browse/WAVE-287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yuri Zelikov resolved WAVE-287.
-------------------------------
Resolution: Fixed
At the end I think it isn't necessary to make such big changes. I submitted a
patch (in collaboration with soren.lassen@gmail) that evicts committed deltas
from memory and improves persistence mechanism. That should suffice for now.
> Reduce WIAB memory footprint
> ----------------------------
>
> Key: WAVE-287
> URL: https://issues.apache.org/jira/browse/WAVE-287
> Project: Wave
> Issue Type: Improvement
> Components: Server
> Reporter: Yuri Zelikov
> Assignee: Yuri Zelikov
> Labels: WavesStore
>
> The excessive footprint can be avoided if the wave server evicts the oldest
> deltas from memory, that is, it only keeps the most recent deltas in memory
> and loads older deltas from disk only upon request. Since we don't want to
> perform any disk operations synchronously under the wavelet lock in the wave
> store, we need to make all the methods that access delta history
> asynchronous. Specifically, the following methods need to be made
> asynchronous:
> box.server.waveserver.WaveletContainer#requestHistory()
> box.server.waveserver.WaveletContainer#requestTransformedHistory()
> box.server.waveserver.WaveletProvider#getHistory()
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira