如何最大化服务器性能? [英] How do you maximize server performance?

查看:52
本文介绍了如何最大化服务器性能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直试图深入了解性能和可扩展性,并想知道开发人员/系统管理员正在做什么来充实他们的系统.为了使答案标准化,如果您能尽最大努力回应以下任何一项,将会有所帮助:

I have been trying to get my head around to understanding performance and scalability and would like to know what developers/sysadmins are doing to juice their systems. To standardize the answers, it would help if you could take your best shot at responding to any of the following:

  1. 个人资料 - Joomla 上的杂志出版物;CodeIgniter + OpenId + AJAX 上的工作板
    • 性能 - 每台服务器每秒的最大请求数?
    • 硬件 - 服务器、路由器、磁盘、局域网?
    • 软件 - Lighttpd、Memcache、Varnish、Nginx、Squid、Pound、LVS、eAccelerator 等
    • 服务 - Amazon S3、Akamai、Google 计算等
    • 配置 - 静态哈希、上游模块、n 个请求后 x 分钟的 Memcache、禁用日志图像请求等.
    • 其他 - 还有别的吗?(例如,规范化表对读取量大的网站不利)
  1. Profile - Magazine publication on Joomla; Jobs board on CodeIgniter + OpenId + AJAX
    • Performance - Maximum requests per second per server?
    • Hardware - Server, router, disk, LAN?
    • Software - Lighttpd, Memcache, Varnish, Nginx, Squid, Pound, LVS, eAccelerator, etc.
    • Services - Amazon S3, Akamai, Google compute, etc.
    • Configuration - Static hashing, Upstream module, Memcache for x minutes after n requests, Disable logging image requests, etc.
    • Other - Anything else? (example, normalized tables bad for sites with lots of reads)

请在关闭此问题之前重新考虑as it is 重要 网络开发人员寻找这些东西.程序员可以调整他/她的代码中的分号,但仍然会输给为 memcached 编写的糟糕编码人员或设法将 CDN 通过 Google App Engine.

Please re-consider before closing this question as it is important to web developers to seek out this stuff. A programmer could tweak the semicolons out of his/her code but still lose out to a bad coder writing for memcached or managing to put together a CDN via Google App Engine.

推荐答案

没有具体的性能优化总体规划(比如先从软件xyz"开始).

一般方法:

  1. 通过改进/投入的时间确定(衡量!)您最可改进的实体
  2. 优化它
  3. 重复

这篇关于如何最大化服务器性能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆