since maybe a year now my server is running with SSDB (http://ssdb.io).
We choosed this (whoa this was a lucky moment) because our Redis database has become bigger and bigger.
At the end it was near to overflood the caching ressources while doing the saving process.
I searched with NetiNetwalker for alternatives/solutions for this mess and he found SSDB.
Its a NoSQL Databaseserver, talking Redis with Minetest and storing as LevelDB.
Technically its near as fast as Redis, subjective and in reallity, its for Minetest a hudge performance improvement!
One awesome part is, that it lets you control the memory usuage!
If you wanna test it, go sure to follow the instructions on http://ssdb.io/docs/config.html
Yes, you may need to think a bit but after this, your server will be awesome again, or stay awesome ;)
Notes:
SSDB comes with an Redis and LevelDB importer! See: http://ssdb.io/docs/index.html
You basicly just need to configure your Minetestserver from the Redis, to the SSDB port.
I dont remember how the memory usuage was while importing from redis.
If you need more memory space, do the following:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
swapoff /dev/sdaX (your swap partition!)
fallocate -l 8G /swapfile
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile
# Edit your /etc/fstab:
/swapfile none swap defaults 0 0
# Ref: https://wiki.archlinux.org/index.php/Swap#Swap_file_creation
kind Regards!