lukaszlach / magento-docker

:whale: Bootstrap Magento 1.9 / 2.1 installation in Docker with fully integrated Kibana, Grafana, Portainer, cAdvisor, Prometheus, MailCatcher and more
22 stars 19 forks source link

Use Redis instead of Memcached? #7

Open brandontamm opened 6 years ago

brandontamm commented 6 years ago

Have you looked at using redis instead of memcached?

One less service with no performance impact as far as I know? Thoughts? I tried to adapt the PHP build to not include the memcached portion but I think there are more pieces interwoven into the project....

My initial attempt resulted in error - SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known

Also, any downsides to replacing varnish with NGINX caching instead?

brandontamm commented 6 years ago

Redis vs. Memcached:

Varnish vs NGINX

On Magento 1.9, I personally use Redis for Sessions, Cache and Full Page Cache. I have a seperate containers per type since Redis is not threaded.