
Persisting Gemini chat sessions with Spring AI and Redis
Persist multi-turn Gemini chat sessions in Redis with Spring AI 2.0.1 MessageChatMemoryAdvisor, sliding windows, and a RediSearch metadata fix.

Persist multi-turn Gemini chat sessions in Redis with Spring AI 2.0.1 MessageChatMemoryAdvisor, sliding windows, and a RediSearch metadata fix.

Combine Spring AI 2.0.1 streaming, Project Reactor Flux, and Server-Sent Events to cut time to first token to 0.3s while keeping multi-turn ChatMemory.

Configure spring-ai-starter-model-google-genai in Spring Boot 4 and Spring AI 2.0.1 for synchronous text generation and structured Kotlin DTO mapping.

Issue a Google AI Studio API key, claim the $10 monthly Google Developer Program credit from Gemini Pro, and verify Tier 1 standard billing with curl.
Why readOnly JPA transactions leak to Primary in Spring Boot 4.0, how LazyConnectionDataSourceProxy fixes routing, and how replication lag breaks reads.
Comparing naive RENAME COLUMN against Expand-Contract on PostgreSQL 18 and Flyway 11.14, with lock wait metrics, backfill caveats, and safe DDL ordering.
Benchmarking a Caffeine L1 and Redis L2 cache across two JVM instances, measuring Pub/Sub invalidation latency, dropped messages, and versioned sweeps.
Reproducing Redis cache stampede, penetration, and avalanche locally and measuring DB hits with mutex, PER, null caching, Bloom filters, and TTL jitter.
Design order-domain business metrics in Spring Boot 4 with Micrometer and OTel, control tag cardinality, and jump from Grafana panels to traces via exemplars.
Build an OpenTelemetry Collector pipeline in a homelab with Tempo, Loki, Prometheus remote write, and bearer token auth behind Nginx Proxy Manager.