Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Maybe you have misconception about the scalability of PostgreSQL.

> According to Instagram representatives, the number of platform users exceeded 2 billion last year. This is quarter of all humanity. This mass of people publishes nearly 50 million photos a day. Football star Cristiano Ronaldo has over 600 million followers; singer Ariana Grande has over 380 million. Talk about huge databases!

> Instagram uses many RDBMSs, but PostgreSQL and Cassandra were chosen for the main tasks. The goal was to reduce delay and ensure users can easily and comfortably use the application.

PostgreSQL is also the most popular database in StackOverflow surveys.



I hate to tell you this but they migrated to MySQL a long time ago to be able to scale.

Also relevant: https://www.uber.com/blog/postgres-to-mysql-migration/


"popular with developers" is not the same as actually used in real world scenarios. Show me a real world example of pgsql failover and re-mastering that does not involve a restore and not editing configs. How basic? Not even sybase ASE server needs that. Ingres made change in the 80's, everyone else copied it and built on it. Except postgres. It's the Minix of databases.

Show me any proof, that anything of scale is happening in postgresql. All that big facebook and apple data is happening in cassandra (and foundationdb for apple). Netflix has the same pattern, MySQL and Cassandra. Like the days of yore of keeping big data in file systems or tapes and blob indexes in a RDBMS.


> All that big facebook and apple data is happening in cassandra (and foundationdb for apple)

Not sure about Instagram, but I can tell you with complete confidence that Facebook proper (meaning specifically Facebook, not the rest of Meta) moved away from Cassandra well over a decade ago. They originally used Cassandra for FB messages / Messenger, but soon migrated to HBase and then over to MySQL / MyRocks.


That is not at all surprising. We all know they have the resources to find a solution to their massive data problems.


yep and the solution is sharded MySQL


Not MySQL Raft? I am desperate to see the source.


Is Instagram even still using Postgres? They've been awfully quiet about database usage for many years now.


> Talk about huge databases!

Mind that they don't have one data base co training the data, but many many many small databases independent holding small chunks of the data.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: