You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Ivan Andika (Jira)" <ji...@apache.org> on 2026/06/26 03:54:00 UTC

[jira] [Created] (HDDS-15684) Replace OM double buffer with triple buffer

Ivan Andika created HDDS-15684:
----------------------------------

             Summary: Replace OM double buffer with triple buffer
                 Key: HDDS-15684
                 URL: https://issues.apache.org/jira/browse/HDDS-15684
             Project: Apache Ozone
          Issue Type: Improvement
            Reporter: Ivan Andika
            Assignee: Ivan Andika


Came across [https://medium.com/@sgn00/triple-buffer-lock-free-concurrency-primitive-611848627a1e]

We can try to think whether we can use triple buffer to replace the current double buffer.

The current weakness of double buffer is that we cannot swap the buffers if there is either a read or write in progress (or there might be data corruption). 

The third buffer idea will add another buffer. This would decouple the read and writer. We can also implement the lockless implementation to improve the performance.

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org