Difference between revisions of "Talk:Database backends"

From Minetest Wiki
Jump to navigation Jump to search
m (Added {{Unsigned}} signature)
m
Line 7: Line 7:
 
Hmmm. I will need a method to remove junk player files from the database. It will not as easy as it used to be.
 
Hmmm. I will need a method to remove junk player files from the database. It will not as easy as it used to be.
 
I think I will continue using files for now until that is solved.
 
I think I will continue using files for now until that is solved.
I am trying to find out how I can have multiple mas and/or multiple player databases using the same Redis instance if possible.
+
I am trying to find out how I can have multiple maps and/or multiple player databases using the same Redis instance if possible.
 
I assume redis_hash has something to do with that. But idk what to set redis_hash to.
 
I assume redis_hash has something to do with that. But idk what to set redis_hash to.
 
Looks like the Redis server can be on a different machine than the MT server and use encryption. Awesome xD
 
Looks like the Redis server can be on a different machine than the MT server and use encryption. Awesome xD
  
 
Looking at /src/database-redis.cpp, the use of redis_password is not documented here.
 
Looking at /src/database-redis.cpp, the use of redis_password is not documented here.
 
<small>—&nbsp;Preceding unsigned comment added by [[User:843jdc|843jdc]] ([[User talk:843jdc|talk]]) </small>
 

Revision as of 01:52, 29 May 2017

  • Can the player database backend be any of the backends used for the map?
  • Can the player database backend be different from the one selected for the map?

I use Redis for Cash's World. I have compiled a new 0.4.15-dev client/server and am currently working on setting it up to take over the old 0.4.14 server. My not knowing Redis well is causing me to do this very slowly. I will soon find out if I can use Redis for the player data. Hmmm. I will need a method to remove junk player files from the database. It will not as easy as it used to be. I think I will continue using files for now until that is solved. I am trying to find out how I can have multiple maps and/or multiple player databases using the same Redis instance if possible. I assume redis_hash has something to do with that. But idk what to set redis_hash to. Looks like the Redis server can be on a different machine than the MT server and use encryption. Awesome xD

Looking at /src/database-redis.cpp, the use of redis_password is not documented here.