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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: During the last week, I built a SPDY server.

85 点作者 sokrates超过 13 年前

5 条评论

pilif超过 13 年前
IMHO, SPDY should be implemented on the frontend servers like varnish, HAProxy or nginx. If you do SPDY on the backend server, you cause a lot of additional problems:<p>1) your backend servers should use their hardware for actually running the web application, not for encrypting responses.<p>2) usually, your backend servers only serve the dynamically generated content. SPDY's biggest advantage is that it would allow to handle multiple requests in one connection, but this really shines for static assets (images, stylesheets) which in turn are rarely served by the backend.<p>3) Even if you want to do SPDY on the backend, your frontend proxies still have to support it, because that's what the clients are talking to.<p>So as it stands now, having SPDY on the backend server (or even in your application like this project here) doesn't really give you any of SPDY's advantages unless you begin serving all of your site directly from your application servers, which we learned over the last years, just doesn't scale as well.
评论 #3423666 未加载
ndrarmst超过 13 年前
Great work. I'm not as up-to-date on SPDY servers as I should be, but this seems to be one of the few suited for non-trivial use cases.
MikeCapone超过 13 年前
Disclaimer: I am not a programmer or web guy.<p>Would this technology be beneficial to Hacker News? Is the site currently hosted on a SPDY-compatible server?
评论 #3422898 未加载
评论 #3423005 未加载
评论 #3423006 未加载
评论 #3423087 未加载
chetan51超过 13 年前
Stupid question, but what are the advantages of SPDY? And how should the average hacker use it?
评论 #3423359 未加载
WALoeIII超过 13 年前
This is great! Nice work!