-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implements Netty Thread-local object pool for Command #72
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay
From the post answers, looks like it degrades heavily when the number of distinct string increase, can u explain a bit why we should use string.intern()? All the parameter/argument strings are very likely to be distinct. |
Sure @axblueblader, like what you said, I'm considering to revert the commit, not to use |
d951e33
to
91f809d
Compare
Regarding the Object Pool, we will release the object right after done processing Command, for AOF mode, will release after the command is flushed to disk (batches) |
Command
now will be reused, fixes #69