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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: What are exactly, High Performance Web Applications?

6 点作者 zedzedzed将近 13 年前
Recently, while chatting, I came across my freinds discussing about high performance web apps, having heavy number crunching ability on both client and server side. Exactly what are these applications? Where are they used?

1 comment

Donito将近 13 年前
"High performance" is usually required when performance becomes a bottleneck to your applications. In the case of web apps, there's server side, and client side.<p>* Client Side: Rich/interactive application, which usually involve lots of Javascript. If not properly architect-ed and developed, inefficient code will run slowly and make the application hard to use. That's where "high performance" is needed. An example of such client-side applications could be Facebook. You client is handling the chat list, conversations, tickers, navigation (e.g. does not refresh), auto-scroll, and many many more client-side features. Having them all working seamlessly and smoothly running together is not a trivial task. Besides optimized javascript, there are other server-side details used to improve client-side performance such as using css sprites, caching whatever can be cached, minimizing/packing javascript, etc, etc...<p>* Server side: A lot of things are happening on the server. Again, depending on your application, performance bottleneck will appear that need to be fixed for the server to be able to handle the load in a reasonable time. Here are a few example of what those bottle necks could be, which would call for "high performance" measures: - A "really high" number of visitors on your site, generating a massive amount of requests to your server. - A "really high" amount of data is being stored/read in your database. - A "really high" number of simultaneous connection is required for your real time application. There are many more cases, but all the above will require careful selection of server-side technologies to allow your web application to function as intended, while minimizing cost, time, and processing power. (or whichever other variable your business cares about). An example of application faced with all the challenges above is again Facebook. They have to handle millions of users online potentially chatting (real-time), looking at pictures (high requests), and posting/reading comments non-stop (read/write to database).<p>Hopefully I've explaining "what are those application". Now when you ask "where are they used", I would reply "when they are needed" :)
评论 #4416678 未加载