Compiled PHP?

Does any person have experience collaborating with PHP accelerators such as MMCache or Zend Accelerator? I would certainly such as to recognize if making use of either of these makes PHP equivalent to faster internet - modern technologies. Additionally, exist compromise for making use of these?

0
2019-12-02 03:04:56
Source Share
Answers: 7

presently we make use of apc, free and also was simply a straightforward plug and also use our real-time web servers. Given a massive efficiency increase for our website, specifically as the task dimension raised. I additionally have the apc.stat impaired so it does not examine if the code has actually been upgraded, so whenever we require to upgrade the code on the real-time website we reactivate apache.

0
2019-12-03 04:45:02
Source

Depending on just how much of your PHP code is in fact implemented and also how much time that implementation takes they can be an actually big win. It absolutely isn't mosting likely to injure, yet the gain you see will certainly significantly rely on where your time is presently invested.

btw mmcache has actually been rolled right into a various task currently, I neglect the name yet Google will certainly inform you.

0
2019-12-03 04:38:35
Source

Both are intriguing and also will certainly give rate increase given that they compile resource code right into binary depiction which is after that implemented by the PHP engine.

Any kind of massive internet site keeping up PHP (Facebook as an example) is running some type of opcode cache system like MMCache.

The trouble is that they are not really simple to set up relying on your system.

0
2019-12-03 04:38:19
Source

MMCache has actually been deprecated. I advise either http://pecl.php.net/package/APC or http://xcache.lighttpd.net/, both of which additionally offer you variable storage space (like Memcache).

0
2019-12-03 04:38:05
Source

I made use of Zend Accelerator a little back then (2004 - ish). It absolutely offered some substantial performance wins on code it can collaborate with, yet however the system I was making use of was made to on a regular basis dynamically load code and afterwards eval it, which Zend Accelerator could not do a lot with at the time (and also I would certainly presume still can not).

On the downside, we absolutely saw some caching concerns (where the code would certainly be changes, yet the assembled variation sync with the adjustment for one factor or an additional). I visualize those troubles have actually likely been resolved now.

Anyhow, I do not have any kind of tough contrast numbers, and also absolutely really did not write the very same system in various settings for contrast, but also for the substantial bulk of systems, PHP isn't mosting likely to eliminate you performance sensible.

0
2019-12-03 01:57:00
Source

I make use of APC on my manufacturing web servers and also it functions rather well out of package. Compile it and also add it to PHP and also there isn't much tweaking entrusted to provide for it. I examine it every now and then simply to assess statistics yet given that I make use of MVC a whole lot every one of the major documents (routers, controllers, etc) hardly ever adjustment on a day - to - day basis to make sure that code remains assembled and also runs rather successfully.

0
2019-12-03 01:29:06
Source

Have you looked into Phalanger? It assembles PHP to.NET code. Below are some benchmarks which show that it can substantially boost efficiency.

0
2019-12-03 00:16:43
Source