[TYPO3-core] FYI72: enhancements to memcached caching backend

Dmitry Dulepov dmitry at typo3.org
Wed Dec 3 21:30:30 CET 2008


Hi!

This is SVN patch request.

Type: enhancement

Branches: trunk

BT reference: http://bugs.typo3.org/view.php?id=9884

Problems:
1. memcached backend does not support connections through Unix sockets ("unix:///var/run/memcached.sock")
2. if memcached server is unavailable, this fact will be detected too late (when using get/set) and nasty error message will be shown

Solution:
1. enable support for Unix sockets (this is official way to do it, not a hack!)
2. use "connect" instead of "addServer"

Notes:
- tested on Mac OS X and SuSE Linux.
- it could be two separate RFCs but making two RFCs for such small changes does not really make sense

Karsten, please, check if you want to add it to FLOW3!

-- 
Dmitry Dulepov
TYPO3 core team
In the blog: http://typo3bloke.net/post-details/how_to_enable_memcached_cache_in_typo3_43/
My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 9884.diff
Type: text/x-diff
Size: 684 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20081203/e1f50781/attachment.diff 


More information about the TYPO3-team-core mailing list