Reddit Programming
200 subscribers
1.22K photos
126K links
I will send you newest post from subreddit /r/programming
Download Telegram
Caching Beyond Redis: Real-World Strategies That Don’t Break Your System
https://www.reddit.com/r/programming/comments/1sv664k/caching_beyond_redis_realworld_strategies_that/

<!-- SC_OFF -->In the article, I break down:
• why caching is really a trade-off between speed and correctness
• when to use in-memory cache, Redis-style distributed cache, and CDN caching
• cache-aside, write-through, write-back, and read-through with real examples
• cache invalidation, stale data, and cache stampedes
• when caching is the wrong solution entirely <!-- SC_ON --> submitted by /u/anant94 (https://www.reddit.com/user/anant94)
[link] (https://commitlog.cc/posts/caching-beyond-redis) [comments] (https://www.reddit.com/r/programming/comments/1sv664k/caching_beyond_redis_realworld_strategies_that/)
Quickly restoring 1M+ files from backup
https://www.reddit.com/r/programming/comments/1sxy05v/quickly_restoring_1m_files_from_backup/

<!-- SC_OFF -->Back in 2016, we faced a technical challenge implementing a restore for a large number of files (million or more) from a backup. We had to restore them both quickly and durably, meaning the restored files had to survive a power loss. Neither of the standard approaches worked, so for the solution we had to rely on a couple of undocumented NT internals. <!-- SC_ON --> submitted by /u/axkotti (https://www.reddit.com/user/axkotti)
[link] (https://blog.axiorema.com/engineering/quickly-restoring-1m-files-from-backup/) [comments] (https://www.reddit.com/r/programming/comments/1sxy05v/quickly_restoring_1m_files_from_backup/)