Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load script prior to commands execution on Redis #52

Open
himadieievsv opened this issue Jan 12, 2024 · 0 comments
Open

Load script prior to commands execution on Redis #52

himadieievsv opened this issue Jan 12, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@himadieievsv
Copy link
Owner

Summary
Load LUA script prior to commands execution on Redis.
Initialization can be done when object created once per application.

Motivation
All Redis backends are sending LUA scripts as is. Those calls ending up with slitty bigger size.
Reduce that redundancy with using script hash to call it.

Caveats

  • Tracking what Redis instances already has scripts might be challenging if cluster topology changes or individual instance get restarted/replaced.
@himadieievsv himadieievsv added the enhancement New feature or request label Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant