TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Evernote blog: WhySQL?

150 点作者 grifaton大约 13 年前

14 条评论

mapleoin大约 13 年前
Does anyone have a link to a decent comparison between MySQL and PostgreSQL? I'm really wondering why so many people use MySQL, even though it supports a lot fewer SQL features than PostgreSQL.
评论 #3624468 未加载
评论 #3624393 未加载
评论 #3625910 未加载
评论 #3624444 未加载
评论 #3625635 未加载
评论 #3624405 未加载
评论 #3624469 未加载
评论 #3625182 未加载
j_col大约 13 年前
Very interesting to see them bucking the trends, I love his closing line:<p>"But we’re relatively satisfied with sharded MySQL storage for Evernote user account metadata, even though that’s not going to win any style points from the cool kids."<p>Indeed, hipsters beware!
opendomain大约 13 年前
There are other reasons to choose NoSQL For example, when Craigslist was using mySql and they had to change their schema, it took MONTHS to facilitate the change across all their slaves. You can also have a mixed strategy of using both RDBMS and NoSQL to achieve consistency while being able to be flexible to architecture changes. Lastly- have you looked at total overal cost? Setting up a large cluster with mySql will have a large operational cost and it may not be partition tolerant so if the wrong servers go down, it may cascade to your whole data store.
评论 #3624822 未加载
评论 #3625875 未加载
评论 #3624779 未加载
评论 #3628689 未加载
评论 #3628683 未加载
评论 #3624685 未加载
dabeeeenster大约 13 年前
It helps that they have a perfectly shardable product I guess.
评论 #3624669 未加载
zv大约 13 年前
tldr - it works, we don't care about "being cool"
评论 #3624665 未加载
fkn大约 13 年前
Can anyone explain the following bit: "They’re cleanly partitioned into 20 million data separate data sets, one per user."<p>Does it mean they have a database per user? That can't be right is it?
评论 #3625134 未加载
评论 #3625234 未加载
评论 #3625356 未加载
评论 #3625116 未加载
评论 #3625027 未加载
trustfundbaby大约 13 年前
I get where they're coming from, but I do find this to be a little smug :)<p>See, they haven't run into problems with their setup, as per, MySql 'just works' for them.<p>What would be interesting and educational (for me anyway) would be a situation where folks that ran into serious problems with their SQL setup despite doing the 'right things' persevered where conventional knowledge would have them switch to a NoSql solution.<p>tldr; Dog bites man article, would love to hear from someone that actually struggled with a SQL solution and soldiered on.
bitdiffusion大约 13 年前
The notebook/note example is weak - in a nosql database you need to design your data structure appropriately to get the level of atomicity you require.<p>Storing an entire notebook in a single document would be the most obvious. I use postgres all the time and sql is great, but poo-pooing nosql because it wouldn't work with your relational structure is not the best idea. Also - I have found a hybrid between nosql (mongodb) and sql (postgres) is ideal - who says you need to use a single database?
评论 #3624456 未加载
评论 #3624451 未加载
评论 #3625197 未加载
artsrc大约 13 年前
If the replication is asynchronous then SQL databases are not durable. So the most important feature of SQL databases generally isn't one.
oacgnol大约 13 年前
I can imagine that while Evernote has a lot of data to store, it doesn't have the massive amount of concurrent reads that might occur with an equally large web app. Do they publish numbers on read/write usage?
EtienneK大约 13 年前
The biggest news to me was that they are using MySQL.
shingen大约 13 年前
It's amazing how when you focus on proven (but supposedly boring or old) technology that just works, and works very well, you can devote a lot of other resources to the actual product and usability.<p>Maybe it's the 30 year old in me showing, but I'm sticking with the 'it just works' crowd. Until some other approach provides a staggeringly overwhelming reason to switch. I find scaling up with MySQL to be ridiculously easy, allowing me to focus my time elsewhere. Ram, bandwidth, and fast storage have gotten substantially cheaper in the last few years, making it that much easier and cost effective to throw hardware at scaling up. For 99.9% of the Web, those hardware resources are expanding in value much faster than traffic is increasing.<p>(It's understood other developers find it just as easy to take a different approach)
评论 #3624748 未加载
评论 #3624562 未加载
jbverschoor大约 13 年前
That was the worst "why we still use mysql"-post ever.
4ad大约 13 年前
This article is very weak, they insist a lot on ACID, but those are completely orthogonal concepts from SQL. Most NoSQL products are ACID.<p>Also, the example itself is very weak as bitdiffusion below pointed out.
评论 #3626230 未加载