Skip to content

Degrades the performance to get the values of all the keys using key() function #666

@coolkingh

Description

@coolkingh

Using keys() function we can get all the keys and then to fetch the value of all the keys we have to call get() function in a loop and it will lead to read locks which degrades the performance in case there is huge number of keys.

Use case : Multiple users are connected to the persistent connection ( proxying to RDP ) and we want to update the activity of the user in the shared dict and periodic daemon will fetch the activity from the shared dict and update that details in the database.

If we could have got the value along with key then it would be great.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions