question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Redisson script caching

See original GitHub issue

According to the Redis documentation, script caching is recommended, using EVALSHA and EVAL only if Redis server does not have the script already loaded, but I don’t see this behavior in Redisson when using EVAL.

This seems to be supported in Spring spring-data-redis using the default ScriptExecutor.

Is there any script caching option I am not aware of? Is this going to be implemented if missing?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
mrnikocommented, Oct 29, 2018

Config.useScriptCache setting added. Please refer to wiki for more details https://github.com/redisson/redisson/wiki/2.-Configuration#usescriptcache

0reactions
mrnikocommented, Oct 30, 2018

@jackygurui

Thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

A Guide to Redis with Redisson - Baeldung
A quick and practical guide to using Redisson for accessing Redis from ... Cluster and Azure Redis Cache for Clustered and Replicated Nodes....
Read more >
RScript (Redisson 3.10.1 API) - javadoc.io
Checks for presence Lua scripts in Redis script cache by SHA-1 digest. Parameters: shaDigests - - collection of SHA-1 digests; Returns: list of...
Read more >
mrniko/redisson - Gitter
Redisson uses lua-scripts and additional objects like redissonmap_cachelast_access__set to deliver this feature. Alan Rusnak. @alanrusnak.
Read more >
Newest 'redisson' Questions - Stack Overflow
Adding elastic cache Redis AWS into a java service. ... Here are the lock scripts of read lock and write lock in Redisson....
Read more >
How to Use Redisson a Redis Java Client Library on Java
Redis is an open source, data-structure store that can be used as a caching layer, database or messaging agent. Redis can resolve complex ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found