Shu, Xinxin
2015-03-19 07:48:56 UTC
Content preview: Hi list , Recently I read docs about lmdb , there are two
sentences 1) readers do not block writers 2) writers do not block readers
I can understand 'readers do not block writers' , but cannot understand the
second one , can someone help explain , how lmdb achieve 'writers do not
block readers', below is my understandings , please correct me if anything
wrong. if the access pattern is write - read, since lmdb only support two
version of data , when the write has been started but not committed , the
concurrent read may read stale data since write has not been committed. [...]
Content analysis details: (-6.9 points, 5.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
-5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high
trust
[192.55.52.93 listed in list.dnswl.org]
-0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay
domain
-0.0 SPF_PASS SPF: sender matches SPF record
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
Hi list ,
Recently I read docs about lmdb , there are two sentences
1) readers do not block writers
2) writers do not block readers
I can understand 'readers do not block writers' , but cannot understand the second one , can someone help explain , how lmdb achieve 'writers do not block readers', below is my understandings , please correct me if anything wrong.
if the access pattern is write - read, since lmdb only support two version of data , when the write has been started but not committed , the concurrent read may read stale data since write has not been committed.
Cheers,
xinxin
sentences 1) readers do not block writers 2) writers do not block readers
I can understand 'readers do not block writers' , but cannot understand the
second one , can someone help explain , how lmdb achieve 'writers do not
block readers', below is my understandings , please correct me if anything
wrong. if the access pattern is write - read, since lmdb only support two
version of data , when the write has been started but not committed , the
concurrent read may read stale data since write has not been committed. [...]
Content analysis details: (-6.9 points, 5.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
-5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high
trust
[192.55.52.93 listed in list.dnswl.org]
-0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay
domain
-0.0 SPF_PASS SPF: sender matches SPF record
-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%
[score: 0.0000]
Hi list ,
Recently I read docs about lmdb , there are two sentences
1) readers do not block writers
2) writers do not block readers
I can understand 'readers do not block writers' , but cannot understand the second one , can someone help explain , how lmdb achieve 'writers do not block readers', below is my understandings , please correct me if anything wrong.
if the access pattern is write - read, since lmdb only support two version of data , when the write has been started but not committed , the concurrent read may read stale data since write has not been committed.
Cheers,
xinxin