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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Asynchronous Database Access in Ruby

9 点作者 bdotdub超过 16 年前

1 comment

tptacek超过 16 年前
There's a strong urge to come up with a Rails stack that's end-to-end async, that looks and tastes like Rails but automagically performs 10x faster.<p>I'm not saying that's irrational, but it's not necessarily the best way to meet speed targets. Database queries are not immune to the 80/20 rule. You find the queries that are killing you, you factor them into handlers that run straight SQL async handlers, and you keep standard ActiveRecord for the vast majority of your code that isn't performance sensitive.