Skip to content

Latest commit

 

History

History

04-non-blocking-cache

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Non-Blocking Cache

Implement a non-blocking cache that stores previously fetched responses from URLs. The cache should:

  • Return cached data if the requested URL has been fetched before.
  • Fetch and store new data asynchronously if the URL is not in the cache.
  • Ensure multiple concurrent requests for the same URL do not trigger multiple fetches.

Tags

Concurrency

Source