plarson / redscript

Redis script manager for Redbird

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Redscript

Build Status Platforms Package Managers Twitter dizm

Redis script manager for "Redbird".

Easily load scripts into Redis' script cache

Redscript caches the sha1 digest in a cache allowing it to invoke the script on Redis using the hash instead of eval'ing it each time.

Redscript also guards against script flushes on Redis. If the Redis script cache is flushed or the script disappears for whatever reason, Redscript will automatically detect this and re-load the script into Redis before executing.

Based on "Scripty"

Installation

Swift Package Manager

.Package(url: "https://github.com/plarson/redscript", majorVersion: 0, minor: 1)

💝 Contributing

Please create an issue with a description of your problem or open a pull request with a fix.

✌️ License

MIT

👽 Author

Phil Larson - http://dizm.com

About

Redis script manager for Redbird

License:MIT License


Languages

Language:Swift 85.4%Language:Makefile 11.6%Language:Shell 3.0%