PHP accelerator Rumi, November 11, 2012 Even though compilation is very fast, it still has a resource and time cost, especially on high-traffic servers. We can improve our response times by more than 5x by pre-caching our compiled opcode for direct execution later. There are a few PHP accelerators which accomplish this for us: Xcache Xcache is my favourite and is the one I use in my own configurations. It works by caching the compiled PHP opcode in memory so PHP can be directly executed by the web server without expensive disk reads and processing time. Many caching schemes also use Xcache to store the results of PHP rendering so individual pages don’t need to be re-processed. APC (Alternative PHP Cache) APC is a very similar product to XCache – in fact XCache was released partially as a response to the perceived lag APC’s support for newer PHP versions. APC is essentially the standard PHP Accelerator – in fact, it will be included by default in PHP 6. As much as I like XCache, it will be hard to compete with built-in caching. MMCache Turck MMCache is one of the original PHP Accelerators. Although it is no longer in development, it is still widely used. An impressive feature of MMCache is its exporter which allows you to distribute compiled versions of your PHP applications without the source code. This is useful for those companies that feel they need to protect their program code when hosting in client environments. eAccelerator eAccelerator picked up where MMCache left off, and added a number of features to increase its usability as a content cache. Over time, the content caching features have been removed as more efficient and scalable solutions like memcache have allowed caches to be shared across web servers. Keep Optimizing One major consideration that often goes forgotten when optimizing website speeds that not all of your visitors will be using a high-speed connection; some users will be using mobile or worse connections, even for non-mobile sites. Every ounce of speed will reflect favourably on you and improve your retention rates – and ultimately get more visitors to your ‘call to action’ goals. I’ll go into more detail about bigger speed improvements we can make in a later post. Related Administrations Configurations (Linux) cachememcachephp
Add Linux machine on LibreNMS October 28, 2017 Install SNMPD first SNMPd is not installed by default. You must first install snmpd. apt-get update apt-get install snmpd lsb -y Backup default snmp.conf file on the ‘/etc/snmp/’ directory and copy new one from the librenms directory. mv /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.asli cp /opt/librenms/snmpd.conf.example /etc/snmp/snmpd.conf or instead copy-paste below snmpd text Related Read More
PowerDNS: Rec Control September 11, 2011 make rec_control be more user friendly make wipe-cache accept non-dot terminated domain names make wipe-cache return count of wiped ('wopen'?) domains document best current practice when wiping (wipe more than www.domain, wipe domain as well) REC_CONTROL(1) ============== NAME —- rec_control – control pdns_recursor SYNOPSIS ——– 'rec_control' [–help] [–socket-dir] [–socket-pid] command… Read More
Endian Router Blocking IP on Public Interface November 20, 2016 You can make a general IP ban list. You need to go to Port forwarding / Destination NAT Create a new rule Click on the advanced mode Incoming IP: Type: Zone/VPN/Upllink. Select Uplink main – IP:All known. Incoming service port, Service: Any, Port: Any. In the Translate To section set… Read More