
Assoc Tech Lead @Zinnia. Breaking down high-scale system design, enterprise Java realities, and production post-mortems. Building for the long haul.
Joined April 2026
- Tweets745
- Following160
- Followers19
- Likes199
Pinned Tweet
18+ years in enterprise software taught me one core truth:
Frameworks evolve, but the fundamentals of high-throughput, multi-tenant architecture never change.
From monolithic Java to Spring Boot microservices and AI-accelerated workflowsβhere is my journey. π
1
2
186
π§ AI System Design | Day 05/09
π· Microservices & GPU Pools
Scaling GPU nodes on CPU utilizationβor running batch embeddings alongside live chat on the same GPUsβburns cloud budget and spikes p99 latency.
How to architect GPU poolsπ§΅π
#Java #SpringBoot #AISystemDesign
1
1
25
2/ Three production rules for GPU pools:
β’ Autoscale on KV-cache saturation & pending token queue depthβnever host CPU %
β’ Isolate batch document ingestion from real-time chat with separate pools & bulkheads
β’ Use continuous batching (vLLM) to maximize GPU throughput
1
4
3/ Full runnable Spring Boot 3 Microservices & GPU Pool routing sample:
π github.com/ArivuBuilds/java-β¦
Tomorrow (Day 06): Event-Driven AI Pipelines.
2/ Three production rules for GPU pools:
β’ Autoscale on KV-cache saturation & pending token queue depthβnever host CPU %
β’ Isolate batch document ingestion from real-time chat with separate pools & bulkheads
β’ Use continuous batching (vLLM) to maximize GPU throughput
π€ Made with AI
1
1
7
3/ Full runnable Spring Boot 3 Microservices & GPU Pool routing sample:
π github.com/ArivuBuilds/java-β¦
Tomorrow (Day 06): Event-Driven AI Pipelines.
π€ Made with AI
9
Sunday Tech Trend:
In 2026, production AI stopped being a prompting problem.
It is now a distributed systems architecture problem.
Here are the 3 control-plane shifts separating demos from production π
π€ Made with AI
1
2
12
3/ Bounded Guardrails > Unguarded Agents
Reliability in tool-calling & reflection loops comes from strict JSON schemas, timeout budgets, and deterministic halting rules.
That's AI-Augmented Engineering: human architecture in control.
#AIAugmentedEngineering #AIDesign
π€ Made with AI
1
10
I've been implementing and stress-testing these exact patterns in Java 21 + Spring Boot 3.3.x (layered RAG, model gateways, and bounded agent loops).
Explore the open-source playbook:
github.com/ArivuBuilds/java-β¦
6
π§ AI System Design | Day 04/09
ποΈ MVC in AI Applications
Dumping raw prompt strings, chat history & LLM SDK calls inside @RestControllers creates untestable spaghetti and exhausts DB pools during slow streams.
Clean AI MVC boundaries π§΅π
#Java #SpringBoot #AISystemDesign
π€ Made with AI
1
10
2/ Three critical rules for stateful AI MVC:
β’ Never wrap an LLM call in @Transactionalβcommit DB work before & after streaming
β’ Bound chat memory with a token-aware sliding window
β’ Version prompts like code & unit-test rendering offline
π€ Made with AI
1
4
3/ Full runnable Spring Boot 3 AI MVC sample + Mermaid diagrams:
π github.com/ArivuBuilds/java-β¦
Monday (Day 05): Microservices & GPU Pools.
π€ Made with AI
7
π§ AI System Design | Day 03/09
ποΈ Layered RAG Architecture
Naive Top-K vector search fails in productionβmissing exact policy IDs, leaking across tenants & stuffing noisy context into prompts.
Hereβs how a 4-stage Layered RAG funnel fixes it π§΅π
#SpringBoot #AISysDsgn #RAG
π€ Made with AI
1
1
16
2/ Why Hybrid + Reranking wins:
β’ BM25 catches exact policy codes & error IDs that embeddings miss
β’ Cross-encoder reranking trims 20 noisy chunks down to 4 high-signal passages
β’ Low-confidence threshold short-circuits the LLM to prevent hallucinations
π€ Made with AI
1
5
3/ Full runnable Spring Boot 3 Layered RAG pipeline + diagrams:
π github.com/ArivuBuilds/java-β¦
Tomorrow (Day 04): MVC in AI Applications.
π€ Made with AI
5
π§ AI System Design | Day 02/09
ποΈ Client-Server AI & Model Gateways
In-process ONNX works for small CPU models. Scaling to multi-GB LLMs & GPUs needs a Model Gateway to prevent scattered keys, vendor lock-in & runaway token bills π§΅π
#Java #SpringBoot #AISystemDesign
π€ Made with AI
2
22
2/ Three non-negotiable guardrails at the Model Gateway:
β’ Rate-limit by Tokens-Per-Minute (TPM), not just RPM
β’ Circuit-break degraded endpoints & fail over to secondary models
β’ Enforce PII masking, central API key vault & non-blocking SSE timeouts
π€ Made with AI
2
15
3/ Full runnable Spring Boot 3 Model Gateway sample + diagrams:
π github.com/ArivuBuilds/java-β¦
Tomorrow (Day 03): Layered RAG Architecture.
π€ Made with AI
8




