S
S
seys2016-07-12 22:59:29
PostgreSQL
seys, 2016-07-12 22:59:29

Bulletin board, which is better to use PostrgeSQL or MongoDB?

A classifieds site, for example, where people post ads to sell cabinets, nightstands from different brands and countries. Traffic is 1 million per month, which database is better suited for such a project?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
nepster-web, 2016-07-12
@nepster-web

What is better warm or soft?
PostrgeSQL is a relational database with SQL technology
MongoDB - NoSQL document-oriented storage.
You need to use PostrgeSQL as the main database, and under heavy loads, make the server work easier, keep fat collected bundles of joins as documents in MongoDB. But it is a question of architecture and approaches that can lead to holy war.
Traffic 1kkk per month, it's not a big deal. That is, about 35k snouts a day, a fairly solid attendance but not very fat. Ordinary tsms can keep it even without a cache, maybe I'm wrong, but with me DLE kept 10k a day without a cache and similar things.
In your case, a good server and cache will save you. Now, if you have 1 million a day, then there will be problems.

S
sim3x, 2016-07-12
@sim3x

postgres
when you have 1k rps add memkesh
monga for small pet projects

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question