Building a Spring AI STDIO MCP server in Kotlin
Configure a Spring AI Model Context Protocol (MCP) server over STDIO in Kotlin, expose CRUD methods with @Tool, and test it as a local JAR.
Configure a Spring AI Model Context Protocol (MCP) server over STDIO in Kotlin, expose CRUD methods with @Tool, and test it as a local JAR.
Benchmarking 100k-row inserts across JPA IDENTITY, pooled SEQUENCE, JdbcTemplate batchUpdate, and driver batch-rewrite options on PostgreSQL and MySQL.
Measuring offset vs. (created_at, id) keyset pagination on 5M PostgreSQL rows, including count query cost, execution plans, and OR-predicate index pitfalls.
Comparing Redisson RLock, Lettuce SETNX spin locks, and PostgreSQL advisory locks, and reproducing overselling caused by unlocking inside @Transactional.
Building weekly rankings and daily UV counters with Redis Sorted Set, HyperLogLog, and Lua, with memory, accuracy, and concurrency measurements.
Solve dual-write failures in Spring Boot and PostgreSQL using the Transactional Outbox pattern, FOR UPDATE SKIP LOCKED polling, and idempotent consumers.
Isolate external API outages using Resilience4j CircuitBreaker and Bulkhead in Spring Boot, covering sliding windows, aspect ordering, and Actuator metrics.
Configure connect, connection-request, and read timeouts in Spring RestClient with Apache HttpClient 5, tune pool limits, and test slow APIs locally.
Combine Fixture Monkey 1.1.12 KotlinPlugin, Jakarta Validation, giveMeKotlinBuilder, and Jqwik combine to generate valid domain data with shrinking.
Use Jqwik 1.9.3 and jqwik-kotlin to test invariants in booking and settlement logic, catching rounding and boundary bugs through automatic shrinking.