Grokking Microservices Design Patterns
Vote

0% completed

​

Performance Implications and Special Considerations

While the Bulkhead pattern undoubtedly enhances the resilience of our distributed systems, like every design pattern, it comes with its considerations and potential pitfalls. Understanding these is critical to using the pattern well and avoiding undesired side effects.

Performance Implications

Useful Work Continues

The main gain of the Bulkhead pattern is that useful work continues during a failure. As we saw in the Java example, one slow service no longer stops the rest. The risk of the whole service stalling because of one bad dependency drops sharply.

.....

.....

.....

Like the course? Get enrolled and start learning!
Sila Setthakan-anan

Sila Setthakan-anan

· 2 years ago

In the previous chapter, we discussed about createOrder works with inventoryService.checkAndUpdateInventory and shippingService.scheduleShipping with multi-thread.

(https://www.designgurus.io/course-play/grokking-microservices-design-patterns/doc/bulkhead-pattern-a-example#The%20Bulkhead%20in%20Action)

And also this chapter mentioned error handling, but I cannot imagine the real-world error handling.

What if checkAndUpdateInventory error while scheduleShipping passed, how can we handle error and respond value to let users know or how can we handle to make them finish both?

Show 1 reply

Reading Progress

0%


Vote for new content