#Sharding

1 messages · Page 1 of 1 (latest)

fallen apex
#

That all depends on the database you use it with.

When it comes to sharding it means multiple processes accessing the database. Something like a json file is extremely dangerous to do. Sqlite3 is a bit less but you need to know that only one process can write at a time. Other bigger database servers like mysql there should be no problem at all as they are made for having multiple connections. I will always recommend a database server over anything even Sqlite3 because it can in fact corrupt more easily

tight perch
#

So, if I understand correctly, if I were to use Quick.db with MySQL, it would be ok? But not like mongoDB or Sqlite3

fallen apex
#

MongoDB is a database server

#

Sqlite3 is a filesystem database

#

MongoDB will be better as it is also made for multiple connections and optimized for this stuff

#

Quick.db is just a Library that makes it easy to communicate to the dataabse

#

It's not a database in itself. So that all depends on your database choice

#

Mysql, postgres, mongodb. Those 3 are good

#

Postgres is only in the dev version though

tight perch
#

Ah ok, im already using a mongoDB, was looking at switching out as I thought quick would be better

fallen apex
#

If you already use mongodb directly then no quick.db will not be better

#

Since quick.db's claim is to make it easy and when something is easy it hides the part where it does stuff for you that may not be needed every time