# Sameer Chauhan

Canonical website: https://s4meer.com

> Backend & AI Engineer

My work sits at the intersection of backend engineering and AI. I focus on reliable Python services and secure AI systems. - Current role: AI Engineer Intern at FlyRank AI, developing backend services and AI-powered features. - Research: LLM safety, prompt injection defence and RAG-based malicious package detection at BITS Pilani, Dubai. - Education: Pursuing an M.Eng in Software Systems at BITS Pilani, Dubai. - AWS certifications: Cloud Practitioner, Solutions Architect Associate, Machine Learning Engineer Associate and DevOps Engineer Professional. I'm open to backend and AI engineering opportunities in the UAE, India and Europe.

## Official websites
- [s4meer.com](https://s4meer.com)
- [sameerchauhan.de](https://sameerchauhan.de)

## Pages
- [Sameer Chauhan](https://s4meer.com/): My digital space, projects, insights, and thoughts on software engineering.
- [About Sameer Chauhan](https://s4meer.com/about): My digital space, projects, insights, and thoughts on software engineering.
- [Site map](https://s4meer.com/sitemap): Browse Sameer Chauhan’s website.
- [Articles](https://s4meer.com/articles): Exploring frontend, backend, and full-stack development deep dives, series, and hands-on insights.
- [Articles — Page 2](https://s4meer.com/articles/2): Exploring frontend, backend, and full-stack development deep dives, series, and hands-on insights.
- [Articles — Page 3](https://s4meer.com/articles/3): Exploring frontend, backend, and full-stack development deep dives, series, and hands-on insights.
- [Articles — Page 4](https://s4meer.com/articles/4): Exploring frontend, backend, and full-stack development deep dives, series, and hands-on insights.
- [Articles — Page 5](https://s4meer.com/articles/5): Exploring frontend, backend, and full-stack development deep dives, series, and hands-on insights.
- [DesignFlix 27: How Multi-Agent Planning Works](https://s4meer.com/articles/designflix-27-multi-agent-planning): How do AI agents work as a team? Follow a checkout investigation through planning, evidence, handoffs, and an LLM Council's competing answers.
- [DesignFlix 26: What Happens When You Turn On a VPN?](https://s4meer.com/articles/designflix-26-how-vpn-traffic-works): Follow a request through your device, ISP, VPN server, and website. Understand what changes, what HTTPS still protects, and what an IP check proves.
- [DesignFlix 25: How MCP Connects AI Assistants to Tools](https://s4meer.com/articles/designflix-25-model-context-protocol): Follow an assistant reading project issues through MCP discovery, a tool call, and a checked result. Learn where permissions still belong.
- [DesignFlix 24: Learning API Design, One Feature at a Time](https://s4meer.com/articles/designflix-24-learn-api-design-through-a-library-app): Learn API design by growing a small bookshop API: HTTP, access checks, errors, documentation, pagination, retries, and performance.
- [DesignFlix 22: Eight Redis Uses and What Can Go Wrong](https://s4meer.com/articles/designflix-22-eight-redis-uses-and-what-can-go-wrong): Eight practical Redis patterns, from cached catalogues and shared sessions to streams and locks, with the failure decisions each one needs.
- [DesignFlix 23: How a Merkle Proof Checks One File](https://s4meer.com/articles/designflix-23-how-a-merkle-proof-checks-one-file): Build a four-report Merkle tree in Python, verify one report with two hashes, and see why a matching proof still needs a trusted root.
- [DesignFlix 21: What a Dead Letter Queue Does After Retries Fail](https://s4meer.com/articles/designflix-21-what-a-dead-letter-queue-does-after-retries-fail): Follow a failed delivery-label job through bounded retries, a dead letter queue, investigation and safe replay without hiding unfinished work.
- [DesignFlix 20: CRUD vs CQRS, From Product Page to Checkout](https://s4meer.com/articles/designflix-20-crud-vs-cqrs-booking-app): Compare CRUD and CQRS through a product page and checkout: separate models, stale reads, authoritative validation and the cost of maintaining views.
- [DesignFlix 19: Follow an Order Through a Saga and Its Recovery](https://s4meer.com/articles/designflix-19-follow-an-order-through-a-saga-and-its-recovery): Follow an order saga through payment, shipping failure, compensation and unknown outcomes, with explicit states for unfinished recovery.
- [DesignFlix 18: Save the Event Before Sending It](https://s4meer.com/articles/designflix-18-save-the-event-before-sending-it): See what a transactional outbox commits atomically, then follow its relay through duplicate delivery, ordering and recovery.
- [DesignFlix 17: Accepted Is Not Finished in a Background Job](https://s4meer.com/articles/designflix-17-accepted-is-not-finished-in-a-background-job): Design a background report export with durable acceptance, honest job status, protected downloads and safe worker recovery.
- [DesignFlix 16: Rebuild an Order From Its Events](https://s4meer.com/articles/designflix-16-rebuild-an-order-from-its-events): Rebuild an order from events in Python, then examine concurrent appends, projections, snapshots and replay without repeated external effects.
- [DesignFlix 15: Build a Read View Without Losing Track of Updates](https://s4meer.com/articles/designflix-15-build-a-read-view-without-losing-track-of-updates): Build an order read view from events, prevent older full-state updates from replacing newer ones, and plan freshness and rebuilds.
- [DesignFlix 14: Share Queue Work Across Competing Consumers](https://s4meer.com/articles/designflix-14-share-queue-work-across-competing-consumers): Share thumbnail jobs across workers, then test acknowledgements, prefetch, repeated delivery and the real limits on added capacity.
- [DesignFlix 13: Slow the Producer Before the Queue Fills](https://s4meer.com/articles/designflix-13-slow-the-producer-before-the-queue-fills): Build a two-watermark backpressure controller and see why bounded buffers, honoured pause signals and explicit overload policies matter.
- [DesignFlix 12: What Heartbeats and Health Checks Actually Tell You](https://s4meer.com/articles/designflix-12-what-heartbeats-and-health-checks-actually-tell-you): Compare heartbeats, readiness and liveness by the evidence they provide and the actions they should trigger, including broken dependencies and observers.
- [DesignFlix 11: What a Sidecar Takes Out of Application Code](https://s4meer.com/articles/designflix-11-what-a-sidecar-takes-out-of-application-code): Follow a catalogue request through network sidecars, shared routing, retry budgets and failures while keeping application responsibilities clear.
- [DesignFlix 10: Token Bucket Bursts and Leaky Bucket Waiting](https://s4meer.com/articles/designflix-10-token-bucket-bursts-and-leaky-bucket-waiting): Compare a six-token burst allowance with a queueing leaky bucket, including elapsed-time refill, shared state, wait limits and retry behaviour.
- [DesignFlix 9: Replication, Stale Reads and the Next Leader](https://s4meer.com/articles/designflix-9-replication-copies-data-but-reads-and-failover-need-rules): Follow a profile update across database replicas, stale reads, acknowledgement policies, safe failover and the limits of live copies.
- [DesignFlix 8: Partitioning and Sharding Depend on the Queries](https://s4meer.com/articles/designflix-8-partitioning-and-sharding-depend-on-the-queries): Compare monthly table partitions with customer-based shards by tracing local queries, global reports, hotspots and migration requirements.
- [DesignFlix 7: Compare REST and GraphQL With One Screen](https://s4meer.com/articles/designflix-7-compare-rest-and-graphql-with-one-screen): Compare REST-style HTTP and GraphQL using mobile and desktop course screens, including backend query cost, caching and access boundaries.
- [DesignFlix 6: REST Is More Than URLs and JSON](https://s4meer.com/articles/designflix-6-rest-is-more-than-urls-and-json): Explore REST's constraints through a library API, including stateless requests, representations, hypermedia, caching and intermediaries.
- [DesignFlix 5: Load Balancers, Gateways and Proxies Can Share Jobs](https://s4meer.com/articles/designflix-5-load-balancers-gateways-and-proxies-can-share-jobs): Trace an order lookup through load balancing, API policy and reverse proxying, including overlapping roles and service-owned authorization.
- [DesignFlix 4: Where Data Is Cached, and When It Gets Old](https://s4meer.com/articles/designflix-4-where-data-is-cached-and-when-it-gets-old): Trace an edited article through browser, edge, application and database caches, with explicit freshness, invalidation and recovery boundaries.
- [DesignFlix 3: Whose Side Does a Proxy Serve?](https://s4meer.com/articles/designflix-3-whose-side-does-a-proxy-serve): Distinguish forward and reverse proxies by the side they serve, with HTTPS tunnels, TLS termination, combined paths and trusted headers.
- [DesignFlix 2: Follow a DNS Lookup Before the Page Loads](https://s4meer.com/articles/designflix-2-follow-a-dns-lookup-before-the-page-loads): Follow a DNS lookup through caches and referrals, inspect live address records with dig, and understand TTL and negative-answer delays.
- [DesignFlix 1: From a URL to a Page You Can Use](https://s4meer.com/articles/designflix-1-from-a-url-to-a-page-you-can-use): Trace a modern HTTPS navigation through DNS, connection setup, resources, rendering and interaction, then locate the boundary that makes a page slow.
- [Luhn: Checking the Digits Before a Payment](https://s4meer.com/articles/luhn-checking-the-digits-before-a-payment): Calculate and implement the Luhn checksum, then test an undetected digit swap and distinguish typo feedback from payment authorization.
- [Bloom Filters: What a Username Check Can Actually Tell You](https://s4meer.com/articles/bloom-filters-what-a-username-check-can-actually-tell-you): Build a tiny Bloom filter and connect its possible matches to authoritative username checks, freshness and final database uniqueness.
- [Similarity Caching: When Can Two Questions Share an Answer?](https://s4meer.com/articles/similarity-caching-when-can-two-questions-share-an-answer): Use cosine similarity to find answer-cache candidates, then check version, permissions and meaning before reusing help instructions.
- [Personal Journal](https://s4meer.com/journal): Personal stories, university life and milestones along the way.
- [Publications](https://s4meer.com/publications): Papers and research I have published.
- [My Projects](https://s4meer.com/projects): A collection of things I’ve built, full-stack apps, experiments, and side projects.
- [AI Engineering](https://s4meer.com/articles/categories/ai-engineering)
- [Databases & Caching](https://s4meer.com/articles/categories/databases-caching)
- [Distributed Systems](https://s4meer.com/articles/categories/distributed-systems)
- [Networking & APIs](https://s4meer.com/articles/categories/networking-apis)
- [Payments](https://s4meer.com/articles/categories/payments)
- [DesignFlix](https://s4meer.com/articles/series/designflix)
- [System Design Notes](https://s4meer.com/articles/series/system-design-notes)
