Posts

Showing posts from May, 2013

Getting started with redis

Start with http://openmymind.net/2012/1/23/The-Little-Redis-Book/ Browse the redis docs More: Using Redis instead of memcached: http://oldblog.antirez.com/post/redis-as-LRU-cache.html   https://developer.mozilla.org/en-US/docs/Mozilla/Redis_Tips Redis failover: http://stackoverflow.com/questions/9223840/redis-fail-over  

Managing & Monitoring Redis

http://stackoverflow.com/questions/8614737/what-are-some-recommended-tools-to-monitor-a-redis-database http://snmaynard.com/2013/01/22/redis-masterclass-part-two-monitoring-redis/ https://github.com/antirez/redis-sampler http://www.quora.com/Redis/What-are-5-mistakes-to-avoid-when-using-Redis : on using redis as a db-replacement

Add feedly to chrome RSS readers

Name: Feedly URL: http://www.feedly.com/home#subscription/feed/%s

Importing photos and videos into mac

Camcorder Movies (iMovie) Connecting External Movie camera * make sure iPhoto -> preferences -> General: "Connecting camera opens" is set to 'No Application'. * if iMovie asks to create thumbnails for iPhoto on startup -> allow it do so  (otherwise it won't detect the camcorder) Plugin camcorder to iMovie (and create disc on camcorder) -> import videos from camera window which will pop up in iMovie Saving Videos select 'Share' -> 'Export Movie...' (= better quality than quicktime exports) Saving Photos from Video select 'Share' -> 'Export Movie using Quicktime' : * Export: 'Movie to Image Sequence' * Options: JPEG, frames per second = 30 iPhone Movies and Pictures open the 'Image Capture' application: * select a folder and press import or import all -> imports both videos and pictures

memcached stats

http://blog.elijaa.org/index.php?post/2010/12/24/Understanding-Memcached-stats-cachedump-command

Memcached Internals

http://martinfitzpatrick.name/article/control-memcached-from-the-command-line http://work.tinou.com/2011/04/memcached-for-dummies.html : "Memcached is LRU per slab class, but not globally LRU" "Which brings me to another point, items/chunks are not actively reclaimed/expired.  Memached does not have a background thread that explicitly expires items, reclaiming used chunks for new items.  When a slab needs a chunk and there are no more pages, Memcache will look at the queue tail for items to evict.  Memcache will make a best effort to evict expired items (items you've explicitly set to expire after some time).  In scenario 1, item 2, an expired item, is evicted.  However, in scenario 2, item 1, which has not yet expired, will be evicted, even though item 4 would seem like the better candidate.  But since item 4 is not near the tail, Memcached stops looking and just expires item 1." http://highscalability.com/strategy-break-memcache-dog-pile...