Flashcards

Quick study sessions to strengthen memory and retain key concepts.

Flashcard Study

Java: Distributed Tracing

Front

Why is it important to propagate Correlation IDs across microservices?

To maintain traceability of requests across services. Propagation of Correlation IDs ensures that all logs and diagnostic data…

View Card →
Flashcard Study

Java: Distributed Tracing

Front

How would you explain a Correlation ID in distributed systems in an interview?

A unique identifier passed through all service calls. In distributed systems, a Correlation ID is a unique identifier…

View Card →
Flashcard Study

Java: Distributed Tracing

Front

What does a correlation ID buy you?

End-to-end traceability of one request across multiple services and logs. Without a shared trace or correlation ID, distributed…

View Card →
Flashcard Study

Java: Circuit Breakers

Front

How does Docker support Circuit Breakers?

Docker provides isolation, ensuring Circuit Breakers can manage service failures effectively. Docker containers isolate services, allowing Circuit Breakers…

View Card →
Flashcard Study

Java: Circuit Breakers

Front

How would you explain a common mistake when configuring Circuit Breakers in an interview?

Setting thresholds too low or high, affecting system behavior. Incorrect threshold settings can lead to Circuit Breakers tripping…

View Card →
Flashcard Study

Java: Circuit Breakers

Front

How does Kubernetes enhance Circuit Breaker functionality?

It provides orchestration and scaling, complementing Circuit Breaker operations. Kubernetes supports Circuit Breakers by managing service replicas and…

View Card →
Flashcard Study

Java: Circuit Breakers

Front

Why does Circuit Breakers on JVM resource management matter in practice?

They help prevent resource exhaustion by managing failed service calls. Circuit Breakers prevent threads from being exhausted by…

View Card →
Flashcard Study

Java: Circuit Breakers

Front

How would you explain the potential consequence of not using Circuit Breakers in an interview?

It can lead to resource exhaustion and cascading failures. Without Circuit Breakers, failing services can cause threads to…

View Card →
Flashcard Study

Java: Circuit Breakers

Front

Why is the 'fail fast' strategy significant in distributed systems?

It conserves resources by quickly rejecting requests to failing services. The 'fail fast' strategy allows systems to quickly…

View Card →
Flashcard Study

Java: Circuit Breakers

Front

How can aggressive timeout settings in Circuit Breakers cause issues?

They can lead to premature tripping, affecting service availability. Setting aggressive timeouts can cause Circuit Breakers to trip…

View Card →