Speedup: How much faster a parallel version runs compared to the sequential one, ideally close to the number of cores used. Speedup measures how much faster a task runs in parallel compared to running it sequentially. If a job takes 60 seconds on one core and 15 seconds on four, the speedup is four.
In practice it is almost always lower than the number of cores. Part of the work cannot be split, workers must coordinate, and they may compete for the same database or disk. Amdahl's Law describes the limit set by the part that stays sequential.
What should you keep in mind with Speedup?
Measure before adding parallelism. Adding queue workers or threads helps until a shared resource becomes the bottleneck, and after that more workers just wait longer. If doubling the workers barely changes the total time, look for that bottleneck, which is often the database or an external API's rate limit.
Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design. Use this skill when designing clean architecture for a new microservice, when refactoring a monolith to use bounded contexts, when implementing hexagonal or onion architecture patterns, or when debugging dependency cycles between application layers.