dongpu3347 2012-10-20 04:42
浏览 23
已采纳

Zend Server会在这里有用吗? [关闭]

I am in the process of putting the finishing touches to a very complex webapp which will go into beta shortly. My PHP coding style involves writing scores of small scritps that get reused in different "container" scripts via require statements. In the past I have used eAccelerator to speed up my scripts and the results have been pretty impressive (I have commonly got improvements of x 4). However, the current app is in a different league and is liable to attract a far greater number of users than anything I have previously done. I am in the process of establishing just what I can do on the server to offer a fluid and fast user experience. I have never used Zend Server before (and it does have a steep asking price) so I thought it best to get some feedback on whether it might be able to help with any of the following

  • Continue to live with my "scores of used & reused PHP scripts" coding style and my mySQL database.
  • Offer better bug tracking/error reporting/monitoring
  • Accelerated performance
  • Profiling to identify the bits of my code that are taking the longest to execute/could do with tweaking etc.

I have just downloaded the trial Windows version of Zend Server to try out on my local WAMP installation. However, there are still only 24h in a day so before I embark on that it would be useful to know if I am barking up the wrong tree here. Any tips would be much appreciated.

  • 写回答

2条回答 默认 最新

  • dscjp19831212 2012-10-20 08:11
    关注

    In my opinion its definitely worth a try for you. It has some unique features you won't easily get with other configurations/products that could be beneficial in the future.

    To address your points:

    • Continue to live with my "scores of used & reused PHP scripts" coding style and my mySQL database.

      It certainly won't have a problem with your reused include files. More details when I get to performance.

    • Offer better bug tracking/error reporting/monitoring

      Yes. The code tracing feature is great for tracking down bugs. Through the management interface you can clearly see PHP error messages from all of your servers in one place without digging through log files.

    • Accelerated performance

      If you enable the bytecode cache you will see improved performance like you see with eAccelerator. The bytecode cache will make loading your frequently required scripts much faster than having PHP parse them on each request. In addition you can leverage the caching API to cache results of database queries (natively without having to set up something like Memcached or a file cache).

    • Profiling to identify the bits of my code that are taking the longest to execute/could do with tweaking etc.

      Code tracing gives you some of this which is especially helpful in a production environment. But you can always use something like XDebug or Zend Debugger for more advanced code profiling.

    Another nice feature is the session clustering. It sounds like it wont be long before you need to be running multiple web servers. When you do get to that point, making sure your PHP sessions are available to all servers wont be an issue and you won't have to set up a database or memcached session handler, you can use the Zend Server session manager which ensures if a server goes down, any session data created on that server will be available to the others.

    It's not like you can't get all of this stuff using other free products but depending on your budget and schedule it can streamline a lot of technical considerations and be managed by one product instead of having to support several products to ensure the operation of your site. If that has value for you then it may be worth considering.

    In addition, you can pay extra for support. I have no experience with Zend telephone support so I can't really comment on that but you have the option to have someone available to help.

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

报告相同问题?

悬赏问题

  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作