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


Building an AI Tutor with Spring AI, Ollama, and Vaadin
AI Tutor is a web application that uses Spring Boot and Spring AI on the backend, an Ollama -hosted LLM (e.g. Google’s Gemma3) for natural language understanding, and Vaadin for the rich web UI. Its core innovation is a Retrieval-Augmented Generation (RAG) pipeline: when the user uploads course materials (PDFs, text, etc.), the app splits them into chunks, creates vector embeddings, and stores these in a PGVector -enabled PostgreSQL database. At chat time, similar chunk
Ankit Agrahari
Jan 115 min read


Morphous AI: Building Multi-Modal AI Workflows with Spring Boot and Vaadin
Multi-modal AI workflows are becoming essential for modern backend systems. They allow applications to process and generate different types of data—text, images, audio—within a unified framework. This capability opens new possibilities for richer user experiences and more intelligent automation. The MorphousAI project, built with Spring Boot, Vaadin, and Spring AI, offers a practical example of how to implement such workflows in a backend-first Java environment. This article
Ankit Agrahari
Dec 17, 20255 min read


Building the Foundation: APIs, Prompts, and First Runs
In Part 1 of this series, we introduced the Smart DevOps Assistant (SDA) — an AI-powered helper that reviews pull requests, generates...
Ankit Agrahari
Sep 27, 20254 min read


Meet Smart Devops Assistant: Vision, Stack and Journey so far
PRs that review themselves. Tests that write themselves. Stand-ups that summarise themselves. Say hello to Smart DevOps Assistant (SDA)...
Ankit Agrahari
Aug 27, 20256 min read
Contact
bottom of page












![Stop grinding on 500+random problems.
Lets look at 6 high ROI patterns that accounted for 9ver 95% of technical rounds I've tracked this year.
Whats inside:
✅️ Hashing: secret to O(1) lookups in high frequency trading questions
✅️ Sliding window: Mastering contiguous data (Meta favorite)
✅️ Stacks & Queues: Managing order and recursive state without the overhead.
✅️ Trees (DFS/BFS): Navigating complex hierarchies in recommendation systems.
✅️ Graphs: telling your zomato wale bhaiya the shortest route.
✅️ Heaps: The Priority way to handle top-K elements at scale.
2025 ending twist: added the follow ups modern interviewers are using to see if you actually understand the tradeoffs.
Which pattern do you find the trickiest ?
Let me know in the comments.
[DSA Coding MAANG Leetcode Holidays Interviews Preparation Developer]
#dsa #backendbrilliance #interviews #2025bye #javadeveloper](https://scontent-den2-1.cdninstagram.com/v/t51.82787-15/606440919_17859114657570256_2529042519888157314_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=103&ccb=7-5&_nc_sid=18de74&efg=eyJlZmdfdGFnIjoiQ0xJUFMuYmVzdF9pbWFnZV91cmxnZW4uQzMifQ%3D%3D&_nc_ohc=O7EwzSyB0DAQ7kNvwFx5A3W&_nc_oc=Admtd5Nqn8qvJra823zJ3f-rrt91O4fIEJrcaAafsiu8pPLZ6mh-WhiN5g_bb5JjgMg&_nc_zt=23&_nc_ht=scontent-den2-1.cdninstagram.com&edm=ANo9K5cEAAAA&_nc_gid=p2uIrjnlz9DXnRFI8_Ibow&oh=00_AfoFEbegEm0qzevvVtNFmH7VLb1cgR9Y1N2NbpgTbeOOwg&oe=697E7BF7)
![Most candidates prepare for framework questions.
MAANG prepares to test how you think when things break.
They don’t care how many tools you know.
They care how you:
-break down problems
-reason about scale
-handle failure
-explain trade-offs under pressure
This carousel breaks the MAANG interview illusion —
and shows what actually gets candidates rejected or selected.
💾 Save this before you over-prepare the wrong things.
💬 Comment MAANG if you want company-specific interview patterns next.
[backendinterview, faanginterview, javainterview, springbootinterview, technicalinterview, engineeringinterviews, codinginterviewprep, distributedsystems, microservicesarchitecture, careerforengineers]
#faang #backenddeveloper #systemdesign #javadeveloper #softwareengineer](https://scontent-den2-1.cdninstagram.com/v/t51.82787-15/605571130_17858844267570256_6957806067286778315_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=109&ccb=7-5&_nc_sid=18de74&efg=eyJlZmdfdGFnIjoiQ0xJUFMuYmVzdF9pbWFnZV91cmxnZW4uQzMifQ%3D%3D&_nc_ohc=f44EvQXg-DMQ7kNvwFxEr7f&_nc_oc=AdmiNxEa_YybX69SlQyoixDsrqaGqvgzerE5J0Xbfb3xolWn3A2YjwxSqKQjkH9pIfY&_nc_zt=23&_nc_ht=scontent-den2-1.cdninstagram.com&edm=ANo9K5cEAAAA&_nc_gid=p2uIrjnlz9DXnRFI8_Ibow&oh=00_AfrNQgbQAqbd5H9WF5EufkSyIEGJDqGpdulrzS5iY-0DhQ&oe=697E7D7A)
![Cache is fast.
DB is correct.
Search is powerful.
Using the wrong one makes prod… interesting 😅
Cache less, Design better !!
[caching backend design redis elasticsearch scalablesystem techcommunity devcoding codinglife techcontent]
#backenddeveloper #backendengineer #systemdesign #microservices #java](https://scontent-den2-1.cdninstagram.com/v/t51.82787-15/603631035_17858630823570256_7049682313057145222_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=100&ccb=7-5&_nc_sid=18de74&efg=eyJlZmdfdGFnIjoiQ0xJUFMuYmVzdF9pbWFnZV91cmxnZW4uQzMifQ%3D%3D&_nc_ohc=rnpsgdi1l9EQ7kNvwHCyYpt&_nc_oc=AdmvoDMX0rK1Pc3yXBxZVDozR80dq9ZpYZpp4SMFS3a9MXXjnlqyOXrBPd0RLxT-d10&_nc_zt=23&_nc_ht=scontent-den2-1.cdninstagram.com&edm=ANo9K5cEAAAA&_nc_gid=p2uIrjnlz9DXnRFI8_Ibow&oh=00_AfqtioQH2K96VCbA-YFpcMQawrsatxuE6lSKFAgCjYCheA&oe=697E917B)
![Caching makes systems fast…
until it makes them wrong 😅
I’ve seen caches:
serve stale data
hide bad queries
cause DB meltdowns
create “works on cache” bugs
Cache is not a shortcut. It’s an optimization with responsibility.
Fix the system first.
Cache later.
Sleep better. 😌
💾 Save this before your next “why is prod behaving weirdly?” moment.
💬 Comment CACHE if you’ve been burned too.
#backenddeveloper #backendengineer #java #caching #springframework
[microservices systemdesign caching redis performance engineering scalablesystems distributedcomputing highperformance softwareengineer programminglife codinglife techinstagram devcommunity programmerslife]](https://scontent-den2-1.cdninstagram.com/v/t51.82787-15/604015302_17858376105570256_4670002541461348392_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=106&ccb=7-5&_nc_sid=18de74&efg=eyJlZmdfdGFnIjoiQ0xJUFMuYmVzdF9pbWFnZV91cmxnZW4uQzMifQ%3D%3D&_nc_ohc=2hMkrP6xzaUQ7kNvwGFO9ip&_nc_oc=AdnZvlSHRmfbV3dr6JjwtIcBzg-F7Y-tBkty5PngL0i5oo-L3DVw2dQzX9kRLRlpl68&_nc_zt=23&_nc_ht=scontent-den2-1.cdninstagram.com&edm=ANo9K5cEAAAA&_nc_gid=p2uIrjnlz9DXnRFI8_Ibow&oh=00_AfoqFx42PiJXRq7tK4dVYnljmwWm8agdljIJT8Z05p-IEg&oe=697E6412)
![Ever wondered how much AI actually costs? 🤖💸
Not theory. Not hype. Real numbers. In INR.
In this post, I break down: ✅ Cost of uploading an image & asking AI to explain it
✅ Text → Speech cost for 1 minute audio
✅ Text → Video cost using Sora 2 for 1 minute
Spoiler:
👉 Images & speech are shockingly cheap
👉 Video generation is where the real cost kicks in
If you’re:
building AI side projects
experimenting with OpenAI APIs
learning AI without burning money
…this pricing clarity will save you from surprise bills.
💡 AI isn’t expensive — misuse is.
Save this post for later 🔖
Comment “COST” if you want a follow-up on ChatGPT Pro vs API pricing 👇
[OpenAI pricing explained, AI API pricing in INR, DALL·E pricing, Whisper text to speech cost, Sora AI video pricing, AI cost breakdown, AI for personal projects, OpenAI API cost India, Generative AI pricing]
#artificialintelligence #generativeai #openai #aiapi #aipricing #aiinindia
#backenddeveloper #javadeveloper #softwareengineering #techlearning #devcommunity #buildinpublic #techeducation #learnai #aiexplained #ai101 #techcontent #educationalreels #instatech #explorepage #reelsindia #techreels #developerlife](https://scontent-den2-1.cdninstagram.com/v/t51.82787-15/599732962_17857734000570256_5761244514698037720_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=106&ccb=7-5&_nc_sid=18de74&efg=eyJlZmdfdGFnIjoiQ0xJUFMuYmVzdF9pbWFnZV91cmxnZW4uQzMifQ%3D%3D&_nc_ohc=p8q-WWkA4CkQ7kNvwE_kKE4&_nc_oc=AdkUSl2-3vINJQONUboxOyMNmwGNWHGTVmfTjkUjLP4rfth9QXv64Cdd9hZJ8h5WmK4&_nc_zt=23&_nc_ht=scontent-den2-1.cdninstagram.com&edm=ANo9K5cEAAAA&_nc_gid=p2uIrjnlz9DXnRFI8_Ibow&oh=00_Afq6PIo64dSdKwxX0FQBLTRMD7PdhCZpNXRZzJVIRCJBFQ&oe=697E7BB8)










![Ever heard of TOON? 👀
It’s the new token-optimized alternative to JSON, built specifically for AI, LLMs, and high-performance backend workflows.
Same structure as JSON… but cleaner, shorter, and way cheaper to send to AI models. ⚡
If you're building with Java, Spring Boot, or microservices, TOON can literally cut your prompt size by 60%, reduce cost, and give LLMs a much clearer schema to work with.
JSON is great for APIs.
TOON is great for AI.
👉 And understanding the difference will put you ahead of 90% of devs.
Save this — it’s the future of AI-ready data formats. 🚀
[TOON format, token efficient data format, JSON alternative, LLM data optimization, Spring Boot AI integration, Java backend AI, prompt engineering tips, structured data for LLM, AI developer tools, backend optimization tricks]
#TOONFormat #JSONAlternative #LLMDeveloper #AIDevelopment #BackendEngineering #SpringBootDevelopers #JavaBackend #PromptEngineering #AIOptimized #TokenEfficiency #DeveloperTools #AICoding #TechContentCreator #BackendBrilliance #SoftwareEngineeringTips #CloudNativeJava #MicroservicesArchitecture #CodingEducation #LearnJava #techinstagram](https://scontent-den2-1.cdninstagram.com/v/t51.82787-15/583035862_17854716045570256_4168770257495229357_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=110&ccb=7-5&_nc_sid=18de74&efg=eyJlZmdfdGFnIjoiQ0xJUFMuYmVzdF9pbWFnZV91cmxnZW4uQzMifQ%3D%3D&_nc_ohc=t4g4wunAN3oQ7kNvwHHg-ko&_nc_oc=Adn3MW_FTboPIvRydte2molhyA6Uj3H8uluHCHc-yZ9_ZihX47QmisYyXzPQRkzrYsA&_nc_zt=23&_nc_ht=scontent-den2-1.cdninstagram.com&edm=ANo9K5cEAAAA&_nc_gid=p2uIrjnlz9DXnRFI8_Ibow&oh=00_AfrDmzXntt5opQSqMP2I_GoTYjAOYpA0_FOigre5DEIBcg&oe=697E7C3F)






![An explainer video on the last topic "Virtual Threads" using Google's Notebooklm. Exceptional video, speech quality.
Felt like going on vacation 😂
Have you used it ?
Comment "google" if you want an explainer video on how to do it.
[Google, NotebookLM, Virtual Threads, Explainer Video, Backend Development, Content Creation]
#notebooklm #google #virtualthreads #java21 #features #backend #development #backendbrilliance
#ai #generations #insta #techworld](https://scontent-den2-1.cdninstagram.com/v/t51.82787-15/573323442_17853237735570256_7956185743739484727_n.jpg?stp=dst-jpg_e35_tt6&_nc_cat=109&ccb=7-5&_nc_sid=18de74&efg=eyJlZmdfdGFnIjoiQ0xJUFMuYmVzdF9pbWFnZV91cmxnZW4uQzMifQ%3D%3D&_nc_ohc=nlJ3E3vsli0Q7kNvwHk246X&_nc_oc=AdkjurfKi8y3RDwL2HTFp6blnHy6iLauv3zIPtRSyyufYGVOdU2gpO10qqSnSZCMb_8&_nc_zt=23&_nc_ht=scontent-den2-1.cdninstagram.com&edm=ANo9K5cEAAAA&_nc_gid=p2uIrjnlz9DXnRFI8_Ibow&oh=00_AfoH7PPTEnDQuvKyUJI4MPdELkrxOWLQhVnc7_3OmRew_g&oe=697E8D75)















