Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pjambet/redis-in-ruby
Redis, but in Ruby
https://github.com/pjambet/redis-in-ruby
Last synced: about 1 month ago
JSON representation
Redis, but in Ruby
- Host: GitHub
- URL: https://github.com/pjambet/redis-in-ruby
- Owner: pjambet
- License: mit
- Created: 2020-05-16T20:00:01.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-15T20:41:39.000Z (almost 2 years ago)
- Last Synced: 2024-08-04T08:02:29.662Z (5 months ago)
- Language: Ruby
- Homepage: https://redis.pjam.me/
- Size: 1.88 MB
- Stars: 30
- Watchers: 5
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- Open-Source-Ruby-and-Rails-Apps - redis-in-ruby - Redis, but in Ruby 🔥 ✅ 🚀 (Happy Exploring 🤘)
README
# Rebuilding Redis in Ruby
The hugo code for [Rebuilding Redis in Ruby](https://redis.pjam.me)
# Current status
The project's code follows an iterative approach where each chapter continues where the previous one left off.
The latest completed Chapter is [on Sorted Sets](code/chapter-10/).
# Running locally
You can run the server locally with the following command from inside the corresponding chapter folder: `ruby -r"./server" -e "BYORedis::Server.new"`. By default it runs on port 2000. It starts a Redis Protocol compliant server, which you can interact with any Redis clients, such as `redis-cli`:
``` sh
> redis-cli -p 2000
127.0.0.1:2000> SET a b
OK
127.0.0.1:2000> GET a
"b"
```