nrz's wish list

For people working on the C++ code.
Post Reply
nrz
Developer
Posts: 131
Joined: Sat Feb 07, 2015 17:16
GitHub: nerzhul
IRC: nrzkt
In-game: nrz
Location: France
Contact:

nrz's wish list

by nrz » Post

Like sofar and nore here is a feature wish list

If you are interested by one of those features, don't hesitate to comment this post or the mentionned PR/Commit
  • PostgreSQL database backend (merged)
A PostgreSQL database backend is a very good replacement to leveldb and redis which are currently the faster backends we have.

PostgreSQL is a powerful relational database which is a good replacement for Oracle or MySQL/MariaDB databases and offers many features.

Using PostgreSQL permits servers owners to have a website or a mapper which connects to database to fetch the mapblocks or many others datas we store and create dynamic website with frameworks like symfony, django, RubyOnRails, etc..

PostgreSQL is as fast as Redis for big worlds except it doesn't consume so much memory (don't forget to tune your PostgreSQL shared buffers to 50% of your server memory, 1GB is a good value, 2GB is a must have, default is 256MB). Also PostgreSQL uses less disk than LevelDB and Redis. Currently on my server with 11 million mapblocks it takes only 9GB.
  • Player data into database (Merged)
Players are currently stored into a flat file, which is subject to corruption, and the more player you get, the more file you get. With a very high inode size, the player file reading speed could decrease.

Using a database backend permits to have online updates of players and secure the data consistent behind those venerable backends.
More over, having player datas directly into database will permit user to manipulate them easily from a website (imagine a website where your player can login and see their inventory, current HP, coordinates...).
Database are more website friendly than a flat file with a non standard parsing mode
  • Players extra attributes (PR opened #4155)
Mods are setting their own player attributes everywhere, creating many files, generally 1 per mod per player.
Create a common interface to set and get extra players attributes used by mods[/list]
Last edited by nrz on Sun Dec 17, 2017 08:09, edited 1 time in total.

User avatar
philipbenr
Member
Posts: 1688
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: robinspi
Location: United States

Re: nrz's wish list

by philipbenr » Post

It is nice to see more involvement of the devs on the forums.

;) Keep up the good work! It means a lot to all the players.

User avatar
ExeterDad
Member
Posts: 1717
Joined: Sun Jun 01, 2014 20:00
In-game: ExeterDad
Location: New Hampshire U.S.A

Re: nrz's wish list

by ExeterDad » Post

philipbenr wrote:It is nice to see more involvement of the devs on the forums.

;) Keep up the good work! It means a lot to all the players.
Totally agree!

User avatar
Minetestforfun
Member
Posts: 936
Joined: Tue Aug 05, 2014 14:09
GitHub: Darcidride
IRC: Darcidride + MinetestForFun
In-game: Darcidride + MinetestForFun
Location: On earth
Contact:

Re: nrz's wish list

by Minetestforfun » Post

Amazing, +1 !

Keep up the good work :)

User avatar
Wuzzy
Member
Posts: 3929
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: nrz's wish list

by Wuzzy » Post

Update: #4155 is merged as well. So, the wish list is complete, congratulations (at least for now)!
My creations. I gladly accept bitcoins: 17fsUywHxeMHKG41UFfu34F1rAxZcrVoqH

nrz
Developer
Posts: 131
Joined: Sat Feb 07, 2015 17:16
GitHub: nerzhul
IRC: nrzkt
In-game: nrz
Location: France
Contact:

Re: nrz's wish list

by nrz » Post

you up a very old topic heh :)

User avatar
Wuzzy
Member
Posts: 3929
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: nrz's wish list

by Wuzzy » Post

To be fair, it's sticky. Maybe it should be un-stickied.
My creations. I gladly accept bitcoins: 17fsUywHxeMHKG41UFfu34F1rAxZcrVoqH

User avatar
rubenwardy
Moderator
Posts: 6092
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: United Kingdom
Contact:

Re: nrz's wish list

by rubenwardy » Post

I think it's a good idea to have these posts to let interested users know what each dev is interested in and what their direction is. Could use updating though

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest