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: 1897
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: 940
Joined: Tue Aug 05, 2014 14:09
GitHub: MinetestForFun
IRC: MinetestForFun
In-game: 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: 4786
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy
Contact:

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)!

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: 4786
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy
Contact:

Re: nrz's wish list

by Wuzzy » Post

To be fair, it's sticky. Maybe it should be un-stickied.

User avatar
rubenwardy
Moderator
Posts: 6972
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, 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
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

c56
Member
Posts: 307
Joined: Wed Apr 21, 2021 03:05
GitHub: tigercoding56
In-game: bm5 or bemo5 also sell_her_on55

Re: nrz's wish list

by c56 » Post

rubenwardy wrote:
Sun Jan 06, 2019 14:42
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
i agree it could use updating
this is a signature not a place to post messages also if i could change my username i would change it to sell_her_on55

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests