Adadi (@mac_adadi) profile picture

Senior Software Engineer. AI Automation Specialist. Building systems that reduce friction and create leverage.

Nairobi
Joined April 2016
Adadi retweeted
Backend Engineering in 10 pages
33
460
9
3,138
180,449
【インフラエンジニアを目指す人におすすめ】 Linuxのコマンドを勉強しているなら、ぜひ試してほしいサイトがあります。 「SadServers」 なんと、わざと壊されたLinuxサーバーを自分で復旧する実践型サービスです! ・サーバーが起動しない ・ディスク容量がいっぱい ・DNSが正常に動かない ・Webサーバーに接続できない こうしたトラブルを実際に調査して解決します。 参考書を読むだけでは身につきにくいトラブルシューティングの練習におすすめ! sadservers.com/
11
370
19
3,515
178,795
Adadi retweeted
Since the day I understood what this guy is talking about in this video, I have been enjoying my life. I don’t stress about anything, win or lose, still the same mood. Nothing on earth matters. Just watch and process it in your brain.
I have been watching this every morning for 11 months now.
159
1,974
51
12,016
1,204,401
Adadi retweeted
This is f*cking insane. Andrej Karpathy spent 8 years at OpenAI and Tesla Last week, he put everything he learned into one free 2-hour lecture Agents → Harness → Loops → Graphs Some bootcamps charge $15K and teach you less than this You might not have 2 hours right now Bookmark it and watch before it gets buried in your feed Then read the guide below and build your first agent harness ↓
57
508
12
3,518
635,185
I’ll let you in on a secret that isn’t being discussed much. I work in senior management for strategy and analytics and I can say with 100% certainty that every remote middle tier analyst job from 90k-115k is like this. Regardless of industry. If you want a lazy job (max 30 hours/week), just query LinkedIn, Indeed or Google jobs for healthcare analytics, sales support analytics, logistics analytics and filter by salary/experience and location. These jobs aren’t analytics engineering, business intelligence or operational heavy. They’re basic back office functions that are 100% necessary because executive boomers lack the sufficient technical skills to be Excel or PowerPoint savvy. So they’ll hire people at this rate to do the work for them. If you understand spreadsheets, basic statistical concepts and elementary business concepts, you’ll do fine. Some weeks these jobs are busy but most weeks you’d be doing ad hoc reporting. If your boss (low level executive or senior manager) doesn’t delegate much, you could pick up a second job. If you’re good with low code platforms and AI, most of the work at these jobs could be completed in 10-15 hours. I could probably find 50 of these jobs within 30 minutes on LinkedIn. Hundreds of these are getting posted every day because companies are ditching visa workers and cancelling contracts with outsourced firms in India and abroad. Just search for the jobs, find one you want, use Claude or ChatGPT to tailor your resume and apply. Then, most importantly, reach out to a recruiter on LinkedIn from the company and state your interest and experience (even if you embellish). It’ll work, trust me
Theres gotta still be easy 105k a year jobs out there. I know they exist. I see every other striver with good connections have one in SF where they basically do nothing.
80
591
22
13,832
1,027,680
As a Backend Engineer in the AI era, you must build these projects. 1.) High-Concurrency HTTP Server Build: Go or Rust server handling 10k+ concurrent connections with graceful shutdown and backpressure. Why: Concurrency architecture is the one thing AI cannot design for you. 2.) Multi-Tenant Hybrid Search Database Build: Postgres with Row-Level Security + pgvector + BM25 hybrid ranking across isolated tenants. Why: Structured data and semantic embeddings now share one query engine. 3.) Event-Sourced Order Pipeline Build: Kafka or NATS pipeline with immutable events, dead-letter queues, exactly-once semantics. Why: AI workloads are slow and async. The main thread must never block. 4.) Durable Onboarding Workflow Build: 3-day Temporal workflow with checkpoints, retries and human approval steps. Why: Background jobs are for emails. Durable execution is for multi-step agents. 5.) AI Gateway with Semantic Cache Build: Proxy that caches similar prompts via embeddings, enforces token budgets and fails over to a cheaper model on 503s. Why: The gateway protects your margins and your uptime from flaky, expensive LLM APIs. 6.) PII-Redacting Auth Middleware Build: OAuth2/OIDC provider plus middleware that masks PII before logging and restricts AI agents to read-only DB roles. Why: When agents can write to your database, a prompt injection is a data breach. 7.) Real-Time Streaming Dashboard Build: SSE/WebSocket dashboard streaming LLM tokens and database updates simultaneously with backpressure. Why: Time-To-First-Token and perceived latency are the new UX standards. 8.) Correlated Tracing Pipeline Build: OpenTelemetry + Langfuse pipeline linking each HTTP request to the exact LLM prompt and DB query it triggered. Why: You cannot debug a hallucination without replaying the exact context the model saw. 9.) Ephemeral Environment Provisioner Build: Terraform or Pulumi scripts spinning up a complete isolated staging environment for every pull request. Why: Manual deployments are a liability. Infrastructure must be version-controlled and reproducible. 10.) Queue-Based Autoscaler Build: KEDA autoscaler spinning nodes up on Kafka queue depth and down when empty with spot-instance fallback. Why: Backend engineers now own the cloud bill. Idle resources burn runway. 11.) Globally Distributed Rate Limiter Build: Redis-backed distributed rate limiter that survives network partitions gracefully. Why: Architecture must degrade gracefully not cascade into total outage. 12.) Chaos Engineering Suite Build: Fault-injection harness (latency, replica kills, partitions) with SLO burn dashboards. Why: Resiliency is proven under failure not in diagrams. 13.) Webhook Reconciliation Engine Build: Idempotent event processor with exponential backoff, dead-letter queues and replay tooling. Why: Real integrations fail constantly. Reconciliation is what makes them trustworthy. 14.) Cost-per-Request FinOps Dashboard Build: Per-tenant, per-endpoint, per-LLM-call cost rollups with anomaly alerts. Why: Visibility is control. You cannot optimize what you cannot attribute. 15.) Public Architecture Teardown Build: 3 published deep-dives with system diagrams, ADRs and latency/cost benchmarks. Why: Senior engineers are hired for their judgment not their syntax. Systems that prove you can scale, secure & ship when agents touch your stack. Most people watch tutorials. Builders ship systems. Bookmark & Repost.
If I had 6 months to become a Backend Engineer in the AI era. I’d do this. Stage 1: Core Languages and Concurrency - Learn: Go, Rust or advanced Python. Goroutines, async/await, memory management, thread safety. - Practice: Build a high-throughput HTTP server from scratch handling 10k+ concurrent connections. - Why: AI generates code but you must architect the concurrency models that don't crash under load. Stage 2: Modern Databases and Vector Stores - Learn: PostgreSQL (deeply), pgvector, ClickHouse for analytics, Redis for caching, partitioning, indexing strategies. - Practice: Build a multi-tenant database with Row-Level Security (RLS) and hybrid search (BM25 + vector). - Why: Structured data and semantic embeddings now live in the same query engine. Stage 3: Event-Driven Architecture - Learn: Kafka, NATS or RabbitMQ. Pub/Sub patterns, event sourcing, dead-letter queues, exactly-once processing. - Practice: Build an order-processing pipeline where every state change is an immutable event. - Why: AI workloads are slow and asynchronous. You cannot block the main thread waiting for an LLM. Stage 4: Durable Execution and Workflows - Learn: Temporal or Inngest. State machines, saga patterns, infinite retries, checkpointing. - Practice: Build a 3-day automated onboarding workflow that survives server restarts and API timeouts. - Why: Background jobs are for emails. Durable execution is for multi-step AI agents. Stage 5: AI Gateways and Semantic Caching - Learn: API rate limiting, token budgeting, semantic caching (embedding similarity), fallback routing. - Practice: Build a proxy that caches identical LLM prompts and automatically fails over to a cheaper model if the primary API 503s. - Why: LLM APIs are expensive and flaky. The gateway protects your margins and your uptime. Stage 6: Identity, Security and Zero Trust - Learn: OAuth2, OIDC, JWTs, PII redaction, agent sandboxing, least-privilege access. - Practice: Build an auth middleware that masks PII before it hits your logs and restricts AI agents to read-only DB roles. - Why: When AI agents can write to your database, a bad prompt injection is a data breach. Stage 7: Streaming and Real-Time Protocols - Learn: Server-Sent Events (SSE), WebSockets, gRPC streams, WebRTC, backpressure handling. - Practice: Build a real-time collaborative dashboard that streams LLM token generation and database updates simultaneously. - Why: Time-To-First-Token (TTFT) and perceived latency are the new UX standards. Stage 8: Full-Stack Observability - Learn: OpenTelemetry, Prometheus, Grafana, Langfuse. Distributed tracing, custom metrics, log aggregation. - Practice: Build a tracing pipeline that correlates a user's HTTP request with the exact LLM prompt and database query it triggered. - Why: You cannot debug an AI hallucination if you can't replay the exact context the model saw. Stage 9: Infrastructure as Code (IaC) and CI/CD - Learn: Terraform or Pulumi, Docker, Kubernetes basics, GitHub Actions, ephemeral environments. - Practice: Write scripts that spin up a complete, isolated staging environment for every pull request automatically. - Why: Manual deployments are a liability. Infrastructure must be version-controlled and reproducible. Stage 10: Cloud FinOps and Autoscaling - Learn: Queue-based autoscaling (KEDA), spot instances, cost allocation tags, resource limits. - Practice: Build an autoscaler that spins up GPU/CPU nodes based on Kafka queue depth and shuts them down when empty. - Why: Backend engineers are now responsible for the cloud bill. Idle resources burn runway. Stage 11: System Design and Resiliency - Learn: Circuit breakers, bulkheads, rate limiting, chaos engineering, CAP theorem, distributed locks. - Practice: Design a globally distributed rate-limiter using Redis that handles network partitions gracefully. - Why: Systems fail. Your architecture must degrade gracefully not cascade into a total outage. Stage 12: Public Portfolio and Teardowns - Learn: Writing architecture decision records (ADRs), drawing system diagrams, benchmarking. - Practice: Publish 3 deep-dive articles on how you scaled a specific bottleneck (e.g., "How I reduced DB latency by 80%"). - Why: Senior engineers are hired for their judgment not just their syntax. CRUD is dead. AI writes the boilerplate. The modern backend engineer builds the nervous system for global scale and autonomous agents. Bookmark and Repost!
42
257
12
1,938
149,890
If I had 6 months to become an AI Infrastructure Engineer. I’d do this. Stage 1 — Linux + Networking Processes, memory, GPUs, sockets, HTTP, TCP/IP basics. Stage 2 — Python + Backend Async Python, FastAPI, queues, concurrency fundamentals. Stage 3 — GPU Fundamentals CUDA basics, VRAM, batching, quantization, throughput. Stage 4 — LLM Inference vLLM, TensorRT-LLM, speculative decoding, KV caching. Stage 5 — Distributed Systems Load balancing, queues, retries, autoscaling, distributed workers. Stage 6 — AI Serving Model APIs, streaming responses, rate limiting, observability. Stage 7 — Data Pipelines Kafka, Airflow, ETL pipelines, vector indexing. Stage 8 — Kubernetes + Cloud Docker, Kubernetes, AWS/GCP basics, infra automation. Stage 9 — Monitoring + Reliability Prometheus, Grafana, tracing, AI cost monitoring. Stage 10 — Real AI Systems Deploy scalable chat apps, RAG pipelines, inference clusters. Stage 11 — Open Source Contribute to inference tooling or AI infra projects. Stage 12 — Apply AI Infra Engineer, Platform Engineer, ML Systems Engineer. AI apps go viral. AI infrastructure prints money.
38
100
2
817
242,684
As an AI Engineer. Please learn: - Harness engineering, not just prompt engineering - Prompt caching vs. semantic caching tradeoffs - KV cache management at scale - Speculative decoding vs quantization - Structured output failures & fallback chains - Evals (LLM-as-judge + human evals) - Cost attribution per feature, not just per model - Agent guardrails & loop budgets - LLM observability as a first-class discipline - Model routing & graceful fallback logic - Knowing when to fine-tune vs. in-context learning
78
321
10
3,213
227,194
Applied AI Engineer Interview scheduled? Its not just about LeetCode or basic ML theory. Here are 10 real skills you should learn: 1. Core Concepts: Transformers architecture, attention mechanisms, tokenization, embeddings, context windows, and fine-tuning strategies (LoRA, QLoRA). 2. Code & Implementation Problems: Explain backpropagation step-by-step, implement attention from scratch, handle numerical stability in training loops, debug gradient issues. 3. Common AI Engineering Tasks: - Build end-to-end RAG pipeline (chunking, embeddings, vector DB retrieval, reranking) - Implement prompt chaining & tool-calling agents - Fine-tune a small LLM or create evaluation harness (RAGAS, G-Eval) - Model quantization & inference optimization (bitsandbytes, vLLM) 4. Hands-on Projects: Production-grade RAG chatbot, multi-agent workflow (LangGraph/CrewAI), or real-time AI feature (e.g., semantic search in your app) - deployed with monitoring. 5. Framework & Tooling (LangChain/LlamaIndex/PyTorch): Memory management, agent loops, evaluation metrics, LangSmith tracing, vector store trade-offs (Pinecone vs Chroma vs PGVector). 6. AI System Design: Design a scalable LLM-powered application (e.g., intelligent customer support or document QA system) - focus on latency, cost, accuracy, guardrails, and fallback strategies. 7. Production Architecture: Modular pipelines, LLMOps (monitoring drift, versioning prompts/models), evaluation frameworks, A/B testing for generations, human-in-the-loop. 8. Performance & Optimization: Quantization, distillation, batching, caching embeddings, cost control (token usage), inference serving (TGI, vLLM), scaling to production traffic. 9. Security & Best Practices: Prompt injection defense, output guardrails (NVIDIA NeMo, LlamaGuard), data privacy (PII redaction), model hallucination mitigation, responsible AI checks. 10. MLOps & Backend Awareness: Experiment tracking (MLflow/W&B), CI/CD for models, model serving (FastAPI + Triton), vector DB scaling, basic observability (Prometheus + Grafana), and trade-offs (accuracy vs latency vs cost).
Frontend Interview scheduled ? Its not just about DSA. Here are 10 real skills you should learn : 1. JS Core : Event loop, async/await, hoisting, this, closures. 2. Code Output problems: Scenarios with Promises, setTimeout, scopes. 3. Common JS Problems: Flatten deeply nested objects/arrays Deep clone objects Implement debounce/throttle Write your own Promise.all 4. Vanilla JS Projects: Build a mini Jira-like dashboard, no React. 5. Framework Knowledge(React): useMemo vs useCallback, Virtualization, Context API. 6. Frontend System Design: eg Build WhatsApp UI , focus on architecture, performance, security. 7. Component Architecture: Scalable, reusable, testable patterns. 8. Performance Optimization: Lazy loading, tree shaking, code splitting, caching. 9. Security Best Practices: Prevent XSS/CSRF, secure assets. 10. Backend Awareness: REST, CAP Theorem, Sharding vs Partitioning.
13
44
245
13,725
As an AI Engineer. Please learn: -Prompt caching & semantic caching tradeoffs -KV cache management at scale -Speculative decoding vs quantization -RAG evaluation (RAGAS + human evals) -Cost monitoring & hidden token leaks -Agent guardrails & infinite loop detection
29
197
5
2,082
95,305
Adadi retweeted
Why is no one talking about this? @nvidia is offering around 80 AI models via hosted APIs absolutely for free. You get access to MiniMax M2.7, GLM 5.1, Kimi 2.5, DeepSeek 3.2, GPT-OSS-120B, Sarvam-M etc. This plugs straight into OpenClaude, OpenCode, Zed IDE, Hermes agent and even with Cursor IDE. Setup: – Grab API key: build.nvidia.com/models – base_url = "integrate.api.nvidia.com/v1" – api_key = "$NVIDIA_API_KEY" – select model (e.g. minimaxai/minimax-m2.7) If you’re building or experimenting, this is basically free inference. Lock in and start building today anon. Thank me later.
529
1,818
134
18,095
1,699,107
If I had to master API design, I’d learn these concepts: 1. What is an API 2. API Architecture Styles 3. REST Principles 4. RESTful Design 5. GraphQL 6. gRPC 7. SOAP 8. Resource Modeling 9. URI Design 10. HTTP Methods (GET, POST, PUT, PATCH, DELETE) 11. Status Codes 12. Request & Response Structure 13. JSON 14. XML 15. Serialization 16. Deserialization 17. Idempotency 18. Statelessness 19. Versioning Strategies 20. URI Versioning 21. Header Versioning 22. Content Negotiation 23. Pagination 24. Filtering 25. Sorting 26. Searching 27. Rate Limiting 28. Throttling 29. API Gateway 30. Load Balancing 31. Caching Strategies 32. Cache-Control Headers 33. ETags 34. Conditional Requests 35. Authentication 36. Authorization 37. API Keys 38. JWT 39. OAuth 2.0 40. OpenID Connect 41. CORS 42. CSRF Protection 43. Input Validation 44. Data Sanitization 45. Error Handling 46. Error Codes & Messages 47. Logging 48. Monitoring 49. Observability 50. Metrics 51. Tracing 52. Documentation 53. OpenAPI Specification 54. Swagger 55. API Contracts 56. Contract Testing 57. Mock Servers 58. API Testing 59. Postman 60. Load Testing 61. Security Best Practices 62. Encryption (HTTPS/TLS) 63. Secrets Management 64. Rate Limit Headers 65. Webhooks 66. Event-Driven APIs 67. Async APIs 68. Streaming APIs 69. WebSockets 70. Server-Sent Events 71. API Lifecycle Management 72. Deprecation Strategies 73. Backward Compatibility 74. Breaking Changes 75. API Governance 76. Naming Conventions 77. Consistency Rules 78. SDK Generation 79. Developer Experience (DX) 80. API Analytics 81. Usage Tracking 82. Monetization 83. API Marketplace 84. Multi-Tenancy 85. Scalability 86. High Availability 87. Fault Tolerance 88. Circuit Breaker 89. Retry Logic 90. Timeout Handling 91. Service Discovery 92. Microservices Integration 93. BFF (Backend for Frontend) 94. Edge APIs 95. CDN Integration 96. Data Transformation 97. Aggregation Layer 98. Orchestration vs Choreography (...and more concepts) === 👋 PS - Want a detailed breakdown of API design best practices? Read right now: → API Design Ebook: codewithdhanian.gumroad.com/… === 💾 Save this for later & RT to help others learn API design. 👤 Follow @e_opore + turn on notifications.
11
190
2
862
36,137
Anthropic pays engineers $750,000+ a year to understand how LLMs work. Stanford just put a 2 hour lecture that covers 80% of it for FREE. Bookmark this. Give it 2 hours today. It might be the highest ROI thing you do this month:
225
3,188
83
21,224
2,745,889
System Design becomes EASY after you finish these Videos:
17
148
2
928
90,864
Adadi retweeted
If you're building something genuinely breakthrough and you've been looking for the right funding, the EU's EIC Accelerator might be the one. €634 million on the table. Up to €2.5M in grants, up to €10M in equity, and the grant side is non-dilutive. Cut-off 3 closes May 6th.
16
64
3
381
34,995
Adadi retweeted
Replying to @ConsciousRide
Well listed bro!! You can add MCP as well
1
1
4
4,406
INSTEAD OF WATCHING NETFLIX TONIGHT. Spend 1 hour with this. Claude AI FULL COURSE that teaches you how to BUILD and AUTOMATE anything. The people who watch this tonight will wake up tomorrow with a new skill. Watch it and Bookmark it now.
66
641
7
3,859
319,306
One of my friends got rejected in a Spring Boot Microservices interview, not because he didn’t know concepts, but because he couldn’t answer real production issues. That’s when we realized, interviews are no longer about theory — they’re about real-world problem solving. Here are 15 real production scenario-based questions: 1. Your Spring Boot service CPU suddenly spikes to 90% in production. How will you investigate and fix it? 2. After deployment, your service starts throwing intermittent 500 errors. How will you debug this issue? 3. One microservice goes down and causes a chain failure in other services. How will you prevent this in future? 4. Your API response time increased from 200ms to 3 seconds after a new release. How will you identify the root cause? 5. Database connections are getting exhausted under load. What steps will you take to fix this? 6. A third-party service you depend on is timing out frequently. How will you handle this in your system? 7. You observe duplicate transactions happening in your system. How will you prevent this? 8. Logs are too large and distributed, making debugging difficult. How will you improve observability? 9. Memory usage keeps increasing and your service crashes after some time. How will you detect and fix memory leaks? 10. Your microservice works fine locally but fails in production. How will you approach debugging? 11. A new deployment breaks one feature but works for others. How will you safely roll back? 12. Traffic suddenly spikes 5x during peak hours and your service becomes slow. How will you scale? 13. Inter-service communication is failing due to network latency. How will you optimize it? 14. You need to trace a single request across multiple services during a failure. How will you implement tracing? 15. A bug in one service causes inconsistent data across multiple services. How will you handle data consistency? If you can answer these with real solutions, you are already at production-level understanding.
17
73
3
354
38,793
Adadi retweeted
the fastest shortcut to an AI engineering job offer that nobody talks about: understand game theory every multi-agent system, every reinforcement learning model, every adversarial network, runs on these exact principles this 1-hour Yale lecture is FREE and covers what most AI engineers never bother to learn that's exactly why it's an ADVANTAGE P.S. I learnt these principles when I was 15 and that's why in 19 I could work with 200+ projects [ BOOKMARK ]
33
138
3
1,101
128,194
After multiple senior backend interviews, I realized something. There’re high chances of cracking the interview if you’ve actually implemented the systems, and not just read about them. Next 10 days, implement these with the help of your favourite LLM. 1. Feature Flag System Interfaces, rules engine, extensibility. 2. Retry + Backoff Library Strategy pattern, pluggable policies. 3. Notification Routing System Channels, priorities, templates. 4. Rate Limiter Algorithms, abstractions, thread safety. 5. Circuit Breaker States, transitions, failure thresholds. 6. Metrics Aggregator Time windows, aggregation logic, concurrency. 7. Configuration Manager Versioning, caching, listeners. 8. Payment Processing Flow State machines, idempotency, validations. 9. Cache Library Eviction policies, extensible storage. 10. Job Scheduler Workers, queues, retries, priorities. Check my pinned post for the resources to learn these.
13
86
1
755
39,351