# Introduction In this project, you will learn how to implement a caching library that supports expiration time based on the `singleflight` package in Go. This caching library can be used in distributed systems to cache the execution results of requests, improving the performance of your application. ## ð Preview ``` $ /usr/local/go/bin/go test --race PASS ok cacheflight 1.263s ``` ## ðŊ Tasks In this project, you will learn: - How to initialize a Go module and install the required packages - How to implement the caching library using the `singleflight` package - How to test the caching library to ensure it works as expected ## ð Achievements After completing this project, you will be able to: - Understand the basic concepts of caching and the `singleflight` package in Go - Implement a caching library that supports expiration time - Integrate the caching library into your distributed system to improve the performance of your application
Click the virtual machine below to start practicing