Flashcards

Quick study sessions to strengthen memory and retain key concepts.

Flashcard Study

Java: Continuous Integration

Front

Purpose of Maven in a Java project?

Maven manages project builds and dependencies. Maven automates the build process and handles dependencies for Java projects, ensuring…

View Card →
Flashcard Study

Java: Continuous Integration

Front

What is dependency mocking?

Mocking simulates external dependencies in tests. Mocking is used to create objects that simulate the behavior of real…

View Card →
Flashcard Study

Java: Continuous Integration

Front

Why automate tests in a CI pipeline?

Automated tests ensure consistent and quick feedback on code changes. Automating tests in a CI pipeline allows developers…

View Card →
Flashcard Study

Java: Project Reactor: Mono

Front

What are the trade-offs of using WebFlux vs Virtual Threads in a reactive system?

WebFlux is non-blocking, while Virtual Threads mimic blocking behavior with lightweight threads. WebFlux provides a non-blocking, event-driven architecture,…

View Card →
Flashcard Study

Java: Project Reactor: Mono

Front

Why does backpressure in reactive streams, especially with Mono matter in practice?

Backpressure controls data flow to prevent overwhelming the consumer. In reactive streams, backpressure is a mechanism to manage…

View Card →
Flashcard Study

Java: Project Reactor: Mono

Front

Why is it important to avoid blocking the event loop in reactive applications?

Blocking the event loop can cause performance bottlenecks. The event loop in a reactive application must remain free…

View Card →
Flashcard Study

Java: Project Reactor: Mono

Front

How can Mono be used to handle database calls without blocking the system?

Mono allows asynchronous data fetching without waiting for the result. In a reactive system, you should avoid blocking…

View Card →
Flashcard Study

Java: Project Reactor: Mono

Front

How does Project Reactor's Mono help in building non-blocking applications?

Mono represents a promise of 0 or 1 item without blocking. Mono is a core component in Project…

View Card →
Flashcard Study

Java: Project Reactor: Mono

Front

Avoiding Event Loop Blocking in Reactive Systems?

Blocking the event loop can lead to performance issues. In reactive applications, blocking the event loop, such as…

View Card →
Flashcard Study

Java: Project Reactor: Mono

Front

Mono vs. Flux: Key Difference?

Mono is for zero or one item, while Flux is for zero to many items. Mono and Flux…

View Card →