Closed
Description
When client invoked mget function,and keys length is more than hundred or more,then the span data will be so big so that it will cost so much to transport the span data and to store span data.I think it will be a little help and cost so much. so i suppose there should be a limited length.
the same to the other functions releated many keys
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
malafeev commentedon Oct 30, 2018
@wuyupengwoaini how many keys you propose to limit?
wuyupengwoaini commentedon Oct 31, 2018
I think it's better to config and default max length is 100 .what about you? @malafeev
malafeev commentedon Nov 1, 2018
currently I'm stuck to find a way to configure max length.
I don't want to double number of constructors.
It looks like setter is the best choice, only desire to make parameter immutable stops me.
wuyupengwoaini commentedon Nov 2, 2018
I think builder design pattern is a good choice. Do you think so ?
#17 limit Redis keys length
#17 add javadoc and test
malafeev commentedon Nov 5, 2018
fixed