What RAG Actually Solves (and What It Doesn't)
RAG is often oversold. This article breaks down the actual mechanics of grounding LLMs with external data, what problems it solves, and where it falls short.
Part 1 · RAG from Zero to ProductionSenior Team Lead · Identity & Security · Noida, India
Senior Team Lead at Thales building identity & access management systems. 13+ years across Java/Spring, AWS, and security protocols (OAuth2, OIDC, SAML, ForgeRock, Keycloak). I like quiet systems that just work.
Experience
Jan 2023 — Present
Leading identity & security workstreams in Noida — designing IAM platforms, hardening protocol implementations, and mentoring the team across Java/Spring services.
Feb 2021 — Jan 2023
Architected microservice platforms and OpenStack-based deployments. Designed end-to-end solutions across backend services, security, and cloud infrastructure.
May 2019 — Feb 2021
Built Identity Providers and brokers across multiple security protocols (OAuth2, OIDC, SAML). Worked closely with customers to configure SSO/SAML against their IdPs.
Apr 2018 — May 2019
Migrated a Django monolith into microservices for a high-traffic social audio platform serving rural India. Tuned existing services for scale.
Sep 2015 — Mar 2018
Full-stack development across Spring Boot, Spring Cloud, and Angular for hotel booking, insurance, and legaltech products. Owned features end-to-end from requirements to production.
Feb 2014 — Apr 2015
Drove design and engineering quality across early-stage products. Established practices for repeatable delivery on a small team.
Jan 2013 — Feb 2014
First role. Built JSP front-ends, learned the JVM stack, and shipped maintenance fixes across legacy applications.
Stack
Selected work
Full-stack hotel booking OTA with real-time vendor quotes, payment & SMS gateway, channel manager integration. Uber-style data calls between guest and hotelier for current-day inventory.
Social audio platform for low-literacy rural communities — record via IVR or Android, share, like, comment. Microservice backend serving large user base across India.
Cloud-native insurance broking portal. Twelve-Factor microservices with circuit breakers, intelligent routing, and horizontal autoscaling.
Subscription-based Internet Booking Engine for travel agents — multi-tenant ticketing across train/bus/flight with custom domains, themes, and third-party SMS/email/payment integrations.
Writing
RAG is often oversold. This article breaks down the actual mechanics of grounding LLMs with external data, what problems it solves, and where it falls short.
Part 1 · RAG from Zero to ProductionA practical guide to styling Keycloak login pages with custom CSS, assets, and email templates to match your brand identity.
Part 3 · Keycloak Themes and SPIsA practical guide to creating a custom Keycloak login theme with FreeMarker, including template structure, i18n, and key files like login.ftl.
Part 2 · Keycloak Themes and SPIsElsewhere
Reach me directly at me@ashishsrivastav.com.