, concurrency. , . , , .
( node_root) node, {data, prev_key, next_key}. prev_key next_key , "node_foo", foo - UUID ( , - UUID). .
, O (1) , "" "node_foo" foo. , . node, .
Now keep in mind that modifying this list at the same time is as bad as modifying any general data structure at the same time. If you use something like BDB, you can use their (excellent) transaction support to avoid this. For something without transactions or concurrency control, you want to provide external blocking or serialize access to a single thread.
source
share