# Marios Gavriil > Marios Gavriil, Senior Software Engineer: candid Java and Spring Boot write-ups from real problems, with the numbers, the mistakes and public code. Marios Gavriil (GitHub: mikopos) is a Senior Software Engineer with about a decade of experience building web applications, mostly with Java and Spring Boot. This is his personal site and engineering blog: first-person write-ups of real problems with measured results, and explainers on backend patterns (idempotency, the CAP theorem, Spring WebFlux and Project Reactor, the API gateway pattern), several built around the public springboot-flagship repository. Outside work he plays piano and guitar, composes music and cooks. Canonical address: https://mariosgavriil.com/ (mikopos.github.io redirects here). Employers are not named on this site. ## Posts - [What is an API-Gateway](https://mariosgavriil.com/tech/2026/03/12/what.html): The API gateway pattern explained with Spring Cloud Gateway: routing, StripPrefix, Resilience4j circuit breakers, rate limiting, CORS and common pitfalls. (March 2026, about 12 min read) - [Spring WebFlux and Project Reactor](https://mariosgavriil.com/tech/2025/11/18/webflux.html): Spring WebFlux and Project Reactor through 10 demo scenarios: Flux basics, backpressure, onErrorResume/retry, hot vs cold streams and SSE. (November 2025, about 12 min read) - [From Local Chaos to Cloud Success](https://mariosgavriil.com/tech/2025/10/28/railway_deployment.html): Deploying six Spring Boot microservices on Railway without Kubernetes: env-var profiles, gateway routing, a shared Postgres and Kafka events. (October 2025, about 5 min read) - [How I almost deployed a security disaster and lived to tell the tale](https://mariosgavriil.com/tech/2025/10/13/security_disaster.html): A pre-launch scan found 47 vulnerabilities in my Spring Boot microservices. How I fixed hardcoded secrets, CSRF, input validation, JWT and authorization. (October 2025, about 11 min read) - [The Day I Made My Microservices 40% Faster (And What I Learned)](https://mariosgavriil.com/tech/2025/10/08/microservice_optimization.html): How HikariCP pooling, Redis caching, JVM container tuning and Kafka events took my Spring Boot microservices from 800 ms to 480 ms response times. (October 2025, about 7 min read) - [Designing a Flagship E-Commerce Microservices Architecture](https://mariosgavriil.com/tech/2025/09/30/Designing.html): The architecture behind my Spring Boot e-commerce project: Spring Cloud Gateway, Kafka events, Keycloak, Redis, Kubernetes, and the trade-offs I hit. (September 2025, about 3 min read) - [Understanding the CAP Theorem](https://mariosgavriil.com/tech/2025/03/07/cap.html): The CAP theorem in plain terms: why partition tolerance isn't optional, what consistency really means, and when to choose a CP or an AP database. (March 2025, about 3 min read) - [Idempotency in APIs- Building Reliable Systems the Fun Way](https://mariosgavriil.com/tech/2025/02/21/Idempotency.html): What idempotency means for APIs and how to build it: database unique constraints, Idempotency-Key headers, Redis caches and message deduplication. (February 2025, about 12 min read) - [From 50-Seconds Queries to Lightning-Fast - My Epic Journey Optimizing MongoDB](https://mariosgavriil.com/tech/2025/02/05/from-25-secdonds-to-lighting-fast.html): How I took a MongoDB aggregation from ~50 s to ~8 ms: compound indexes for $sort, $skip/$limit pagination, TextCriteria and Java virtual threads. (February 2025, about 10 min read) ## Projects - [Garage Guy](https://garageguy.gr/): Marios's iPhone app that keeps a car's services, repairs, expenses, mileage and tyres in one timeline. Maintenance schedules by distance, time or both; reminders 30, 7 and 1 days before inspection, insurance or road tax expire. Free, iOS 18 or later, works offline with no account. [App Store](https://apps.apple.com/app/garage-guy/id6806210811) - [springboot-flagship](https://github.com/mikopos/springboot-flagship): public Spring Boot e-commerce microservices project (six services) behind the architecture, performance, security and deployment posts. ## Career - December 2021 - Today: Finally, I landed in the online travel world, helping people jet off to far-flung places. Four years later, I’m still happily coding my way around the globe—one booking at a time! - October 2020 - November 2021: Seeking stability (and fewer coffee mugs), I joined a bank as a senior engineer. Despite the mountains of paperwork, I found creativity sometimes flourishes best under 24/7 audits. - November 2019 - August 2020: I jumped into fintech, fully expecting a rocket ship to the moon—until the bills piled up faster than my pull requests. It went bankrupt, but I walked away with a story to tell and an impressive coffee mug collection! - January 2019 - November 2019: I moved on to public sector projects and discovered that bureaucracy can outsmart even the cleanest code. At least I became a pro at coding through red tape! - June 2016 - December 2018: I started as a wide-eyed junior in telecom, convinced my code would save the world. Reality hit when I realized debugging was harder than deciphering alien signals—but hey, it was fun! - September 2009 - September 2015: Started coding ## Profiles - [Github](https://github.com/mikopos) - [LinkedIn](https://www.linkedin.com/in/marios-gavriil) - [SoundCloud](https://soundcloud.com/marios-denleo) ## Optional - [Blog archive](https://mariosgavriil.com/blog/) - [RSS feed](https://mariosgavriil.com/feed.xml)