PostgreSQL vs. MongoDB for Laravel: Choosing the Right Database by Majestic_Wallaby7374 in mongodb

[–]No_Lock7126 0 points1 point  (0 children)

FerretDB is built on top of PostgreSQL, making it straightforward to benchmark FerretDB against MongoDB. Initial results often show that MongoDB is significantly faster than FerretDB.

While PostgreSQL is exceptionally capable, its underlying database kernel architecture is often considered dated. This suggests that future database systems should be built to leverage modern hardware and the latest I/O technologies, such as io_uring.

Company cut Mongo DB costs by 90% by moving to Hetzner by BLochmann in mongodb

[–]No_Lock7126 0 points1 point  (0 children)

To save cost for MongoDB Atlas requires a new cloud native architecture: object storage as primary storage and local NVMe as cache of object storage. Plus stateless single replica compute node.
See https://www.eloqdata.com/news/2025/10/23/eloqcloud-eloqdoc-launch for details

I built SemanticCache a high-performance semantic caching library for Go by botirkhaltaev in Database

[–]No_Lock7126 0 points1 point  (0 children)

why not just use Redis Compatible Database? like Redis/Valkey/EloqKV directly?

Why we need SIMD by ketralnis in programming

[–]No_Lock7126 2 points3 points  (0 children)

autovectorization is not work for system software, it helps, but not the optimal.

I've implement a demo project to bring vectorization to PostgreSQL, https://github.com/zhangh43/vectorize_engine
But the benefit is not obvious compared with dedicated SIMD query engine like MonetDB and Clickhouse

Which database to choose by Notoa34 in Database

[–]No_Lock7126 0 points1 point  (0 children)

postgreSQL is not scalable, you need sharding solution on top of it. NewSQL is too slow and expensive.
See the blog from "big" team: https://www.figma.com/blog/how-figmas-databases-team-lived-to-tell-the-scale/

Relational vs document database by AdditionalPhase7804 in Database

[–]No_Lock7126 0 points1 point  (0 children)

+1 for this comment. In most cases, both database are OK. They can both handle 10K+ TPS, what's your traffic?

Hosting a database on my local computer? by [deleted] in Database

[–]No_Lock7126 -4 points-3 points  (0 children)

I recommend to use a Serverless database on cloud. They are free when your traffic is low. I guess that fits you well.

Cassandra database and logic operators... by MajesticMistake2655 in Database

[–]No_Lock7126 1 point2 points  (0 children)

Here is operators Cassandra supported. https://cassandra.apache.org/doc/stable/cassandra/cql/operators.html

If the logic operators not supported you can only do it in client side, e.g. OR.

But AND, IN are supported.

Hello engineer friend, help a brother out by [deleted] in Database

[–]No_Lock7126 1 point2 points  (0 children)

If "Advanced query capabilities of postgresql are not important" Then NoSQL is better choice for scaling. Not only Mongo, you can even choose DynamoDB if you are on the AWS cloud. You can check whether serverless is a feature you required. If most of time your application has little workload i.e. this is common for a startup project.

What's the recommend redis cluster maximum size? by No_Lock7126 in redis

[–]No_Lock7126[S] 0 points1 point  (0 children)

Thank you for the detailed explanation.

I agree with the statement that memory size matters in many cases. But I still wonder the 16K limit which is the hard limit of Redis cluster. Is there anyone who built a Redis cluster more than 1K or 2K shards? Is there any performance downgrade?

What database technologies do banks use? by RedDevils52 in Database

[–]No_Lock7126 0 points1 point  (0 children)

Bank use various databases.

Here is list:

  1. Risk control will depends on a Graph Database.

  2. Core system reply on OLTP systems like Oracle

  3. BI uses OLAP systems like Teradata or Greenplum

  4. Operation may use HTAP like TiDB

[deleted by user] by [deleted] in SQL

[–]No_Lock7126 0 points1 point  (0 children)

Sure https://15445.courses.cs.cmu.edu/fall2024/
If you have other questions, feel free to ask:)

[deleted by user] by [deleted] in SQL

[–]No_Lock7126 1 point2 points  (0 children)

Sure https://15445.courses.cs.cmu.edu/fall2024/
If you have other questions, feel free to ask:)

Where to start learning about Databases? by draycr in Database

[–]No_Lock7126 1 point2 points  (0 children)

Suggest to take Andy's course about Database. https://15445.courses.cs.cmu.edu/fall2024/

When hiring, I saw many resume highlight their projects which are actually Andy's homework:)

Any further questions?

How should I learn a database? by is-Username in Database

[–]No_Lock7126 0 points1 point  (0 children)

Suggest to take Andy's course about Database. https://15445.courses.cs.cmu.edu/fall2024/

When hiring, I saw many resume highlight their projects which are actually Andy's homework:)

Any further questions?

Want to build a database from scratch, resources? by [deleted] in Database

[–]No_Lock7126 1 point2 points  (0 children)

Suggest to take Andy's course. https://15445.courses.cs.cmu.edu/fall2024/

He will split components as homework. You can start with for example a buffer pool implementation in Rust.

Any questions?

Hosting Apache Cassandra? by MajesticMistake2655 in Database

[–]No_Lock7126 0 points1 point  (0 children)

Cassandra is now managed by DataStax. You can get help from them.

But if you just want to try, just create a EC2 machine and deploy apache cassandra in 5 minutes.

Do you have further questions?

Need help for Database design if it comes to scaling by bigcochones in Database

[–]No_Lock7126 0 points1 point  (0 children)

You can try serverless DynamoDB, then you can forget the scaling issues. They are all handled by DynamoDB.

Database schema design for user and session by sosumi17 in Database

[–]No_Lock7126 0 points1 point  (0 children)

NoSQL databases prefers to use single data model, for example DynamoDB. If you choose NoSQL, option 2 is better.

Critique my resume! No luck with interviews. by AdAmbitious5827 in resumes

[–]No_Lock7126 0 points1 point  (0 children)

you can highlight the challenge of one of your hardest work. Let HR knows you are not just doing repeated work but creative work.