简体   繁体   English

有人用过HipHop for PHP吗?

[英]Has anyone used HipHop for PHP?

I was wondering if anyone here has used HipHop ? 我想知道这里是否有人使用过HipHop If so what do you think about the technology? 如果是这样,你怎么看待这项技术? Is it real world? 这是现实世界吗? What problems have you run into? 你遇到了什么问题? Should I compile my production application using HipHop? 我应该使用HipHop编译我的生产应用程序吗?

Yes, my team was there at Facebook HQ before release and have messed around with it here and there since. 是的,我的团队在发布之前就已经在Facebook总部工作了,并且从那时起就已经搞好了。 There are a number of things that simply don't work in HipHop.. conditional includes, eval(), and other similar aspects. 在HipHop中有很多东西根本不起作用。条件包括,eval()和其他类似的方面。 Remember, that this is more of a way to improve performance via a better deployment method. 请记住,这是通过更好的部署方法提高性能的更多方法。

If you only have a single server, definitely don't use it. 如果您只有一台服务器,绝对不要使用它。 Deploying the compiled app - which can easily hit 1GB - takes your server down for a brief period. 部署已编译的应用程序(可轻松达到1GB)会使您的服务器暂停一段时间。 If you're using a handful of servers, it probably doesn't make much sense either... a 50% cpu load decrease doesn't save you much. 如果你使用的是少数服务器,它可能也没有多大意义...... 50%的CPU负载减少并不能为你节省太多。

If you have dozens or even more servers, then it makes lots of sense. 如果你有几十台甚至更多的服务器,那么它很有意义。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM