Hasina Razafintsalama

Hasina RAZAFINTSALAMA

TECHNICAL ARTICLES (43)

Blog: Architecture, APIs & AI

Technical articles on architecture, APIs, AI, and software craftsmanship.

AI & RAG

RAG in Production: Monitoring, Costs, and Maintenance

Getting a RAG pipeline to work in a demo is the easy part. Running one reliably in production is a different job: cost visibility, index maintenance, embedding-model migration, and alerting on silent retrieval failures.

2026-07-11·11 min
Read →
Architecture

Clean Architecture: Building Software That Outlives Its Framework

Clean Architecture is not about folders or diagrams, it is about one rule: dependencies point inward. Here is what that actually buys you in a real codebase.

2026-07-10·12 min
Read →
Architecture

Domain-Driven Design: Modeling the Business, Not the Database

DDD is not about repositories and aggregates first, it is about talking to domain experts until the code speaks their language. Here is how strategic and tactical DDD fit together, with a worked example.

2026-07-09·13 min
Read →
Architecture

Microservices Architecture: The Principles That Actually Matter

Microservices are not "small services". They are an organizational and architectural bet with real trade-offs. Here are the principles that separate a healthy microservices architecture from a distributed monolith.

2026-07-08·12 min
Read →
Backend

Laravel 13: What Changed Compared to Laravel 12

Laravel 13 lands with a first-party AI SDK, native PHP attributes, and JSON:API support. Here is what actually matters if you are upgrading from Laravel 12.

2026-07-08·11 min
Read →
AI & RAG

Modern RAG Architecture: Beyond the Basic Retrieve-and-Generate Loop

A naive RAG pipeline (embed, search, stuff into the prompt) gets you a demo. Production RAG needs a chunking strategy, hybrid retrieval, query transformation, re-ranking and an evaluation loop. Here is the full architecture.

2026-07-07·12 min
Read →
Frontend

React 19 in 2026: The Compiler and Server Components, for Real

React 19 has matured through 2026 with the Compiler eliminating manual memoization and Server Components finally becoming a default pattern. Here is what changed since React 18.

2026-07-03·11 min
Read →
Backend

FastAPI Routing and Validation: A Practical Guide

Routing and validation are most of what makes a FastAPI service clean. Here is how APIRouter, Pydantic constraints, response models and custom errors fit together, plus what changed in 2026.

2026-06-27·11 min
Read →
Backend

PHP 8.5: The New Features That Actually Matter for Backend Work

PHP 8.5 brought the pipe operator, native URI parsing, clone() with property changes, and the NoDiscard attribute. Here is what each one changes in day-to-day backend code, and what to adopt now.

2026-06-22·11 min
Read →
Architecture

Migrating a Laravel Monolith to Microservices

A step-by-step approach to breaking up a Laravel monolith without bringing production down: when not to, the prerequisites, the strangler fig pattern, finding boundaries, and the hard part, the data.

2026-06-10·12 min
Read →
DevOps

Docker and Kubernetes: Orchestrating Your Services Without Getting Lost

Containers are the easy part. Running dozens of them reliably is where it gets hard. Here is a practical primer: multi-stage Docker builds, when you actually need Kubernetes, the core objects, health checks, and the managed alternatives.

2026-06-05·12 min
Read →
Backend

Designing a Robust, Scalable REST API with Laravel

Laravel builds a REST API fast, but fast is not production-ready. Here are the structural decisions that decide whether it scales: structure, resources, validation, versioning, auth, rate limiting, pagination, errors, docs and tests.

2026-05-28·12 min
Read →