LazyMemorySegmentPool use BlockingQueue instead of using list with lock #90
Closed
swuferhong
started this conversation in
General
Replies: 2 comments 2 replies
-
|
I would like to do it.pls assign to me |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
convert to issue #136 |
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.
-
Currently, in
LazyMemorySegmentPool, we use a List with a lock to manage cachePages. This approach requires the use of locks and manual writing await logic, which is not as efficient as using aBlockingQueue. Moreover, replacing it with aBlockingQueuewould not introduce any potential correctness issues.Beta Was this translation helpful? Give feedback.
All reactions