alekseykorzun / memcached-wrapper-php
Optimized PHP 5 wrapper for Memcached extension that supports dog-piling, igbinary and local storage
Installs: 62 047
Dependents: 2
Suggesters: 0
Security: 0
Stars: 28
Watchers: 4
Forks: 7
Open Issues: 0
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2024-11-13 09:25:18 UTC
README
Optimized PHP 5 wrapper for Memcached extension tested and proven to perform under high concurrency conditions on modern websites including but not limited to:
- CollegeHumor
- Vimeo
- Lot18
- Dorkly
- Jest
- Todays Big Thing
- Image Socket
Features
- Optimized Memcached settings out of the box
- Gracefully handles expiration of cached resources via single request to prevent dogpiling
- Adjustable local storage integration to avoid duplicate lookups during run time
- Automatically switches to IgBinary support if IgBinary is enabled
- 100% phpDocumentator 2 code coverage
- 100% PSR-2 code coverage
- Composer friendly package
Usage
If you have your autoloader, update namespaces and drop the files into your frameworks library.
For people that do not have that setup, you can visit http://getcomposer.org to install
composer on your system. After installation simply run composer install
in the parent
directory of this distribution to generate vendor/ directory with a cross-system autoloader.
Please see Examples directory for a simple run down of functionality.
Additional information
Memcached: http://pecl.php.net/package/memcached IgBinary: http://pecl.php.net/package/igbinary