Sourav Mansinghcuriousdisciple.hashnode.dev·Aug 25, 2024Java Caching Framework: Design, Implement, and OptimizeI've been searching for full-time opportunities as a Backend Software Engineer and have been attending many interviews that test my Java fundamental skills, system design concepts, and coding standards. To be honest, I've been struggling in these are...Discuss·37 readsJava
Chetan Dattachetan77.hashnode.dev·Aug 18, 2024LRU CacheDesign a data structure that follows the constraints of a Least Recently Used (LRU) cache. (link) Implement the LRUCache class: LRUCache(int capacity) Initialize the LRU cache with positive size capacity. int get(int key) Return the value of the ke...DiscussLeetcodeLRU Cache
Jimil Shahdev-diaries.hashnode.dev·Jun 16, 2024In-built memoization in Python with @functools.lru_cache()Memoization, in computer programming, is essentially an optimization technique wherein return values from a function are memorized/stored in a cache so that they don’t have to be computed again when required. Memoization makes your code faster and he...DiscussPython
Yilia LinforApache APISIXapisix.hashnode.dev·Jan 26, 2024Multi-layer Caching in API Gateway Tackles High Traffic ChallengesAs the use of APIs continues to grow in modern development, the demand for an efficient and reliable API gateway has also increased. The API gateway serves as the singular entry point for all incoming API requests, allowing them to be efficiently man...Discuss·1 likeshared dict
Mide Dicksonblog.withmide.com·Jan 12, 2024Building an LRU (Least Recently Used) Cache in GOHey there! I am sure you are ready to hop in and get your hands dirty with this interesting topic. But before we go into all that hard work, let me tell you about my very good friend, Emma. Emma works in a library, so every time I go there to get a b...Discuss·34 likes·231 readsGo Language
Alex Kangalexkang.hashnode.dev·May 3, 2023LRU Cache (LeetCode)Problem Description https://leetcode.com/problems/lru-cache/ Design a data structure that follows the constraints of a Least Recently Used (LRU) cache. Implement the LRUCache class: LRUCache(int capacity) Initialize the LRU cache with positive size ...Discussleetcode
Nishanth Prabhunishanthprabhu.hashnode.dev·Apr 22, 2023Implement a Cache with Time-to-Live (TTL)Problem Description You are building a backend service that needs to perform database lookups for various queries. However, the database is slow and it's not feasible to query it for every request. To speed up your service, you decide to implement a ...Discuss·62 readsJavascript Interview- The Hard PartsJavaScript
Samuel Sorialsamuel-sorial.hashnode.dev·Oct 27, 2022Database Buffer Pool - Part 2Introduction As explained in Database Buffer Pool - Part 1, a buffer pool is a limited chunk of memory, which means that whenever we bring something from the disk, we need to evict something from the buffer pool and replace it. Buffer replacement is ...Discuss·1 like·254 readsDatabasedatabase
Keshav Bistksvbist.hashnode.dev·Oct 2, 2022Implementing LRU Cache in GoIntroduction Least Recently Used (LRU) cache organizes recently added/accessed items at the front of the list while pushing the least used items to the back. The number of items that can be stored in the LRU cache is fixed, thus least used item is ev...Discuss·981 readsLEETCODE (GO)LRU Cache