top of page


Tutorials, Errors and Exceptions
Its a journey to understand things better. It will have tutorials, any error/exceptions encountered, its resolutions and lots of learning.

Search


CCA-F Domain 2: Tool Design and MCP Integration - Key Concepts
As we discussed in the previous post on Domain 1-Agentic Architecture and Orchestration, this part of the post will cover the Domain 2 which holds 18% weightage in the exam. If you have directly stumbled upon this page, I am preparing for the Claude Certified Architect β Foundations (CCA-F), and placing all types of practice questions that I encounter. This may help others, but objective is to keep track of key concept and some practice question that define the topics as well
Ankit Agrahari
2 hours ago13 min read
Β
Β
Β


CCA-F Domain1: Agentic Architecture & Orchestration - Key Concepts
I am preparing for the Claude Certified Architect β Foundations (CCA-F), and placing all types of practice questions that I encounter. This may help others, but objective is to keep track of key concept and some practice question that define the topics as well. Where to Register: https://anthropic-partners.skilljar.com/claude-certified-architect-foundations-certification Topics Covered agentic vs workflow vs conversational systems, the agentic loop (gather context β act β ver
Ankit Agrahari
17 hours ago12 min read
Β
Β
Β


System Design with Agentic AI - 1
Agentic AI fails less often because of the model and more often because the system around the model was vague. The agent was given too much freedom, too little context, weak tools, no memory strategy, and no clear way to recover when things went wrong. A good agent is not a chatbot with extra prompts. It is a system that can plan, call tools, inspect results, revise its path, and stop at the right time. That means system design matters. The planner, tools, skills, hooks, memo
Ankit Agrahari
Jul 2114 min read
Β
Β
Β


Stop Guessing, Find Perfect Local LLM with OllamaAdvisor
Ollama Advisor Walkthrough Have you ever excitedly run ollama run llama3:70b on your 16GB MacBook Air, only to watch your system grind to an absolute halt? The fan spins up like a jet engine, your cursor freezes, and your swap memory immediately maxes out. The biggest bottleneck in local AI isn't the models themselvesβit's hardware-model mismatch. Engineers are blindly downloading quantized models without calculating the overhead of the OS, background applications, model weig
Ankit Agrahari
May 174 min read
Β
Β
Β


Built a Webhook Inspector from Scratch and Shipped It β Here's Everything That Went Wrong
Live at: https://hookspy.in HookSpy - Walk Through Every developer integrating Stripe, Razorpay, or GitHub has been there. You set up a webhook, fire a test event, and... nothing. The endpoint didn't respond. Or it did but your handler crashed silently. Or you just want to see the exact payload the service sends before writing a single line of handler code. Tools like RequestBin and Webhook.site exist. But I wanted to build my own β one I understood end to end, could deploy m
Ankit Agrahari
May 127 min read
Β
Β
Β


CodeForgeAI: Building a 5-Agent Multi-LLM Pipeline That Writes, Reviews, Tests, and Deploys Java Code β Entirely Locally
Multi Agent Framework TL;DR β CodeForgeAI is a Spring Boot + Vaadin application that orchestrates five specialised AI agents (Business Analyst β Code Generator β Code Reviewer β Test Generator β Test Executor) to transform a PDF requirements document into reviewed, tested, and deployed Java code β all running on-premise on a developer laptop, with no cloud LLM calls, no data leaving the machine. Table of Contents Motivation & Goals Tech Stack End-to-End Pipeline Architecture
Ankit Agrahari
Apr 1216 min read
Β
Β
Β


Building DevOps Intelligence using MCP Server with Spring AI: Tools, Challenges & Solutions
Devops Intelligence Today, I successfully built and deployed a Model Context Protocol (MCP) server using Spring AI that exposes real DevOps infrastructure through intelligent tools. But the journey? Let's just say it involved more debugging than coding. In this post, I'll walk you through: What we built (the DevOps Intelligence Platform) The tools we created (K8s, Prometheus, Logs, Deployments) Every challenge we faced (and how we solved them) Why Spring AI 2.0.0-M2 is the s
Ankit Agrahari
Mar 147 min read
Β
Β
Β
Contact
bottom of page



![If this shifted how you think about AI β
you're ready to Harness it. π₯
π¬ Comment "HARNESS" below
β I'll DM you the open-source agent template
π Save this carousel β refer back when you build
π€ Share with one engineer who's still copy-pasting
Follow @backendbrilliance for more content on
AI agents, Spring Boot architecture & backend systems
that actually scale.
#AIHarnessing #BackendBrilliance #JavaDeveloper
#SpringBoot #SpringAI
[AIAgents SystemDesign BackendEngineering SoftwareDevelopment LLMOps]](https://scontent-den2-1.cdninstagram.com/v/t51.71878-15/729219604_894359219640315_5276418046541229917_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=102&ccb=7-5&_nc_sid=18de74&efg=eyJlZmdfdGFnIjoiQ0xJUFMuYmVzdF9pbWFnZV91cmxnZW4uQzMifQ%3D%3D&_nc_ohc=uHzuhnP99P8Q7kNvwHwH4Wk&_nc_oc=AdqofPu3ywcwtiKRSbhNeS7MqbQHJaXSDeNpvTMm-UNDapqseiudR-SLUrD-96JzYX8&_nc_zt=23&_nc_ht=scontent-den2-1.cdninstagram.com&edm=ANo9K5cEAAAA&_nc_gid=SCG79j2TodFX5Sj4Nj_QCQ&_nc_tpa=Q5bMBQLm8Wieukhj7REw6OtvoGtLyUpSPCNDaxgha69OdcNWFtLIPuWZdLW-xQ7uFw5JghTT6uTEbzM9&oh=00_AQHFrAKYNbZutbjnZNOwAa7mY-WmcgBanbQwqO5az8KINA&oe=6A7F366F)























![You think HashMap is always O(1).
It isn't. Here's what actually happens. π§΅
HashMap stores pairs using `index = hash(key) % capacity` β direct slot access, no scanning. Pure O(1). Until two keys land on the same slot. That's a collision β not a bug, a math inevitability.
Two ways to fix it π
π Chaining β each bucket holds a linked list. Collisions append to the list. Simple, handles high load, easy deletion. Downside: pointer overhead, poor cache performance, chains degrade to O(n) at high load. Java's fix? At 8 nodes, the list auto-converts to a Red-Black Tree β O(log n) worst case.
π¦ Open Addressing β no linked lists. Collision at slot X? Probe X+1, X+2 until empty. Cache-friendly, zero memory overhead. Downside: deletion needs tombstone markers, and keys cluster together making future collisions worse. Used by C++, Go, Redis.
βοΈ Load Factor = entries Γ· capacity
π’ Below 0.5 β rare collisions, wasted memory
π 0.75 β Java's sweet spot, triggers resize + rehash
π΄ Above 0.9 β collision cascade, O(n) territory
Double hashing kills clustering by varying the probe step per key:
`probe(i) = (h1 + i Γ h2) % m`
Elements scatter evenly. No bunching. O(1) preserved.
The truth: HashMap is O(1) until a bad hash function, wrong load factor, or wrong strategy turns it into O(n).
Three things protect you:
β Well-distributed hash function
β Load factor under 0.75
β Right collision strategy for your use case
π¬ Java interview question: what happens when a chain hits 8 nodes?
Drop your answer below π
π Save this before your next interview.
#java #hashmap #datastructures #dsa #algorithms
[codinginterview programming 100daysofcode]](https://scontent-den2-1.cdninstagram.com/v/t51.71878-15/641188820_1859196944673752_5535080284006983284_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=102&ccb=7-5&_nc_sid=18de74&efg=eyJlZmdfdGFnIjoiQ0xJUFMuYmVzdF9pbWFnZV91cmxnZW4uQzMifQ%3D%3D&_nc_ohc=SDRI2mDNuvwQ7kNvwE7oqBC&_nc_oc=AdpExMTuoqALDkKbw5ajFvpok7kZ2gAlpweCR2WAlX54rcUG40Wcsz7LarVjEqUvyVU&_nc_zt=23&_nc_ht=scontent-den2-1.cdninstagram.com&edm=ANo9K5cEAAAA&_nc_gid=SCG79j2TodFX5Sj4Nj_QCQ&_nc_tpa=Q5bMBQLCBFt0q9CzW7wDaicQB5fc2prfKUiUeatOLZroaXw5y8DToNl_5QfBbiel0gYm-SzHP9wIa9jq&oh=00_AQFqM_UmEgLRUKujoK2HBujTPFQEyLkzYjJTqhCKrbkDuA&oe=6A7F2ABE)


