[YANGTOOLS-312] Make InMemoryDataTree (mostly) lockfree Created: 15/Sep/14  Updated: 10/Apr/22  Resolved: 16/Oct/14

Status: Resolved
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All



 Description   

The read path of in-memory data tree can be made completely lock-free if we can properly encapsulate the internal state.

This will not only allow us to eliminate a lock in the read path, but also allows us to downgrade the read/write lock to an ordinary monitor, making the write path faster, too.



 Comments   
Comment by Robert Varga [ 16/Sep/14 ]

https://git.opendaylight.org/gerrit/11226
https://git.opendaylight.org/gerrit/11239
https://git.opendaylight.org/gerrit/11240

Generated at Wed Feb 07 20:52:51 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.