Memcached support
Include memcache and settings for ram etc as standard.

Since Plesk Onyx you will be able to install memcache as a Docker container and configure http(s) proxy rule for it to map to your web app.
Docker and proxy rules are available in Plesk Onyx Preview already, you can try it here https://talk.plesk.com/threads/plesk-onyx-preview-and-feedback.337172/
SE
-
Mate commented
Please, do not tell us to use Varnish or NGinx...
Please just provide memcached as a php settting for 7.0, 7.2 and 7.2, this is all we need !
Thanx -
Fube commented
No, not something like docker...
That's the worst implementation. -
Jan Löffler commented
sure Jan, with pleasure! We launched Plesk Onyx 17.8 last month which comes with free NGINX caching. You can control all cache settings easily by domain from the Plesk UI. Based on our intensive benchmarks with Varnish, NGINX, Memcached, Redis, WordPress Caching plugins (e.g. WP Super Cache, WP Rocket, W3 Total Cache) NGINX had the best out-of-the-box results. This is why we integrated it. With Varnish we achieved the very best results, but it requires a lot of experience in tuning. To simplify the very best caching, we just launched "Speed Kit" today which is Varnish and CDN based with an additional super efficient In-Browser Caching. This Pro Extension for Plesk was build with a Partner of Plesk that have put 30 man years in caching experience into the product. The result ist amazing. I would be very interested in your feedback!
-
Jan commented
Hi Jan L, you mentioned to "expect a new experience around caching in March 2018". This is now one month ago, can you elaborate a bit more if we can still expect this and how this experience should look like?
thanks
Jan -
Anonymous commented
Docker also doesn't work with CloudLinux. The Docker solution is nowhere good enough!
-
Jan Loeffler commented
@Armin: We'll deliver something that suits your needs. Expect a new experience around caching in March 2018.
-
[Deleted User] commented
Dear All
i have a similar setup, i am not allowed to run a extra vm inside my vm.
thereforce i please you to also add a other option to run this without the overhead of a extra vm(docker) only to run ONE similar service more on a server, which usally runs on a debian/ubuntu based system which leads only to add one more service physically -
Ingrid commented
You could also install it on an different machine!
GO FOR BARE METAL PHP70, 71, 72 !!
-
Jan commented
@Wack Docker is supported in Virtuozzo 7. If you can convince your provider to upgrade Virtuozzo you can also use Docker with Plesk.
-
Wack commented
Docker container are not working in some virtual environments. Our Provider uses Parallels Virtuozzo and it is not allowed to use Docker because of trouble with Virtuozzo . So Docker doesn´t help us.
-
Ann commented
BARE METAL! - do it and do it php7 ;-)
otherwise we could start an VM inside the VM with a Docker inside handling memcached :-D
-
Chris commented
With so many websites now being powered by web applications like WordPress, it just seems like Memcached should already be a extension option in the Plesk Php extensions. I really hope this gets treated more seriously and added as soon as possible.
-
Rene commented
I can´t use memcache as a Docker container, because Docker is not working on the VM
-
Anonymous commented
+1
-
Gareth commented
Need memcached in php7-fpm support in plesk.
-
Benjamin Hodgetts commented
That's not really the same thing and, for customers that aren't as savvy, isn't really suitable. Having memcache as a PHP module should be simple and there's nothing (technically) stopping it being added to existing Plesk 12 setups.
-
dreamer22 commented
dont forget to vote for this one
More options for Nginx-
https://plesk.uservoice.com/forums/184549-feature-suggestions/suggestions/12244482-provide-more-nginx-options -
Benjamin Hodgetts commented
Unless Couchbase is a "drop-in" replacement for PHPs Memcache(d) modules then that wouldn't be viable at all.
Our customers need PHP's Memcache module specifically, not something entirely different because the software they want to use (e.g. off-the-shelf CMS systems or plugins for those CMS) need it or offer additional functionality when PHP's Memcache implementation is available.
-
Jay Owen commented
i would suggest to use couchbase to supply memcached services. it would be easier to integrate and is protocol compatible with memcached.
It would also allow the plesk node to participate in a couchbase cluster (possibly using other plesk nodes as members)- meaning a plesk node can reboot and the cache would not need to be re-saturated.
if you have many sites that rely on caching on a single node, this is helpful, as cachestorms from a reboot could cripple a dense plesk node. -
H.K commented
A user should be able to run his own redis/memcached instance under panel hosting settings.
A version of redis/memcached should be supported under plesk updates and upgrades.
Maybe an option to view OPCACHE stats here would also be awesome. Covering all caches in a section under hosting.
A user should be able to run more than 1 redis instance or the host should be able to limit this, as per hosting package.
A user would click the redis/memcached (all under cache header) section under hosting settings.
On a new page, the top menu would read.
New Redis instance, Delete Redis instance
or
New Memcached instance/Delete memcached instance.
The redis/Memcached instances would be shown in a list on this page, if possible some stats. Like Hits. Hit rate. Cache Size etc.
An instance can be started or stopped or cache cleared under this menu.
It should be possible to edit cache ram size and other settings here. Similar to editing an SQL database in Plesk.
Clicking the 'New Redis/memcached instance'. Will Create a box asking for Port, Instance name and other relevant settings.
If possible hits percentage, memory usage, peak memory usage, and key in store could be displayed per Redis instance.
Caching is really missing in Plesk Right now. Loads of people use it, the performance gains are well worth it, and these are all open source apps. Many of us are already running them on plesk servers. Im running both on mine.
Code for redis stats below
<?php
$fp = fsockopen('127.0.0.1', 6379, $errno, $errstr, 30);$data = array();
if (!$fp) {
die($errstr);
} else {
fwrite($fp, "INFO\r\nQUIT\r\n");
while (!feof($fp)) {
$info = split(':', trim(fgets($fp)));
if (isset($info[1])) $data[$info[0]] = $info[1];
}
fclose($fp);
}
?><html>
<head>
<title>Redis statistics</title>
<style type="text/css">
body {
font-family: arial,sans-serif;
color: #111;
}div.box {
background-color: #DFA462;
width: 200px;
height: 200px;
text-align: center;
margin: 6px;
float: left;
}div.key {
font-weight: bold;
font-size: 42px;
}div.detail {
text-align: left;
}div.detail span {
width: 90px;
padding: 2px;
display: inline-block;
}div.detail span.title {
text-align: right;
}
</style>
</head>
<body><div class='box'>
<div>Percentage hits</div>
<div class='key'><?php echo round($data['keyspace_hits'] / ($data['keyspace_hits'] + $data['keyspace_misses']) * 100)."%";?></div>
<div class='detail'>
<span class='title'>Hits</span>
<span><?php echo $data['keyspace_hits']; ?></span>
</div>
<div class='detail'>
<span class='title'>Misses</span>
<span><?php echo $data['keyspace_misses']; ?></span>
</div>
</div><div class='box'>
<div>Memory usage</div>
<div class='key'><?php echo $data['used_memory_human'];?></div>
</div><div class='box'>
<div>Peak memory usage</div>
<div class='key'><?php echo $data['used_memory_peak_human'];?></div>
</div><div class='box'>
<div>Keys in store</div>
<div class='key'>
<?php
$values = split(',', $data['db0']);
foreach($values as $value) {
$kv = split('=', $value);
$keyData[$kv[0]] = $kv[1];
}
echo $keyData['keys'];
?>
</div>
</div>
</body>
</html>