Ahmed Bawazir (@a_Dev23) header
Ahmed Bawazir (@a_Dev23) profile picture

Software Engineer @WahadatApp

Riyadh
Joined May 2019
Photo by Ahmed Bawazir (@a_Dev23)
Ahmed Bawazir retweeted
ايه اللي بيحصل اما تدوس علي Run query فأي DBMS ؟ اول حاجه لازم تعرف ان SQL Declarative (non-procedural) يعني انت بتقول للداتا بيز انت عاوز ايه ومش بتقول تتنفذ ازاي او ايه الخطوات اللي يمشي عليها ال DB Engine بيعمل كذا ستيب علشان يعرف ينفذ الكويري بتاعتك ويرجعلك ال result
5
5
85
3,378
Ahmed Bawazir retweeted
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,937
149,921
Ahmed Bawazir retweeted
Building Distributed Systems from Scratch Every track and capstone project, left to right in a suggested order. Solid arrows are dependencies the tracks state themselves; dashed arrows are a recommended order. Link: builddistributedsystem.com/r…
8
57
2
491
21,674
قبل ما تدفع 500$ على فيديو موشن جرافيك... شوف وش صار Opus 5.5 يقدر يسوي. هذا المقال تقريبا كل اللي تحتاجه عشان تبدأ تسويه بنفسك👇
10
61
2
743
139,902
Ahmed Bawazir retweeted
I built a voice controlled computer-use for my mac using @typesafeai's Jev and it's INSANE how fast it is! I can dictate "open the notes app and create..." and the app opens before I even finish my sentence.
225
322
126
6,254
666,284
Ahmed Bawazir retweeted
A complete guide to all the building blocks in System Design.
31
232
18
1,618
244,712
Ahmed Bawazir retweeted
This GitHub repository (with 100+ case studies) contains everything you need to become proficient in System Design: github.com/Coder-World04/Com…
89
505
30,887
Ahmed Bawazir retweeted
Codex can generate charts inline... Here are the different charts you can ask for: 1. Before-and-After Diagram 2. Cause-and-Effect Chart 3. System Architecture Diagram 4. Network Map 5. Data-Flow Diagram 6. Information-Flow Diagram 7. Flywheel 8. Feedback Loop 9. Hierarchy Chart 10. Organization Chart 11. Mind Map 12. Concept Map 13. Relationship Map 14. Ecosystem Map 15. Stakeholder Map 16. Dependency Map 17. Journey Map 18. User-Flow Diagram 19. Roadmap 20. Milestone Chart 21. Gantt-Style Chart 22. Swimlane Diagram 23. Sankey-Style Flow Chart 24. Venn Diagram 25. Comparison Table 26. Comparison Matrix 27. Quadrant Chart 28. Pros-and-Cons Chart 29. Pyramid Diagram 30. Layer Diagram 31. Spectrum Chart 32. Maturity Model 33. Progression Chart 34. Scorecard 35. Statistic Cards 36. Bar Chart 37. Line Chart 38. Donut Chart 39. Scatter Plot 40. Heat Map 41. Annotated Interface Diagram 42. Exploded Interface Diagram 43. Code-to-Outcome Diagram 44. How-It-Works Explainer 45. Incident Reconstruction Diagram
The built in diagram skill inside codex is very useful for understanding complex topics.
15
54
3
733
69,181
It’s finally happening #FlutterDev 🚀
10
11
116
10,091
SOLID principles are key in object-oriented programming. But what does each principle actually mean, and why are they significant? 🧵
28
242
9
1,009
183,435
4 Trending Java Libraries, You Should Definitely Use as Beginner in 2022: 🧶👇
13
48
1
177