Distributed Systems at Scale
Event-driven, high-throughput systems that stay real-time under production load: partitioning, messaging, and stream processing with Kafka and Redis.
Software Architect
I design large-scale, real-time systems that stay fast under heavy traffic and honest about what they cost. I also put AI to work in engineering, and I test what it builds beyond the happy path.
Based in Sofia, Bulgaria. Conference speaker and published researcher.
Event-driven, high-throughput systems that stay real-time under production load: partitioning, messaging, and stream processing with Kafka and Redis.
Latency, throughput, and availability that hold when traffic spikes: caching, profiling, and resilience designed in before the incident, not after.
TCO, ROI, and infrastructure cost as first-class design inputs, so decisions hold up under real production and budget constraints.
LLM workflows and AI agents in engineering: guardrails, evaluation, and local LLMs alongside hosted models, backed by peer-reviewed research on LLM-assisted optimization.
Making AI-generated code prove itself: integration testing, performance testing, and human review beyond the happy path.
The Offline Years, literary coming-of-age fiction set in Bulgaria before smartphones. Book One, The Circus Money, is in development.
What software really costs: TCO, ROI, hidden engineering costs, risk, and how to put architecture trade-offs in terms stakeholders can act on.
Workshop detailsWhere AI-generated code fails in production, and the integration, performance, and human checks that catch it before it ships.
Workshop detailsHow a high-traffic platform moves bet history at scale: raising throughput while cutting reporting latency, operational risk, and cloud cost.
Read on MediumAn infrastructure migration to AMD EPYC, validated with stress testing: Redis-backed performance held, KPIs improved, and the bill went down.
Read on MediumElectronics (MDPI), 2026. Local LLMs propose SQL rewrites and the system trusts none of them: every candidate is empirically validated, so each accepted rewrite provably returns the same results, faster.
Read the paperBooks & fiction
Literary coming-of-age fiction set in Bulgaria before smartphones: friendship, first love, and the years nobody photographed.
Book One, The Circus Money, is in development.
Martin Kostov is a software architect in Sofia, Bulgaria. He works on real-time systems designed for the worst minute of the day: high-traffic production where spikes are routine, events never stop arriving, and speed, reliability, and cost all have to hold at once.
He applies one rule to AI in engineering: it has to show its work. His peer-reviewed research in Electronics (MDPI) has local LLMs propose SQL rewrites, then validates each one empirically before it counts. His talks and workshops bring the same habit to the total cost of ownership of software and to testing AI-generated code beyond the happy path.
Away from production systems, he writes fiction. The Offline Years is a literary coming-of-age story set in Bulgaria before smartphones, when nothing was saved unless someone remembered it. Book One, The Circus Money, is in development.
A system to scale, a workshop or talk invitation, or a question about the paper or the book? Send a message.