openresty / openresty/lua-resty-redis
[Question] behavior of get_reused_items function
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 2k
- Forks
- 447
- Avg merge
- 2h 24m
- Merged PRs (30d)
- 3
Description
does get_reused_items() returns the pool size? or its just returns random number if the connection isn't from connection pool? i want to monitor my connection pool size because i have sudden spikes in my connection to redis (goes to 120K connections on a single redis instance)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the get_reused_items() implementation and reading the surrounding connection-pooling behavior in this Lua Redis client. Determine what the function returns when connections are reused or created outside the pool, then document the behavior and whether it can be used to monitor pool size.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua, redis
- Domain
- backend, database
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100