Define saga pattern.
A design pattern for managing distributed transactions by breaking them into smaller, manageable steps.
True or false: Rate limiting prevents too many requests from overwhelming a service.
TRUE
It helps maintain service availability and performance.
What is fan-out/fan-in?
A pattern where a single task is distributed to multiple workers and results are aggregated.
Fill in the blank: Cache-first strategy retrieves data from _______ before checking the source.
the cache
What does multi-synchronous refer to?
A design pattern where multiple tasks are processed simultaneously, improving performance.
Define rate limiting.
A technique to control the number of requests a user can make to a service in a given time.
True or false: Saga pattern can only be used for synchronous operations.
FALSE
It can manage both synchronous and asynchronous transactions.
What is the purpose of cache-first strategy?
To enhance performance by prioritizing cached data over fetching from the original source.
Fill in the blank: In fan-out, tasks are distributed to _______ workers.
multiple
What is a key benefit of multi-synchronous processing?
It reduces overall processing time by executing tasks concurrently.