Sign in to follow this  
rogerdv

sqlite as db backend for mmorpg?

Recommended Posts

Usually, I tend to favour Postgresql for my server tests, but last night I was thinking about trying something different (not MySQL). Is it feasible to use Sqlite for MMORPG servers in terms of scalability, perfomance, etc?

Edited by rogerdv

Share this post


Link to post
Share on other sites
No, due to "in terms of scalability." SQLite is quite clearly not designed for the kinds of massive scalability and distributed access that a healthy MMORPG needs.

Just use MySQL/MariaDB, Oracle, or SQL Server. Those are what most of the big boys use. Postgre may well work just fine, too.

Either you're "trying something different" in your tech stack or you're making a game.

Share this post


Link to post
Share on other sites
It may be possible to use it. Just save the npcs, players etc. every 5, 10 or 15 minutes. Access the database only when necessary (character creation, disconnect of player etc.). This may work, but I cannot guarantee it.

Share this post


Link to post
Share on other sites

SQLite is, for all practical purposes, single threaded. Anything that is not single threaded will make it behave very badly.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this