hi,
About this configuration : MariaDB + Php 5.6 + Php-FPM + Zend Opcode ,it should be more better mariadb+php 7+php FPM + ZEND OPCODE.
Php 7 it`s twice as fast as php 5.6,and will be released soon,except that is does not work with Memcached.
Mariadb is the future choice as google and wikipedia,already adopted it.
Joomla configuration must be tweaked up in order to work with memcached.
Zend opcode cache is only good when used with PHP FPM,else it won`t give the wanted results.
Innodb is more good to be used instead of Myisam,in order to scale and if you have high traffic or alot of stuff in that database.
My experience with k2 component i guess you all now this component i used before i use easyblog 5,i did have k2 with over 200k items on it,the tables was myisam ,the problem started when the table was mostly over 100k items,it did continued to crash constantly.
The table was myisam,in order that easyblog to not make the same mistake,i do relate my bad history about this,when they release 2.6.8 they did go to InnoDb,the problem it was the the innodb would be applied only in new installation,not on upgrade from k2 2.6.7 to 2.6.8 for example.
As the table on my side did remain MYISAM,the crashing did continued all over again.
The server admins advised me to convert those tables into InnoDb,in order to be able to take the traffic and solve the problem,all good,but on that time i was using mysql 5.5 witch does not know some variable: get full text ,and some tables did have that variable.
Only from mysql 5.6 innodb knows about the get full text variable from myisam and can be converted.
When i did upgrade to mysql 5.6,all went wild,on an dedicated machine with 8 threads and 4gb of ram,the cpu was at 100% all the time,thing that makes impossible to operate any changes or stuff .Cpu is :Intel Xeon Quad Core 2.5GHz (8 threads)
Later on i find it out ,that it was an query unoptimized from k2 that was doing the whole mess.
I was forced to upgrade to mariadb,i did that,and it was an great surprise,because the cpu was high but it drop down to about 70% when using mariadb,and i was able to correct and fix the problem.
After fixing the problem,the cpu was down to 0.5 -0.3 cpu usage.
I did use this version of mariadb : 10.0.21-MariaDB ,and on it :Easyblog5,komento and easydiscuss.
I think that in order to scale,in future version stackideas should think on this :
-How to use InnoDb instead of Myisam
-how to use innodb but to not do same mistake as k2 did done,and the tables were not converted on upgrade to the newest version of k2.
Mostly they did not done this,because they writed in an blog post "crappy host " ,but the real problem i think is not the crappy host,i think the upgrade won`t be possible from myisam to innodb,if your running mysql 5.5,as you need mysql 5.6 in order to convert that variable from myisam to innodb,and that can cause an real problem.
I think something most done,like for example in the release,to be mention:the tables will be upgrade to innodb only if you have mysql 5.6 in your server and not mysql 5.5 ,if mysql 5.5 is detected,it should remain Myisam,in order to not break the things on that website.
Joomla is using Innodb,joomla will be php 7 compatible on 1st december,they will release it then,hopefully with php 7 with opcache+php fpm,things should be alot more better.
Jannik,you wroted that SSD file for cache is more good then Memcached,memcached as you writed more up and is corectly : "Memcached is fantastic for Database, because it means that it doesnt have to run common queries from scratch over and over again. It retrieves them from the cache" is corectly,in joomla we have cache handler and sesion handler,as memcached does not work with php 7,as host mostly does not have ssd because the price is still high on ssd comparated to normal hard disk,what do you think it will be solution for handling session and cache handler?
From what i know basically memcached stored things into the RAM,witch is way more faster then using the cpu.
The problem is what you do if you have 1 milion html let`s say simple html text+images no videos?How much of your Ram it will eat up that ?
If you store them as file on your side,it will eat up of your hard drive space from your server,if you don`t have enough disk space,this might not be an suitable solution .
What i was thinking is,if somehow this cache can be deployed on an SSD on CLOUD ? Instead of using your server space for file cache.
As with cloud practically you can scale as you grow,but on an dedicated machine,you have some resources,but those resources might not be enough as you grow and if you wish to grow.
If you grow,it does not mean neccesary that you make more money,it means that you just grow,and it can mean that you have to spend more on resources in order to run things out else you might shutdown your whole website.
I think that togheter,we definetely should find an solution to this problem,in order to be able to scale things at minimum cost,or cost that are paid based on the grow,so you can do some plans and estimation of price,else the project might fail.
And this can be leveraged after that with using CDN for example cloudflare cdn witch is free or others.
I saw an nice option on jomsocial called : Remote Storage ,and in there you can setup,were you can store the files into :local server or amazon s3 and on right you can configure the amazon s3 settings and bucket .
Except that amazon lunched early this year,amazon cloud drive :
https://www.amazon.com/clouddrive/home/, witch is :
Unlimited Everything
Securely store all of your photos, videos, files and documents for just $59.99 per year.
Is an very good price,but i wonder,if this cloud drive or others can be integrated with joomla,or stackideas products,in order for example to not keep those files into your server,to keep them into the cloud,as practically you can`t scale and grow without cloud.
Maybe this option of remote storage can be added on easyblog 5,easy social ,or even both amazon s3 and amazon cloud drive.
If cloud integration is being made,it can really make an difference and help that business owner to grow his site,along with stackideas products.