memcache/memcached caching
- hydrapolic
- Member | 1
The memcached server can be in PHP accessed via:
http://php.net/…memcache.php (pecl-memcache)
or
http://php.net/…emcached.php (pecl-memcached)
Nette implements the MemcachedStorage cache via pecl-memcache. Now, if you
want to use PHP 7, only pecl-memcached provides a branch that can be built/used
with PHP 7:
https://github.com/…ed/tree/php7
If anybody wants to run a Nette application on PHP 7 with Memcached, a new caching storage can be introduced that will not use pecl-memcache, but pecl-memcached. However, the extension that uses pecl-memcache is called MemcachedStorage – how do we name the one that uses pecl-memcached?
Do we rename MemcachedStorage to MemcacheStorage? Or do we introduce MemcacheStorage that will use pecl-memcached to totally mix up things?
Thank you for your suggestions :)
- obertuckerz112
- Member | 3
Used by many companies and in countless mission-critical production environments, both Memcached and Redis are supported by client libraries in every conceivable programming language, and it's included in a multitude of packages for developers. In fact, it's a rare Web stack that does not include built-in support for either Memcached or Redis.
- obertuckerz112
- Member | 3
Memcached is an in-memory key-value store for small chunks of arbitrary data
(strings, objects) from results of database calls, API calls, or page
rendering.
Memcached is simple yet powerful. Its simple design promotes quick deployment,
ease of development, and solves many problems facing large data caches. Its API
is available for most popular languages.