Harsimran Singh (@hsinghcse) header
Harsimran Singh (@hsinghcse) profile picture

You see, money isn't everything - I know it sounds corny but I really mean it - success means a lot more.

LUDHIANA
Joined July 2010
Photo by Harsimran Singh (@hsinghcse)Photo by Harsimran Singh (@hsinghcse)Photo by Harsimran Singh (@hsinghcse)Photo by Harsimran Singh (@hsinghcse)Photo by Harsimran Singh (@hsinghcse)Photo by Harsimran Singh (@hsinghcse)Photo by Harsimran Singh (@hsinghcse)Photo by Harsimran Singh (@hsinghcse)Photo by Harsimran Singh (@hsinghcse)Photo by Harsimran Singh (@hsinghcse)
Rate limiting at the edge protects your infrastructure. Rate limiting per user at the application layer protects fairness. You need both, and they should share no state assumptions with each other. #Microservices #EventDriven #DistributedSystems
8
Model selection is a cost function, not a prestige contest. Define your quality floor, measure each candidate against it, then pick the cheapest model that clears the bar. Revisit quarterly. #DeepLearning #MLOps #AIInfra
7
If your agentic eval suite does not include adversarial tool inputs, it is not measuring real-world robustness. Agents that work perfectly in happy-path evals often collapse on malformed tool responses. #AIEngineering #AIAgents #AgenticAI
1
1
10
Guardrails belong on both sides of the model call. Input guardrails block prompt injection. Output guardrails catch policy violations before they hit the user. Skipping either one is a production incident waiting. #DeepLearning #MachineLearning #MLOps
1
14
Schema migrations are the riskiest deployments most teams run without a rollback plan. Expand-contract: add the new column, migrate data, then drop the old one across three separate deploys. #CloudArchitecture #DistributedSystems #Observability
5
Service meshes add retries, timeouts, and circuit breakers at the network layer. That is powerful and dangerous. Retries at both the mesh and application layer multiply traffic under failure. Pick one layer. #EventDriven #CloudArchitecture #Scalability
5
Sagas replace distributed transactions with compensating actions. The failure mode is a partially compensated saga that leaves data inconsistent. Log every step with enough detail to replay or revert manually. #CloudArchitecture #Scalability #EventDriven
15
Read replicas reduce load until a replica lag spike causes your app to serve stale data silently. Add lag monitoring and a circuit breaker that routes critical reads to primary when lag exceeds your SLA. #SoftwareArchitecture #EventDriven #Observability
10
Multi-agent systems surface a coordination tax that single-agent designs avoid. Add a second agent only when the task genuinely parallelizes or requires a distinct capability boundary. #AIEngineering #VectorDB #AgenticAI
1
14
Classification tasks rarely need a frontier model. A well-prompted small model with a tight label set and a confidence threshold beats an expensive model called without guardrails. #DeepLearning #RAG #AIAgents
9
Speculative decoding is the inference optimization most teams skip. If you are self-hosting and latency matters, pairing a small draft model with your main model often beats scaling hardware. #MachineLearning #AIAgents #AIEngineering
9
The model is not the product. The eval harness, the retrieval pipeline, the tool contracts, and the fallback logic are the product. The model is a dependency you swap when a better one ships. #PromptEngineering #MLOps #RAG
1
22
JSON mode does not mean the model is reliably following your schema. Validate every output against the schema at runtime. Silent field omissions cause downstream bugs that are hard to trace. #AIAgents #FineTuning #VectorDB
11
Agent memory is just state management with an LLM reader. The hard part is not storing memories. It is deciding what to surface, when, and at what cost to your context budget. #GenAI #AIEngineering #DeepLearning
11
Prompt caching at the provider level changes cost math for long system prompts. Anchor stable content at the top of the context window and let dynamic content come last. Same output, lower bill. #LLMOps #VectorDB #AgenticAI
9
An eval is not a benchmark. A benchmark measures a model. An eval measures your system on your data for your task. Build evals before you ship features, not after you see regressions. #VectorDB #RAG #AIEngineering
1
12
git bisect finds the introducing commit in log2(n) checkouts. If your team is manually grepping git log during incidents, that is a skill gap worth closing in the next retro. #DevOps #CICD #SoftwareEngineering
13
A flaky test that gets skipped is a lie in your green build. Delete it or fix it this sprint. Skipped tests compound into a test suite nobody trusts, and that erodes the whole CI feedback loop. #Tooling #DevProductivity #DevOps
1
58
LLM latency is dominated by output tokens, not input tokens. If your P99 is painful, look at max-token limits and response length before blaming the model or the network. #DeepLearning #FineTuning #AgenticAI
13
Retrieval precision kills more RAG pipelines than retrieval recall does. Fetching 20 loosely related chunks and hoping the model filters them is how you get confident, wrong answers. #RAG #FineTuning #MachineLearning
11