duanliang9288 2013-05-08 13:07 采纳率: 100%
浏览 61

apache(httpd)负载均衡[关闭]

I have reached a state in my research where I understood that a database-driven web app (portal) can be optimised by replication / scaling (even sharding for huge db) and employing a solution like mysql replication or clustering (Percona).

The following question came up in my head as I was thinking...

"Ok, so database can be safely distributed to users. But what happens if my powerful machine 4 x Xeon CPUs + 16GB ram (max avail in this pack i'm getting) cannot survive to http requests?"

How can one tackle the apache / httpd load-balancing ? Are there any solutions for it ? Maybe it's very simple, but I don't see one right now.

  • 写回答

1条回答 默认 最新

  • dsaaqdz6223 2013-05-08 13:14
    关注

    No, there are no "simple" solutions at this level.

    Although if it's only a research, but not a live site reaching this point - there is no point in theoretical musings. Every application has it's own bottleneck that have to be optimized, and there is no way to predict it just off your head.

    And HTTP daemon though seldom being a bottleneck. As a matter of fact, an HTTP daemon often being the very load balancer itself, distributing requests between several application backends and serving static files for all of them.

    评论

报告相同问题?

悬赏问题

  • ¥15 神经网络预测均方误差很小 但是图像上看着差别太大
  • ¥15 Oracle中如何从clob类型截取特定字符串后面的字符
  • ¥15 想通过pywinauto自动电机应用程序按钮,但是找不到应用程序按钮信息
  • ¥15 如何在炒股软件中,爬到我想看的日k线
  • ¥15 seatunnel 怎么配置Elasticsearch
  • ¥15 PSCAD安装问题 ERROR: Visual Studio 2013, 2015, 2017 or 2019 is not found in the system.
  • ¥15 (标签-MATLAB|关键词-多址)
  • ¥15 关于#MATLAB#的问题,如何解决?(相关搜索:信噪比,系统容量)
  • ¥500 52810做蓝牙接受端
  • ¥15 基于PLC的三轴机械手程序