Scrivio Interview library

Articles

19 long-form articles on Java, Spring Boot, Kafka, databases and AI engineering. Each one is researched from named sources, which are listed at its end.

Career6 November 2026

What a forward deployed engineer does, and how to prepare

A forward deployed engineer is a software engineer who works inside the customer's organization rather than inside the product team. The job is to build and ship custom solutions...

12 min readRead the article
AI10 October 2026

Chain of Thought or ReAct: Choosing Between Them

A support queue needs priorities. Every incoming ticket has to carry a label, P1 through P4, before it reaches a human, and you have been handed the feature. Two implementations...

13 min readRead the article
AI10 October 2026

How LinTS and bandits choose models in an AI gateway

An AI gateway is a single endpoint that sits in front of several language models and forwards each incoming request to one of them. Model routing is the choice it makes on every...

12 min readRead the article
Kafka13 August 2026

How Kafka Rebalances a Consumer Group, Step by Step

The orders topic has six partitions. Consumer A owns 0 through 2, consumer B owns 3 through 5, and both are keeping pace with the write rate. Ahead of a traffic spike you start a...

13 min readRead the article
Kafka12 August 2026

How Kafka Handles Backpressure: Durable Log, Pull Consumers, Blocking Producers

send() is asynchronous in a specific and limited sense: it hands a record to an in-memory buffer and returns. When that buffer has no room, it does not return. A payments service...

14 min readRead the article
Kafka6 August 2026

Debugging Kafka in Production: Four Failure Modes and Their Parameters

The orders-events topic has 12 partitions, consumed by six instances of a payments-enrichment service. Roughly every five minutes, the group logs a rebalance, all 12 partitions...

15 min readRead the article
Databases2 July 2026

How Spring Data JPA, JPA, and Hibernate Work Together

Spring Data JPA is a Spring Framework module that lets Java backend developers query a relational database without writing SQL, by generating database access code from annotated...

13 min readRead the article
Databases1 July 2026

Tuning HikariCP in Spring Boot for High-Throughput Database Performance

HikariCP is Spring Boot's default JDBC connection pool. It maintains a fixed set of pre-opened database connections that application threads borrow, use, and return, eliminating...

16 min readRead the article
Spring Boot27 June 2026

How to Scale a Spring Boot App to 1 Million Requests Per Minute

Spring Boot is a Java framework for building web services, and its out-of-the-box configuration is tuned for developer convenience, not production throughput. This article...

17 min readRead the article
Kafka22 May 2026

Five Kafka Design Patterns Every Backend Engineer Should Know

Kafka is a distributed commit log. Producers append records to topics; consumers read those records independently, each maintaining their own offset into the log. Unlike a...

18 min readRead the article
AI22 May 2026

How Spring AI Works: LLMs, Embeddings, and RAG for Java Engineers

Spring AI is a Spring Boot framework that connects Java applications to LLMs and vector stores using the same dependency-injection patterns Spring developers already know. Your...

20 min readRead the article
Spring Boot22 May 2026

How Spring Security works with JWT, OAuth2, and SSO

Spring Security is a framework that intercepts every HTTP request entering your application and enforces authentication and authorization rules before that request ever reaches a...

14 min readRead the article
Kafka21 May 2026

The Gap Between @KafkaListener and Reality

An engineer adds spring-kafka to the pom.xml, drops @KafkaListener(topics = "orders") above a method, points it at a broker, and watches messages flow into the logs within ten...

25 min readRead the article
Spring Boot21 May 2026

30 Seconds of Nothing: Why Spring Boot's Startup Log Tells You Almost Nothing

You audit every @PostConstruct method. You strip out the ones doing redundant work. You rerun the app, watch the terminal, and see: Started Application in 34.2 seconds. That...

16 min readRead the article
Spring Boot21 May 2026

Why Your Spring Boot Service Stalls at 80K RPS (And It's Not the Hardware)

This tutorial walks through a sequence of architectural changes that can take a Spring Boot service from a typical ceiling of 50-80K requests per second to over 1M RPS, without...

17 min readRead the article
Java21 May 2026

From Java 8 to Java 25: A Language Growing With Intent

Paste code from a Java 21 project into a Java 8 codebase and almost nothing will compile. Records, sealed interfaces, pattern-matching switch expressions, text blocks, none of it...

22 min readRead the article
Spring Boot21 May 2026

Five Spring Boot Patterns That Prevent Production Failures: Configuration, Shutdown, Async, Circuit Breaking, and Health Probes

Spring Boot is an opinionated framework for building Java services quickly, it auto-configures your web server, data source, and application context so you can focus on writing...

17 min readRead the article
Spring Boot20 May 2026

The Silent Override: When Your @Bean Definition Loses Without a Fight

The application starts in 4.2 seconds. No stack traces. The banner prints, the actuator health endpoint returns UP, and the Hikari pool reports ten idle connections. Then the...

13 min readRead the article
Spring Boot20 May 2026

The Moment the Magic Breaks

It's 4:47 PM on a Thursday. You've added one more @Autowired field to a service that has worked for eighteen months, restarted the app, and the console hits you with:

19 min readRead the article