Add Redis database number to settings#95
Conversation
e477129 to
8d35e73
Compare
|
This pull request has been automatically marked as stale because it has not had activity in the last 7 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions! |
|
@junr03 PTAL |
|
@anpryl what is the use case for this setting? |
|
@junr03 we have single redis instance for multiple applications. Each application uses own database by number. |
|
This pull request has been automatically marked as stale because it has not had activity in the last 7 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions! |
|
Thanks for the explanation @anpryl. Three high level comments:
|
|
This pull request has been automatically marked as stale because it has not had activity in the last 7 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions! |
|
Working on it |
I'm not sure that I understand you correctly. |
|
@junr03 I reworked Working on tests. |
c6b1ac5 to
882c356
Compare
|
@HenryYYang for a second pair of eyes. |
|
This pull request has been automatically marked as stale because it has not had activity in the last 7 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions! |
|
bump to remove stale tag |
|
I just realized that this is for ratelimit service which use a local copy of redis. I don't have a lot of context on this. That said, multiple database on a single redis is generally a bad thing with little benefit see this discussion. https://groups.google.com/forum/#!topic/redis-db/vS5wX8X4Cjg/discussion |
|
@HenryYYang database numbers is stable redis feature. I believe multiple teams already using it. Why not add support of stable feature? |
|
This pull request has been automatically marked as stale because it has not had activity in the last 7 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions! |
|
This pull request has been automatically closed because it has not had activity in the last 14 days. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions! |
@lyft/network-team add ability to pass Redis database number to ratelimit