且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

nginx的/阿帕奇/ PHP VS nginx的/ PHP

更新时间:2023-02-16 18:27:13

nginx的一定会努力比Apache快。我不能告诉FastCGI的,因为我从来没有使用nginx的,但这种解决方案似乎让几个服务器(一个静态的内容,一个是FastCGI的/ PHP)更有意义。

nginx will definitely work faster than Apache. I can't tell about fastcgi since I never used it with nginx but this solution seems to make more sense on several servers (one for static contents and one for fastcgi/PHP).

如果你真的瞄准性能-and甚至认为C / C ++ - 那么你应该试用一下G-WAN,全在一台服务器提供(非常快)C脚本

If you are really targeting performance -and even consider C/C++- then you should give a try to G-WAN, an all-in-one server which provides (very fast) C scripts.

不仅G-WAN有一个可笑的小内存占用(120 KB),但它像秤没有别的。有工作在你前面,如果你从PHP迁移,但可以用性能关键任务启动并逐步迁移。

Not only G-WAN has a ridiculously small memory footprint (120 KB) but it scales like nothing else. There's work ahead of you if you migrate from PHP, but you can start with the performance-critical tasks and migrate progressively.

我们已经取得了跳跃,不能考虑回去的Apache!

We have made the jump and cannot consider to go back to Apache!