dougu3290 2009-02-06 16:00
浏览 63
已采纳

Web应用程序的瓶颈?

This question pertains to Ruby on Rails and PHP. When looking for a VPS host for a web application (haven't decided which of the 2 languages to write it in yet), what should I take into consideration more? Memory or CPU? I know that you need a fair balance of both, but which wall will I run into first?

I'm sure it depends on the type of work the application is doing, and in my case its the normal CRUD. My guess would be memory, but I'd just like to make sure.

  • 写回答

7条回答 默认 最新

  • dongxia4880 2009-02-06 16:03
    关注

    I think the DBMS and the nature/number of the queries you will be making will be the most important consideration here, rather than anything pertaining to the language used. (Assuming the database is going on the same server)

    Unless you've got a very small dataset, memory is likely to be limiting before CPU.

    Also, you've not really specified what the combinations on offer are - so its hard to give an answer.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(6条)

报告相同问题?

悬赏问题

  • ¥15 数码管亮度控制器设计
  • ¥15 kafka客户端跨网段访问,看日志提示连接的还剩内网地址,且访问不通
  • ¥15 关于c语言代码的问题
  • ¥15 c51单片机控制步进电机
  • ¥20 Visual studio无法检测到设备
  • ¥30 vue 页面窗口放大或者缩小元素会变化
  • ¥15 questasim仿真报错
  • ¥15 寻找电脑攻防的导师,有问题请教一下。
  • ¥20 微信同是win11,我的电脑安装不了pageoffice,一直无法打开
  • ¥15 这个界面我通过postman请求不到,但是通过浏览器可以正常访问