Sign in to follow this  
olegZmemer

is mongodb good for main database?

Recommended Posts

Personally, I'm running MongoDB & Mongoose for my server's data. I've used it for web projects in the past, and it tends to be the first thing I reach for to manage persistent data. I don't think it's a bad choice for your server's data.

MongoDB could be considered overkill for a project at the scale of a RageMP gamemode, since some of its features are mainly targeted for scaling a large app, but I dont think there's any harm in using it. If you haven't used it before and aren't familiar with it, but do have experience with SQL databases, then something like PostgreSQL with Sequelize might be a better choice in terms of getting things done faster. If you want to learn MongoDB just to build that knowledge for use in other areas outside of RageMP, then I think a RageMP server is as good a place as any to learn about it.

  • Like 2

Share this post


Link to post
Share on other sites
Posted (edited)

I think that using MongoDB as 'main server database' is some risky. MongoDB has too bad performance while using it in full-persistance mode (by design). So, maybe better to use it like second db.

Of course, it's your decision to use or not to use some technologies in your project. Previous comments are right. But if you want to get strict answer, uses MongoDB as _main_ database it's bad idea. PostgreSQL or MySQL will be better. In addition, if you want to persists your JSONs, PostgreSQL provides some features to work with it (json's indexes).

Edited by SevDan

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.