SA-MP Forums Archive
Whats Faster Filesystem? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Whats Faster Filesystem? (/showthread.php?tid=169270)



Whats Faster Filesystem? - RichyB - 18.08.2010

Well, I am basicly testing the Vortex RP system created by Calgon and he has a time set every 15 minutes which saves every account.
This causes the server to freeze while it saves, and noone can type commands for atleast 1 min for it to show up.

Its using DINI filesystem, and I was wondering is there any faster filesystem which can save faster? Which will let the server run normal at all times instead of freezing every 15 minutes?


Re: Whats Faster Filesystem? - PotH3Ad - 18.08.2010

These 2 are fast..

SII 2.0.6

https://sampforum.blast.hk/showthread.php?tid=58458

DJson

https://sampforum.blast.hk/showthread.php?tid=48439


Re: Whats Faster Filesystem? - Calgon - 19.08.2010

Or you could just delete some files you do not need... you probably have like 300235823893 houses/businesses.


Re: Whats Faster Filesystem? - RichyB - 19.08.2010

Ive removed the houses and Businesses, I only had 3 houses and 3 businesses and it does the same.
Its with the saving of Userfiles.


Re: Whats Faster Filesystem? - Mike Garber - 19.08.2010

Remove the timer and put It's content (with modifying!) under OnPlayerDisconnect.
No need for a timer, only reason to save your data is because you exit the server.


Re: Whats Faster Filesystem? - DRIFT_HUNTER - 19.08.2010

Can we know your pc configuration?


Re: Whats Faster Filesystem? - RichyB - 19.08.2010

CPU - 3.00GHz
RAM - 2GB
Windows XP
Hardrive Space: 372.2GB

Anything else you need to know


Re: Whats Faster Filesystem? - Zamaroht - 19.08.2010

dini is totally NOT recommended for this kind of saving, since it opens and closes the file at every 'get' or 'set' command, and using it for a lot of players at the same time, with a lot of values each, will be killing your hard drive.
I don't know SII, but I'm currently using DJson for several stuff and it's working flawlessly. Yes, it works in 0.3b too.


Re: Whats Faster Filesystem? - ikey07 - 19.08.2010

In normal operation files should be saved only on GameModeExit,

User files only OnPlayerDisconnect and also only one file what mathes playerid.

I use usual samp file system, and its work just fine for me


Re: Whats Faster Filesystem? - Cameltoe - 19.08.2010

I recommend Mysql! not flatfiles at all.