3 ms·
> If I can look at a method My resistance to the term "Premature optimization" is generally not about optimizing single methods, but usually either about optim
by trashtester 4y ago
> If I can look at a method
My resistance to the term "Premature optimization" is generally not about optimizing single methods, but usually either about optimizing how to split an application up to modules (services, classes methods) or about what technology to use for each component.
For instance, if you have an "inner loop" or basic computation unit that requires you to do several REST requests to other services (serially, with little room for parallelism) where it would have been possible to maintaina few hashmaps locally in your service with the same data, you may easily take processing time from 1 hour to 1 week for some computation task.
With some experience, you should be perfectly capable of undersanding this way before defining how to split your workloads up into microservices.