YiliaforApache 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
Dickson Sosanyablog.midedickson.work·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·229 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 ...Discuss·47 readsleetcode
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·112 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·363 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·1.1K readsLEETCODE (GO)LRU Cache