Skip to content

Investigate using Lua scripts in Redis session repositories #1179

Open
@vpavic

Description

@vpavic

The Redis session repository implementations are currently not executing data store operations atomically, which can be challenging to deal with in highly concurrent environments where race conditions are common. It also requires multiple roundtrips to Redis server in order to complete what is a logical session repository operation.

We could look into modeling our operations as Lua scripts, similarly like for instance Spring Integration's RedisLockRegistry does. See also reference on Redis EVAL command.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions