Usage for shared objects #19
Replies: 1 comment
-
|
Ok understand. Closing. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi. I want to understand how to use pyReaderWriterLock for a simple shared objects use-case:
A high concurrency service with the number of reads >> writes. The shared objects are a database and dictionary, which are read or written at the same time to preserve consistency. The shared objects cannot be read while a write (of the shared objects) is in progress.
How would pyReaderWriterLock be used in this case? Thanks
Beta Was this translation helpful? Give feedback.
All reactions