Questions tagged [memcached]

Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects). It is commonly used as a cache to speed access to frequently used data.

Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects). It is commonly used as a cache to speed access to frequently used data.

390 questions
1
vote
1 answer

Having Memcache and Memcached installed and enabled at the same time

Can I use both Memcache and Memcached php extensions on the same server at the same time? Just to be clear so you dont misunderstand what I mean by this question, here is my scenario: I have both Joomla and phpbb for my website. Joomla provides…
Neel
  • 1,441
  • 7
  • 21
  • 35
1
vote
1 answer

Memcached Pool - Outtage causes increased lag in response time

I have multiple cache servers which are added to a virtual pool at the PHP layer via the Memcached::addServers() api. During fault tolerance testing I noticed that taking one of the memcached servers offline caused the response times of the…
Mike Purcell
  • 1,708
  • 7
  • 32
  • 54
1
vote
1 answer

PHP - Memcached - Libmemcached - Handle cache server outage

I am working on ensuring our app degrades gracefully in case of a complete cache outage, which is highly unlikely, as we have minimum of at least 3 cache nodes to add to the cache pool, by way of PHP's memcached addServer api call. However, it is…
Mike Purcell
  • 1,708
  • 7
  • 32
  • 54
1
vote
1 answer

Nginx memcached_pass directive unknown

I am setting up a new server instance on AWS and have run into something I don't know how to handle. I've set up exactly the same config on digital ocean before and there issue does not occur at all. When I execute nginx -t to check the config, I…
Gesias
  • 113
  • 4
1
vote
2 answers

Nginx and its caching systems. Are they all the same?

I'm a bit confuse about PageSpeed, Microcaching and Memcached. Are they just different tools that do the same job? I was initially thinking in use PageSpeed with Nginx. If I do that, do I need microcaching? And how about memcached?
Daniel
  • 193
  • 1
  • 6
1
vote
1 answer

memcache and memcached session not persisting

so I am having a problem with sessions persisting in an application, that is using the memcached php driver, while another existing application is using the memcache driver. On the server, I see both are installed I also see in the php config that…
Alexo
  • 11
  • 2
1
vote
1 answer

PHP sessions in memcache - secure session path

Memcached is fine for sessions as I read. But what safe? Today we have more clients on one server. Every virtual host have own session.path. This is safe to prevent read sessions from other domain. But what memcache? Is it possible read session from…
Pavel
  • 417
  • 1
  • 7
  • 17
1
vote
1 answer

memcached works differently on two servers

I have a dev and a testing environment that (ostensibly) are set up the same, but code that works on the dev server doesn't work on the test server. I've narrowed it down to memcached. The dev environment is using memcached and that works fine; but…
tmountjr
  • 163
  • 7
1
vote
1 answer

PHP-FPM save sessions in memcached

I'm trying to switch my session_handler to memcached, I'm not sure if it worked, it does not look like it did. vi /etc/php5/fpm/php.ini session.save_handler = memcached session.save_path = unix://run/memcached/memcached.sock /etc/init.d/php5-fpm…
Daniel W.
  • 1,609
  • 4
  • 26
  • 48
1
vote
0 answers

Why is memcache not functioning with elgg in debian 7?

I am moving a php website (built using elgg - www.elgg.org) from a CentOS server to a different Debian 7 server and have installed memcached + php5-memcache on both. I have recreated all the necessary setup steps that I am aware of on the Debian 7…
tunist
  • 53
  • 1
  • 9
1
vote
1 answer

Memcached is slowing down the website in VirtualBox

I noticed our web project (Drupal) runs slower when it's using memcached in the virtual box. The page load time is more the twice as fast without memcached. I haven't noticed any unnatural memcached behavior. The virtual box is (using…
itarato
  • 129
  • 4
1
vote
1 answer

New Relic Memcached plugin installation location - App server or memcached server(s)?

We have the New Relic PHP agent running on our 8 app servers. we have two memcached servers and would like to add the New Relic/ Meet Me Memcached plugin to grab memcached metrics. Should the memcached plugin be installed on the app servers or…
1
vote
1 answer

Should I install memcached on my Level 3 VPS?

I have a Level 3 VPS Linux server from Hostgator that I pay $50/month for. I know nothing about servers, but I'm aware this isn't the cheapest around, but far from the most expensive. On the domain in question, I have a WordPress blog with a pretty…
Jason Weber
  • 163
  • 2
  • 8
1
vote
4 answers

Cheap scaling techniques using open-source software

What are your favourite techniques to improve scalability of highly websites? I have compiled the following list for techniques I've used using open-source tools: 1.) Caching full-page reverse-proxy to avoid hitting appserver: Varnish 2.)…
knorv
  • 1,799
  • 6
  • 19
  • 29
1
vote
1 answer

Different memcached instance per user, with authentication

I am writing a script which will allow each and every cPanel user to run an instance of memcached on their own. The script at this point is starting the daemon for every user on a different port. However I would like to set a username and a…