Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Cachegrand | 898 | 14 hours ago | 30 | bsd-3-clause | C | |||||
cachegrand - a modern OSS Key-Value store built for today's hardware | ||||||||||
Undermoon | 669 | 2 months ago | 22 | apache-2.0 | Rust | |||||
Mordern Redis Cluster solution for easy operation. | ||||||||||
Hls P2p | 84 | 7 years ago | 1 | ActionScript | ||||||
Flash OSMF based hybrid cdn&p2p hls solution | ||||||||||
Px Table Checksum | 79 | 6 years ago | 10 | Python | ||||||
MySQL非主从环境下数据一致性校验及修复程序 | ||||||||||
Feeyo Redisproxy | 78 | 4 months ago | 2 | bsd-3-clause | Java | |||||
A fast and lightweight Redis Proxy and Kafka Proxy | ||||||||||
Redis Bitops | 50 | 2 | 1 | 7 years ago | 2 | May 20, 2014 | 3 | mit | Ruby | |
Sparse bitmaps with human-readable expression syntax for Redis | ||||||||||
Redis Rstream | 22 | 4 years ago | 4 | mit | JavaScript | |||||
redis-rstream is a node.js redis read stream which streams binary or utf8 data in chunks from a redis key using an existing redis client (streams2). Tested with mranney/node_redis client. | ||||||||||
Redismine | 12 | a year ago | mit | Java | ||||||
Store Minecraft chunks in Redis | ||||||||||
Resp.js | 11 | 3 years ago | mit | JavaScript | ||||||
An implementation of REdis Serialization Protocol (RESP). | ||||||||||
Neutrino | 5 | 9 years ago | 2 | September 26, 2014 | bsd-2-clause | Python | ||||
High Performance Redis Timeseries |
A Thursday hack to store Minecraft chunks in Redis instead of using the Anvil file format.
This is based on Spigot 1.8.3, a mod-friendly "fork" of the official Minecraft server.
To run this code, you will first need to obtain Spigot, which can only be legally distributed in source form, so they have provided a very handy tool that sets everything up for you: http://www.spigotmc.org/threads/bukkit-craftbukkit-spigot-1-8-3.53745/ .
Once the Spigot JAR is in your local Maven repository, it should be as simple as building this project:
$ mvn verify
Make sure you have a Redis server running:
$ echo 'save 300 1' > redis.conf
$ redis-server redis.conf
You can now start a Minecraft server, preferably in an empty directory:
$ mkdir minecraft-data
$ cd minecraft-data
$ java -jar /path/to/redismine/target/redismine-0.0.1-SNAPSHOT-shaded.jar
Loading libraries, please wait...
…
On the first launch, you will need to agree to the Minecraft EULA and restart the server. Just follow the instructions.
After a while, the Minecraft server will start saving chunks to Redis. You can see those by asking Redis:
$ redis-cli keys '*'
world:0_0.chunk
world:0_1.chunk
…
Control freaks will be happier monitoring writes to Redis as they happen:
$ redis-cli config set notify-keyspace-events EA && redis-cli --csv psubscribe '__key*__:*'
You can also try breaking a few blocks, stopping the Minecraft server and restarting
it to see that your changes persisted. But of course, no .mca
files were created.
No guarantees whatsoever are given as to the suitability of this code for any purpose (other than educational, maybe).