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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Using MySQL as a NoSQL - A story for exceeding 750,000 qps on a commodity server

169 点作者 davecardwell超过 14 年前

6 条评论

mike-cardwell超过 14 年前
Neat. I didn't know you could do anything like that with MySQL. Does Postgres have an equivalent? I wouldn't move from an SQL DB to a NoSQL key/value store without a significant performance improvement. Seems like you can tune MySQL far more than I realised...
评论 #1886307 未加载
评论 #1886159 未加载
评论 #1886265 未加载
评论 #1886317 未加载
jtdowney超过 14 年前
Interesting that bypassing the SQL part of MySQL would increase performance by that much. In the comments he says that prepared statements would still be slower but it would be useful to see some numbers on his hardware to compare with.
评论 #1886227 未加载
mhd超过 14 年前
So, if you're bypassing most of the bits of an RDBMS, what do you actually gain? Is the InnoDB storage engine that much superior compared to other products? Or is it about the management and admin features, e.g. sharding, replication?
评论 #1886393 未加载
评论 #1886359 未加载
评论 #1886539 未加载
评论 #1888171 未加载
robinhouston超过 14 年前
There was a little discussion when this article was posted here three weeks ago: <a href="http://news.ycombinator.com/item?id=1807527" rel="nofollow">http://news.ycombinator.com/item?id=1807527</a><p>(OT: under what circumstances are duplicate submissions allowed? There's nothing in the FAQ or the Guidelines.)
评论 #1887107 未加载
tmountain超过 14 年前
Pretty cool. It seems this kind of hack would also integrate well into the Drizzle project as it's designed for light weight pluggable storage. I'm curious if this has any impact on thread buffers and the number of clients MySQL can accept. It's great to be able to perform 750k QPS, but if you're still limited to a few thousand clients, other solutions may be preferable.
bluesnowmonkey超过 14 年前
Cool project. It's great to see people doing things like this. On the other hand, I don't know that it would be useful for many people. Note this caveat near the end.<p>&#62; No benefit for HDD bound workloads<p>Which is most workloads.<p>The author cites the expense of memory as the drawback to memcache. It's true, a large pool of dedicated memcache machines can be quite expensive. However, the given technology only works when the database fits in memory. If the database fits, then a cached subset of it certainly will fit as well. So memcache will only use a single server. One server is not a major expense compared to overhauling an application to marry it to a custom MySQL extension.<p>Also consider what happens if the database ever does grow beyond memory capacity. If you're using memcache, you might just need to add more cache servers. With HandlerSocket you'd have to... switch to memcache. Then add more cache servers.
评论 #1887351 未加载
评论 #1886820 未加载