niccholaspage/Fe — pull request #30 by CryLegend (2014-01-03 18:49:06+00:00)
Title: New superfast file database

Hi,
Fe is a very good plugin, but it's unfortunately too slow. I've created a very fast file database which store accounts in file accounts.flat with model "player:money" like :
crylegend:1000.0
niccholaspage:1854.24

I load everything at the startup and I rewrite every 5 seconds in a separate thread if something changed. File writing perfs are very good: 300ms for 100000 accounts. Money operations are very fast, look at this benchmark: http://www.craftfriends.fr/Personnel/bench.png (1 transaction equals to +1 and -1)
SQLite perfs looks like 300ms for 25 transactions!

I hope this will contribute to this great plugin which allows me easely to integrate my own database.
Cordialy,