Software Development Community Question

How do we choose between SQL and NoSQL for a new high-traffic application?

Posted on 2025-06-15 • In Software Development • By Kevin Parker

We are architecting a new social platform and we expect high write volume. Some of the team wants the flexibility of MongoDB (NoSQL), but others swear by the ACID compliance of PostgreSQL (SQL). What are the current industry standards for choosing a database

3 Answers 18,067 Views

All answers to this question 3 Answers

Elizabeth Harris Answered on 2025-06-19
Answered

The "industry standard" is moving toward using the right tool for the specific data type within the same app. This is called Polyglot Persistence. For your user profiles and social graph, a NoSQL or Graph database might be great for flexibility and speed. However, for anything involving transactions or financial data, you absolutely want the ACID compliance of a SQL database like PostgreSQL. Modern Postgres also handles JSONB data incredibly well, which bridges the gap between the two worlds. Don't choose a database based on a trend; choose it based on whether your data is "relational" (needs joins) or "document-based" (self-contained).

Brian Wright Answered on 2025-06-22
Answered

Have you considered how your team’s expertise plays into this, or are you strictly looking at the technical benchmarks?

Michael Turner Commented on 2025-06-25
Commented

Brian brings up a very practical point. A perfectly optimized MongoDB cluster is useless if your team only knows how to write complex SQL queries. The "developer experience" and operational knowledge are just as important as the database's latency. If your team is already experts in Postgres, it can scale a lot further than people think with proper sharding and indexing. Don't underestimate the overhead of learning to manage and backup a new type of database in a production environment under heavy load.

Nancy Allen Answered on 2025-06-27
Answered

If your data schema is still evolving rapidly, NoSQL is a lifesaver. You don't want to be running massive "Alter Table" commands on a live database every week.

Kevin Parker Commented on 2025-06-28
Commented

Exactly, Nancy. Schema flexibility is the primary reason startups gravitate toward NoSQL early on. It lets you iterate the product without the database becoming a bottleneck.

Write a Comment

Your email address will not be published. Required fields are marked (*)

Join the LearnersEra Community

Ask questions, share knowledge and learn from professionals across technology, project management and certification topics.

Change Country and Nearest City

Select your country and nearest city to see courses available in your region.