Complete the code to define a bulkhead with a fixed number of concurrent calls.
bulkhead = Bulkhead(max_concurrent_calls=[1])The bulkhead limits concurrent calls to 10 to isolate failures and control resource usage.
Complete the code to wrap a service call with a bulkhead to isolate failures.
result = bulkhead.[1](service_call)The 'execute' method runs the service call within the bulkhead's limits.
Fix the error in the bulkhead configuration to prevent unlimited concurrent calls.
bulkhead = Bulkhead(max_concurrent_calls=[1])Setting max_concurrent_calls to 5 limits concurrency and prevents resource exhaustion.
Fill both blanks to create two bulkheads isolating different services.
payment_bulkhead = Bulkhead(max_concurrent_calls=[1]) order_bulkhead = Bulkhead(max_concurrent_calls=[2])
Payment service is limited to 10 concurrent calls, order service to 20, isolating their failures.
Fill all three blanks to implement bulkhead isolation with fallback handling.
try: response = bulkhead.[1](external_service_call) except [2]: response = [3]()
Use 'execute' to run the call, catch 'BulkheadFullException' when bulkhead is full, and return a fallback response.