Тёмный

How Figma Hacked Postgres Into Scalability 

Theo - t3․gg
Подписаться 338 тыс.
Просмотров 66 тыс.
50% 1

I've said "postgres doesn't scale" for awhile. Hopefully this puts it into context. Obviously it CAN scale, but by default, it will not. At all. lol.
What a journey this post was.
www.figma.com/...
Check out my Twitch, Twitter, Discord more at t3.gg
S/O Ph4se0n3 for the awesome edit 🙏

Опубликовано:

 

27 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 285   
@tbkrmr
@tbkrmr 4 месяца назад
Please stop with the clickbaity titles! PostgreSQL is probably the best database choice for most businesses. Figma reached a scale most businesses will never reach. And by then they should have the resources to deal with these kinds of problems. Stop telling people how "absurd" or "insane" it is that you have to spend time writing benchmarks to find bottlenecks in your database. There is a world outside cloud providers, you know? There are businesses who just don't want (or can) throw money at cloud providers to solve all their problems (think regulated markets). You will get VERY far with a PostgreSQL database on a dedicated host and it's gonna cost you peanuts. Enough with the hot takes and one-sidedness.
@tonero5651
@tonero5651 4 месяца назад
i paused after like 17s on the video to process what I heard, "Postgress doesn't scale well by default"
@developer217
@developer217 4 месяца назад
he is sponsored by planetscale which is mysql
@tbkrmr
@tbkrmr 4 месяца назад
​@@tonero5651 With bullshit takes like this, he's not only hurting his own credibility but in extension that of the whole JS community. And I'm a proud member of the latter.
@MrManafon
@MrManafon 4 месяца назад
Yes, postgres scales insanely well. I’ve worked with client databases of 300k tables, and billions of rows. The value of postgres is literally that it gives you all the scalability primitives, and lets you decide when to scale. While most solutions scale better by default, the ceiling for a company like Figma is much higher than most others.
@vutlharimhlongo4476
@vutlharimhlongo4476 4 месяца назад
Well said 👏
@Kaisewhite
@Kaisewhite 4 месяца назад
Dev Ops Engineer here and I can attest that Postgres does indeed scale very well and is probably the best relational DB out there right now which is why its so widely adopted. If you have over 4 million users and over a billion rows yeah you’re going to run into some issues regardless of what DB you choose. To say Postgres doesn’t scale though is wild given this very specific use case. Front end devs need to sit this one out.
@alexandreg.1000
@alexandreg.1000 3 месяца назад
Note front end devs ignore the complexity of database and server systems.
@t4t5
@t4t5 4 месяца назад
Interesting post, but i was annoyed by Theo constantly going on about how it's "absurd" that Figma had to dive deeper into these issues, and suggesting that this is all because postgres "doesn't scale". Figma is one of the most successful tech companies of the last 10 years. They have an insanely advanced product. Ofc they're going to run into problems that very few companies have and be forced to develop tailor-made solutions. The idea that this is somehow proof that we as regular devs would be better off opting into proprietary services by SaaS companies like Planetscale is nonsense.
@IvanRandomDude
@IvanRandomDude 4 месяца назад
To Theo the only value of a business is their UI and everything under the hood is just useless. 2:56
@quelqunderandom6143
@quelqunderandom6143 4 месяца назад
@@IvanRandomDude he meant that a company providing tools to create UI shouldn't care about DB scaling (which is still stupid don't get me wrong)
@medilies
@medilies 4 месяца назад
Bro thinks figma is made with T3
@1DwtEaUn
@1DwtEaUn 3 месяца назад
Didn't figma hear about MongoDB it's WebScale and does sharding ... :)
@siya.abc123
@siya.abc123 4 месяца назад
Dear reader, this is a problem you will not have in your side project, or probably ever. I'm starting to understand why this guy's credibility is tanking so fast. Imagine, he said large companies shouldn't need database engineers 😂
@Lexaire
@Lexaire 4 месяца назад
Are all Theo's readers unemployed?
@twitchizle
@twitchizle 4 месяца назад
​@@Lexaire yes
@BarakaAndrew
@BarakaAndrew 4 месяца назад
Not true, I'm close to this, have about three tables with 800mil+ data and growing quickly.
@sphinxwar8529
@sphinxwar8529 4 месяца назад
@@BarakaAndrew I see you're into DB feederism, nice.
@Michael-Martell
@Michael-Martell 4 месяца назад
Don’t take the black pill gents.
@william383
@william383 4 месяца назад
Theo is getting cooked hard in the comments
@salubrium
@salubrium 4 месяца назад
Deservedly so.
@Fs3i
@Fs3i 4 месяца назад
I'm getting more and more annoyed with his videos. The confidence with which he's wrong seems to be increasing, which is ... well, not great.
@hobbit125
@hobbit125 4 месяца назад
It's absurd that a 10 BILLION dollar company handling terabytes of data has to hire a database team? Lol, okay Theo. Seriously, he whines about anyone having to know how to do anything beyond writing simple front-end work, and keeps praying for a world where all developers are too incompetent to handle literally any remotely difficult problems and all real work is centralized to a few monopolistic companies that everyone just pays to do everything. Absolutely no lessons learned from cloud computing in general or the recent Vercel bullshit or the recent Cloudfare bullshit, etc. There's a lot of money to be made in being a developer that can actually deal with a problem that you can't just npm install away.
@rtorcato
@rtorcato 4 месяца назад
oh another daily video of Theo reading a blog post about something most developers will never ever have to worry about
@hobbit125
@hobbit125 4 месяца назад
...while failing to understand it and presuming everyone is as incompetent as he is and begging them all to use the cloud providers that he shills for.
@dyto2287
@dyto2287 4 месяца назад
For figma it's not absurd to be this deep into databases. All these real time collaboration features comments and other stuff that people use daily will make their DBs explode with data just as Discord.
@IvanRandomDude
@IvanRandomDude 4 месяца назад
What's absurd is that he believes that the value of a business is just their UI. "It's just an UI app bro" 2:56
@krazymeanie
@krazymeanie 4 месяца назад
"Postgres doesn't scale" is such baloney
@developer217
@developer217 4 месяца назад
he is sponsored by planetscale which is mysql
@kkebo
@kkebo 4 месяца назад
Obviously, IndexedDB is the way to go
@ArtemMelanich
@ArtemMelanich 4 месяца назад
It's just arduous
@CodiceMente
@CodiceMente 4 месяца назад
I run multi region postgresql clusters (3 to 5 geographical regions) with intra region auto scaling (vertical and horizontal) plus a layer of geo redundant pgpool clusters on top… the smaller ones cost my clients around 30 bucks/month at minimum load. So please stop this nonsense bullshit, there is no “one size fits all” data layer out there, and Postgres scales very well until your past software design decisions come back to bite you in the ass. And that’s the case for every company that grows so fast like Figma. Nothing saves you from benchmarking, analyzing, refactoring - rinse and repeat. I will always and ever choose Postgres over this new shiny toy cloud databases out there, period.
@stariyczedun
@stariyczedun 4 месяца назад
how do you scale it? my ass coming from doing almost ten years of nosql can't comprehend how you guys live without paxos aft\distributed consensus, autoscaling and autofailover out of the box.
@CodiceMente
@CodiceMente 4 месяца назад
@@stariyczedun re scaling: vertical node scaling + more secondary nodes (read-only) or the usual partitioning and/or sharding. But the latter (partitioning/sharding) is needed only for very very large+high traffic services. There are banking/financial ERPs dealing with billions of rows that run fine without either partitioning nor sharding. re nosql: "if I need a screwdriver, I'll use a screwdriver, even if a hammer could scale better".. :-D this is true for everything, we must choose the right tool for the task at hand, and that's the most important lesson I acquired in 20+ years as sw architect. Please don't tell me that you'd choose nosql to build a CRM or a financial ERP data layer... ;)
@Asdayasman
@Asdayasman 4 месяца назад
I would love to learn from you. Looking for someone to mentor?
@MrManafon
@MrManafon 4 месяца назад
sidenote on your last joke - im currently dealing with a company that built an enterprise OMS, PIM and TMS on Azure Cosmos. You can’t imagine the pain they have 😂
@iancarlson3421
@iancarlson3421 4 месяца назад
@@CodiceMente Read replicas only help with read heavy loads, which admittedly is a common issue with B-to-C apps, but a lot of B-to-B apps ingest a lot of data for analytics. When we tried to use read replicas with RDS, the replication lag grew to several hours which was unacceptable.
@mdtron
@mdtron 4 месяца назад
For the average joe building side projects, this scaling doesn't matter. As they say "you'll probably have more servers than users"
@commandmaster7101
@commandmaster7101 4 месяца назад
There is nothing that hurts more than listening to frontend guy talk about databases
@kkebo
@kkebo 4 месяца назад
curious, why?
@kiiyaerick
@kiiyaerick 4 месяца назад
@@kkebo lol did you watch the video.
@kkebo
@kkebo 4 месяца назад
@@kiiyaerick no I haven't lol
@commandmaster7101
@commandmaster7101 4 месяца назад
@@kkebo The amount of mistakes is huge. He reads something, doesn't really know what it means, but still says something random and completely inaccurate with complete confidence
@kkebo
@kkebo 4 месяца назад
@@commandmaster7101 I guess he has that charismatic persona. Might not be obvious for junior devs such as myself. Thank you though for the insight.
@marcempunkt9737
@marcempunkt9737 4 месяца назад
Oh damn postgres doesnt scale? I need to migrate my side project quickly. Before i have more than 5 users....
@TheSuperBoyProject
@TheSuperBoyProject 3 месяца назад
Make sure you do it on one of his sponsors' services otherwise you will hit another bottleneck at 10 users.
@SickBeard
@SickBeard 4 месяца назад
A small, 750+ employee, company such as Figma ...
@haras-unicorn
@haras-unicorn 4 месяца назад
i love it when he was saying that "oh this is so far removed from what theyre doing and its a failure for database design" like you literally said they are one of the biggest postgres users ofc theyre going to have problems with scaling no matter what the database is
@WilliamWelsh
@WilliamWelsh 4 месяца назад
750 !?!?!?!? what do they all do ?!
@perz1val
@perz1val 4 месяца назад
@@WilliamWelsh At some point handling the number employees becomes so complicated that you can just have them going in circles creating and solving internal problems. 99% of "work" done in such company becomes managing itself, the money comes from users subscribing via automated forms and occasional big deals with other such companies. The actual work done is engineers fixing shit when something breaks 1/2 times per year (this is joke comment btw)
@hobbit125
@hobbit125 4 месяца назад
"Imagine if game devs had to understand DirectX and assembly..." I don't have to imagine. I was there when they did. Games ran a lot faster, with less bugs, and without being cookie cutter bullshit cranked out with Unity.
@jimmy21584
@jimmy21584 3 месяца назад
As a console developer, I was thinking “yeah, imagine that”.
@PuddinPop1945
@PuddinPop1945 2 месяца назад
I don’t understand assembly or directx but I still knew that take was hilariously bad as soon as I heard it 😂
@eye.of.thestorm
@eye.of.thestorm 4 месяца назад
Limited knowledge about the subject, yet spoke with complete confidence right from the get go. This is not just bad, it's misleading. Unsubbed. Edit: He's sponsored by PlanetScale. No wonder...
@Dude29
@Dude29 4 месяца назад
LMAO Theo sometimes you say some really dumb stuff
@LeviLansing-dy9qb
@LeviLansing-dy9qb 4 месяца назад
"Imagine if game devs had to understand DirectX and assembly..." they actually do if they are legit, and I think any developer building a product that need a scalable database SHOULD understand how databases work and any team the size of Figma's SHOULD have world class DBAs
@IvanRandomDude
@IvanRandomDude 4 месяца назад
2:56 Figma... just an UI app. Lmao
@IvanRandomDude
@IvanRandomDude 4 месяца назад
"It's absurd that plane engineers have to think about the physics, motors and fuel just to build the few seats for passengers"
@VKD007
@VKD007 4 месяца назад
Figma and Canva are monster products. People dont see the complexity and scale they operate
@MintoIssac
@MintoIssac 4 месяца назад
"postgres don't scale that well " **Spits out coffee**
@mindasb
@mindasb 4 месяца назад
So many people will discover how Theo does not know what hes talking about from this video ... oh wait, they will not, they will still think he is amazing despite how much nonsense was said. No it's not absurd to explore the limits of your DB and it's not that complex - it's a lot of work, but many people are doing it, I have do it to some extent. No it's not absurd that Figma needs to do that and it's not an issue with DB design. It's a big company blasting it's DB with seemingly complex data model. What is absurd is you constantly throwing the word absurd.
@Asdayasman
@Asdayasman 4 месяца назад
Have you read the comments? He's getting absolutely cooked. Have a little faith in other people please.
@hobbit125
@hobbit125 4 месяца назад
It's a crazy phenomenon. He is confidently wrong and ignorant in nearly every video he makes, and people keep listening.
@smoked-old-fashioned-hh7lo
@smoked-old-fashioned-hh7lo 4 месяца назад
this is the exact problem i have with theo. he's a problem for new developers. they see a guy with a big platform and assume he knows what he's talking about about. his takes are almost always laughably bad.
@LtdJorge
@LtdJorge 4 месяца назад
@@hobbit125And he tells it as gospel
@serge9941
@serge9941 4 месяца назад
100% BS. and stop always saying this/that company isn't sponsoring THIS video. you think we're dumb? there are sponsoring your channel
@HappyCheeryChap
@HappyCheeryChap 4 месяца назад
Yeah it's ABSURD how often he says that "not sponsoring this video" line. 😂 He seems to really underestimate the intelligence of the viewers.
@dzienisz
@dzienisz 4 месяца назад
This video is useless for 99.99999% of devs
@alexbennett5647
@alexbennett5647 4 месяца назад
✨ no ✨
@taksuyu
@taksuyu 4 месяца назад
Don't love the generalization that postgres is somehow not fit for purpose, when it's perfectly fine until you're large enough to throw money at the problem. Never mind the fact that other databases have similar issues in some way or another. We can all benefit from learning about databases instead of treating them as black boxes that do or don't work.
@iancarlson3421
@iancarlson3421 4 месяца назад
I don't know why people assuming throwing money at a fundamental scaling problem will solve the issue. As the data grows, often the stakeholders are expecting their returns to be linear. If I had to tell the execs of the company that we couldn't deliver any features for the next 12 months because we need to solve a fundamental scaling issue they would shit in their pants.
@shimadabr
@shimadabr 3 месяца назад
​@@iancarlson3421That's the problem every company that grows very fast faces. Eventually the infrastructure cost is going to skyrocket (to then stabilize)
@MrRecorder1
@MrRecorder1 4 месяца назад
7:25 - Please realize that this philosophy only applies for low-stakes applications. If you deal with high stakes - think medical, bridge building (more fun because of the metaphor), once your safety rails fail, you end up in jail and that is that.
@Asdayasman
@Asdayasman 4 месяца назад
Depends how much money you have.
@TheSuperBoyProject
@TheSuperBoyProject 3 месяца назад
That's not the case if you use this video's sponsor; planetscale
@realbigsquid
@realbigsquid 4 месяца назад
I ❤ postgres. I would feel so lucky if my my dbs did this. This is a great problem to have. I have had dreams where my side project went viral and i end up with a 2k vercel bill and wake up with a cold sweat, imposter syndrome, and rustled jimmies.
@quelqunderandom6143
@quelqunderandom6143 4 месяца назад
To everyone: almost none of you will ever encounter this kind of problems, this is the top 0.00001% of scaling(probably need to add a few more zeros but you get the point). To Theo: you are so out of your realm, and it shows: - No shit you should know how to scale your database and not just rely on a 3rd party to keep your DB good, what happens when that 3rd party's system fails? Or they go bankrupt? - wtf was that gamedev comparison?? Games are so sensitive to perf changes that you need to know how it will compile down. - Postgres is one of the base scaling DBs once you started using 3 things - Yes your sponsoring makes you biaised (I'm not saying you are not enjoying the product) Overall so much stuff is wrong and you said it with so much confidence that it is clearly an issue
@AK-vx4dy
@AK-vx4dy 4 месяца назад
Stop comparing MySql to Postgres it is another league. I don't know if Figma needs Postures functionality but if talking about planetscale is just stupid.
@AbstruseJoker
@AbstruseJoker 4 месяца назад
Would hate to have theo working on a complex app. Has some serious gaps in knowledge on scale
@RaZziaN1
@RaZziaN1 4 месяца назад
That's why they only did app to upload files.. and nothing more.
@chadjaasofianne310
@chadjaasofianne310 4 месяца назад
Theo is the type of guy who still don't know Mongo have relational references.
@HarshPatel5940
@HarshPatel5940 4 месяца назад
Good blog... You lost me today when u again mentioned planetscale. Like stop comparing different solutions that too for scalability... Its bad when u miss represent something so much that too repeatedly. Take this comments section of todays video as a lesson.
4 месяца назад
sounds like a skill issue on Figma side or terrible design decisions
@Denominus
@Denominus 4 месяца назад
There is NO escaping scalability problems when you run into them, especially at the storage layer. Everyone that scales to certain point has to deal with it. As many people also find out, if some scaling problem is being “handled” for you by a third party, it becomes a growing finance problem that follows the same curve, eventually business will be breathing down your neck to get costs down or move off because the costs are becoming unsustainable.
@dealloc
@dealloc 4 месяца назад
Theo, Postgres scales very well-MySQL too. This is an outlier, like so few others where their earlier technological decisions now require them to make changes as they scale more. And yes, as large game companies, you definitely have people that worry what a rendering API is doing under the hood and what it compiles to in assembly during performance regressions-in fact it's even more crazy than that, since you have to test for so much hardware that you have to limit it and set "system requirements" based on the reasonable testing done to make sure the game runs well across those systems.
@sd_pjwal
@sd_pjwal 4 месяца назад
There's zero chance a company would have set up horizontal sharding from the start. Period. It would have been a waste of money in the time for where they were at.
@lionelarucy4735
@lionelarucy4735 4 месяца назад
I think for a lot of use cases you don’t really need to do Sharding yourself. The Citus extension helps quite a bit. I would argue that Postgres is the best database for almost any business.
@dn5426
@dn5426 4 месяца назад
can't take you seriously for anything outside the realm of frontend stuff.
@smoked-old-fashioned-hh7lo
@smoked-old-fashioned-hh7lo 4 месяца назад
his frontend takes are almost always bad too. he's a junior developer that thinks he's a senior.
@rodjenihm
@rodjenihm 4 месяца назад
I am not sure what caused their problems. I have seen people on youtube building Figma clones in a week and it works perfectly without any issue. Yeah, I am joking.
@nomad4691
@nomad4691 4 месяца назад
"Postgres doesnt scale well by default"... What?
@TurtleKwitty
@TurtleKwitty 4 месяца назад
How insane is it that a giant company making extreme use of a technology has to have a maintenance team for the said technology? Not insane inthe slightest its the most obvious conclusion possible, the fuck are you on XD
@ChaseFreedomMusician
@ChaseFreedomMusician 4 месяца назад
MongoDB is Webscale
@kamiljanowski7236
@kamiljanowski7236 4 месяца назад
Postgres also supports table sharding. It does require small changes on the application layer making the writes more complex, but the reads could stay pretty much the same. With that you could have back filling though
@ИванРагозин-я8я
@ИванРагозин-я8я 4 месяца назад
If they were using SQLite, they wouldn't have these problems.
@Ergydion
@Ergydion 4 месяца назад
They should simply use excel
@hugazo
@hugazo 4 месяца назад
The DBProxy blew my mind: We've heard you like postgres so we put a postgres in your postgres so you can query while you query
@imransefat8770
@imransefat8770 4 месяца назад
There's still time to delete this video Theo
@PHAL__
@PHAL__ 4 месяца назад
How does Figma, a company with an online, almost real-time product that has tens (maybe hundreds) of thousands of concurrent users at a time, don't need to think about databases? The re definitely not just a "UI company" lol. The sheer size of the product is the only reason they stumble upon this issue. 99,999999% of digital companies will never have to face anything similar to this.
@fungilation
@fungilation 4 месяца назад
fail whale Theo move to Mysql? Skill issue. Move to Postgresql? Way to go. Especially when there's Yugabyte for full sharding which begs the question with Figma's blog post. Why haven't they mentioned Yugabyte at all in their eval of solutions before they decided to go Deadpool with maximum effort?
@ambuj.k
@ambuj.k 4 месяца назад
Figma: "Postgres does not scale" Supabase: "Hold my beer"
@sarcasticdna
@sarcasticdna 4 месяца назад
If we allow Theo will say figma will use tailwind css + next js and drop postgres and use localstorage
@GatewayITTutorials
@GatewayITTutorials 4 месяца назад
Or they could've just used the CockroachDB 🤷
@mikebailey783
@mikebailey783 4 месяца назад
Your example about Atomic-ness at 34:20, is essentially what was going on in the Post Office’s Horizon IT system. Scary.
@piotrlewandowski
@piotrlewandowski 3 месяца назад
"imagine if the average game dev had to care about assembly" - we used to, in 8-bit and 16-bit era :)
@hypergraphic
@hypergraphic 4 месяца назад
Damn that is impressive. Here we are at work just using sqlite 😂 if we had 1/10 of the scale of Figma I would just use CockroachDB as their replication and scaling story is pretty good. But at a certain scale it's more database engineering than product development and unless that's your jam I'm sure most engineers wouldn't want to do that.
@rapzid3536
@rapzid3536 4 месяца назад
This video was not sponsored by Citus.
@rookandpawn
@rookandpawn 4 месяца назад
I would love an analysis between what figma did and what Uber did which primogen talked about seems like they were tackling similar things would be great if we could get a deep dive on a compare and contrast
@dcomella
@dcomella 4 месяца назад
is putting years into scalling postgres really worth the effort instead of migrating to a different database type?
@Asdayasman
@Asdayasman 4 месяца назад
Never disagreed with you quite as much as this video. DBA is a real job for a real reason. Game devs DO need to care about machine level stuff because games are incredibly performance sensitive. Your devs should have to know their tools or have a team to ask about them if they're too complex. The role of DBA has not been automated yet. Also strikes me as weird that Figma chose to shard at the table level when one user is likely concerned with their own projects and nothing else, so they'll be doing a lot of joins across tables, but basically no aggregation over projects. Splitting by project, user, or group of users seems way more sensible. (Á la noSQL databases). Honestly I'd be curious about a relational solution for the user/org data, and have projects be in a noSQL database. E: re-read the article myself, they didn't simply put one table in one database and one table in another like you explained, my speculation is irrelevant.
@ManShoutingAtClouds
@ManShoutingAtClouds 4 месяца назад
The game dev call out was a real strange one indeed. Is the only game dev he knows indie devs?
@Asdayasman
@Asdayasman 4 месяца назад
@@ManShoutingAtClouds In the past when I've been making a point about a topic I'm not too confident with, I've come up with really bad examples. I can see that being the case here. Theo isn't an expert in the backend, and appears to not know a great deal about game dev, but because he's an excellent front end dev he reached for one to talk about the other.
@StingSting844
@StingSting844 4 месяца назад
There's a 100% chance that there's a video coming out next from Theo based on these comments 😄
@shashix
@shashix 4 месяца назад
another cloud service promotion video
@YoghurtEquity
@YoghurtEquity 3 месяца назад
Okay kid, that's dangerous misinformation. I'm a "newbie" database engineer but even I know PostgreSQL does scale very well. Worrying for my fellow "newbie" developers who are watching this, believing his BS, and being misled.
@einrealist
@einrealist 4 месяца назад
I wonder whether Figma would have been better suited with CQRS at this scale, and have more flexibility over how the query side is built. It doesn't eliminate the need to scale out, but it adds much more flexibility.
@ignrey
@ignrey 4 месяца назад
Gotta love haters, they know which fights to pickup..
@ryanquinn1257
@ryanquinn1257 4 месяца назад
Dang of all the takes it seems going after the elephant did you in 😂 Nikita from Neon DB would be a cool talk of how they scaled postgres
@JaysonMinard
@JaysonMinard 4 месяца назад
hello Citus. why isn't that mentioned in the first 2 minutes
@medilies
@medilies 4 месяца назад
{"Diskile" : 1, "notifications" 0, "follow": 0}
@tommycard4569
@tommycard4569 4 месяца назад
Will Figma become a DB company now as well?
@Halfjera
@Halfjera 4 месяца назад
Have they discovered... normalisation? I refuse to believe they had a single table with everything in it.
@modernsolutions6631
@modernsolutions6631 4 месяца назад
Why do you come to that conclusion?
@MrZiyak99
@MrZiyak99 4 месяца назад
prolly going the face the same issue at my org soon. citus, a postgres extension is an attractive option does what figma did but better. not sure why it was not considered
@josecanciani
@josecanciani 4 месяца назад
I wonder why they didn't use Presto/Trino for the DbProxy.
@GiovanniOrlandoi7
@GiovanniOrlandoi7 4 месяца назад
Great video! Also really nice article by Figma.
@Joolzt
@Joolzt 4 месяца назад
*most* companies don't hit these problems.
@BenGamble7
@BenGamble7 4 месяца назад
The game Dev point is kinda off... The same way that figma is NOT the average scale of design app, most teams at studios pushing consoles are have a few people who always care about assembly, AND a few who care about DX / Opengl translation.
@MattHudsonAtx
@MattHudsonAtx 4 месяца назад
Postgres scales great, but i use Crunchy Data to scale it even more
@drifzzts
@drifzzts 4 месяца назад
looks like someone needs to run some benchmarks
@roycrippen9617
@roycrippen9617 4 месяца назад
IDK why but every time you say "sharding" my brain hears "sharting".
@asdasdaa7063
@asdasdaa7063 4 месяца назад
azure cosmos db for postgresql exists....
@ScottMaday
@ScottMaday 4 месяца назад
Theo is hyper fixated on the need for scale when in reality most companies just need customers
@sierragutenberg
@sierragutenberg 4 месяца назад
Postge´res my beloved
@razajamil2534
@razajamil2534 4 месяца назад
Isn't this basically an in-house DynamoDB that's more in tune with their business constraints? Basically it doesn't matter what db you use (Dynamo uses Mysql) but you need this key/sharding layer on top of it that have varying consistency guarantees depending on your use case.
@tschorsch
@tschorsch 4 месяца назад
DynamoDB does not use MySQL. RDS for MySQL is Amazon's MySQL database. DynamoDB is a NoSQL database which can be a key-value or document store. It was written mostly in Java.
@edgecrush3r
@edgecrush3r 4 месяца назад
Figma scaled their business by 100x but expect our free and opensource DB to have all of xyz requirements 😂 instead they could have contributed to the project, but no, just complain and post a blog. Well done self-entitled heroes of the industry.
@quelqunderandom6143
@quelqunderandom6143 4 месяца назад
You realize Figma staff has contributed to PGSQL right? In the same vein: - "expect our free and opensource DB to have all of xyz requirements " that's not what is bein said, it's an explanation of what they went through and how it could be upgraded.
@RandomGeometryDashStuff
@RandomGeometryDashStuff 4 месяца назад
05:58 cursor theme changed!?
@errormaker1
@errormaker1 4 месяца назад
I be horizontal sharting
@MrAtomUniverse
@MrAtomUniverse 4 месяца назад
It's overly complicated, ScyllaDB and it's resolved
@b1ueocean
@b1ueocean 4 месяца назад
Postgres / Citus / Spock DB wars ended ages ago 🤷‍♂️
@ivanh1821
@ivanh1821 4 месяца назад
Sponsored by...
@tasmto
@tasmto 4 месяца назад
FigJam > Excalidraw I'm right...
@nyanray
@nyanray 4 месяца назад
Not gonna get baited to comment on the "wHy ARe DbS noT bEtTer" angle. Nice try, though. Interesting insights into the frontend perspective though!
@floriansalihovic3697
@floriansalihovic3697 4 месяца назад
They‘re building a design tool so why do they need to think about databases… I expected more.
@ondrabystron6704
@ondrabystron6704 4 месяца назад
FE guys just don't want to get hands dirty with databases
@naughtiousmaximus7853
@naughtiousmaximus7853 4 месяца назад
They would scale much better if they used Nextjs for backend.
@DannyTube69
@DannyTube69 4 месяца назад
something something cassandra db something something
@dandogamer
@dandogamer 4 месяца назад
Havent watched the video and probably wont. I just come here for the comments seeing as Theo has the worst takes when it comes to anything outside JS. But after reading the blog I'm wondering if it would have been beneficial to have tried to also migrate the data to another database at the same time they're doing this. I'm particularly fond of cockroach DB and know for a fact it would have done what they needed to achieve. They've spent over 1.5 years and not even got to the stage of supporting cross transactions and built this big complex bit of software. But hey atleast its bought them job security for the next 5 years aha
@t3dotgg
@t3dotgg 4 месяца назад
We have pretty much the same take here lol
@dandogamer
@dandogamer 4 месяца назад
@@t3dotgg hahaha 😅🤪 well this is what I deserve for not watching! But I love to read through it and make my own opinions :)
@beefbox
@beefbox 4 месяца назад
Yeah, let's use a database that doesn't allow altering columns that are part of indexes, potentially breaking all data migrations, and blocks for 3-4ms on a query on one node instance with a live collaboration app. It will surely go well!
@dandogamer
@dandogamer 4 месяца назад
@@beefbox I'm gonna bet the query parser they added has added more than 3-4ms on each query
@beefbox
@beefbox 4 месяца назад
@@dandogamer those 3-4ms are just for the blocking not for the running of the query itself
@Frexuz
@Frexuz 4 месяца назад
Dear youtuber. Please highlight words as you read, or move ur move. You did a bit, but often not 🙏🏻
@andy_ppp
@andy_ppp 4 месяца назад
Just give every project a new database, should solve everything… then use Kafka or something for reporting rather than queries. You’re welcome 😂
@vcokltfre
@vcokltfre 4 месяца назад
Postgres my beloved
@MattHudsonAtx
@MattHudsonAtx 4 месяца назад
It's just absurd to listen to frontend guy talk such rot on postgres
@elhaambasheerch7058
@elhaambasheerch7058 4 месяца назад
Even figma? Bro....
@blackfrog1534
@blackfrog1534 2 месяца назад
Amazing article by Figma and an amazingly big L take by this clown
@hamzakhiar3636
@hamzakhiar3636 4 месяца назад
Wait so figma a design platform can't do contrast good 🥲🥲
Далее
My browser got hacked and it cost me $2,000
21:40
Просмотров 57 тыс.
The Only Database Abstraction You Need | Prime Reacts
21:42
ТАРАКАН
00:38
Просмотров 306 тыс.
"Когти льва" Анатолий МАЛЕЦ
53:01
Cool Tools I’ve Been Using Lately
23:11
Просмотров 322 тыс.
TorontoJS Tech Talk [ ONLINE ] Episode 08
1:20:42
Dear Oracle, it's time to free JavaScript
24:25
Просмотров 75 тыс.
We need to talk about "founder mode"
44:16
Просмотров 47 тыс.
I've been using Redis wrong this whole time...
20:53
Просмотров 360 тыс.
Was the PS2 "Emotion Engine" over hyped?
17:14
Просмотров 606 тыс.
How Notion Cut Latency by 20%
19:00
Просмотров 58 тыс.
Go isn’t secure?!? feat. Low Level Learning | 053
51:14
Are You Accidentally Crippling Your EF Core Queries?
17:18