highload-patterns

List of patterns to handle high load easily

Refresh-ahead caching

Caching data in app and update in background

Refresh-ahead caching Figure out example

curl --location --request GET 'localhost:8890/getPopularMovies'

More details about caching on system-design-primer

Do once, return it to everyone

Making work once by calculating and syncing by work hash

Singleflight Figure out example

curl –location –request GET ‘localhost:8890/getBook/100’

Worker pool

Preparing worker pool for parallel execution

Worker pool Figure out example

curl –location –request GET ‘localhost:8890/handle’

GitHub

View Github