dongwaner1367 2010-07-08 09:42
浏览 14
已采纳

哪种解决方案可以选择更好的性能?为什么?

I want to know which language either php an interpreted language or Asp.net a compiled language to be adopted in the following scenario for better performance and why? Scenario: A business to business portal has to be made which will face 10,000+ users per hour traffic.

  • 写回答

4条回答 默认 最新

  • dongrendang6566 2010-07-08 09:52
    关注

    Hard question, not much information... by the books ASP.net compiled language will give you a small boost on performance rather than an interpreted language like old asp, php, etc.

    The reason behind that is that compiled languages are quicker as they have already compiled everything versus a php page that has to be read and compiled on the fly. But PHP has also some tricks to improve speed by compiling it...

    At the end the speed of ASP.NET and PHP should be the same.

    So this shouldn't be your main issue. You should have to focus instead on:

    1. Having an scalable web site that allows you to have several web servers in a cluster to allow your site to handle all the users

    2. Trying not to use session variables if possible to make easier the cluster

    3. DB stuff
    4. Price (if you are going to need a cluster of 5 web servers and 3 DB Servers, 5 Linux, 5 Apaches & 5 Postgres licenses are really less expensive than 7 Windows 2003 Servers + 3 SQLServer 2008)
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(3条)

报告相同问题?

悬赏问题

  • ¥20 求各位懂行的人,注册表能不能看到usb使用得具体信息,干了什么,传输了什么数据
  • ¥15 个人网站被恶意大量访问,怎么办
  • ¥15 Vue3 大型图片数据拖动排序
  • ¥15 Centos / PETGEM
  • ¥15 划分vlan后不通了
  • ¥15 GDI处理通道视频时总是带有白色锯齿
  • ¥20 用雷电模拟器安装百达屋apk一直闪退
  • ¥15 算能科技20240506咨询(拒绝大模型回答)
  • ¥15 自适应 AR 模型 参数估计Matlab程序
  • ¥100 角动量包络面如何用MATLAB绘制