Sergio Moratilla - Tech Blog

About software and data

Performance and MongoDB cover image
mongodb

Performance and MongoDB

If you, a backend developer, had to describe your job, what would you say? We usually talk a lot about servers, clusters, layers, algorithms…

Flux vs ArgoCD cover image
github

Flux vs ArgoCD

I have been trying to find any comparison between FluxCD and ArgoCD that could help me choose between them. I haven’t found any that truly…

My evolution in Playtomic in Github charts cover image
github

My evolution in Playtomic in Github charts

I sometimes take a peek at the Github charts, I find interesting what they speak about. I have never looked thoroughly at the activity…

The path to observability cover image
sre

The path to observability

o11y = observability = logs, metrics, traces This post is a summary of the steps we unconsciously followed in Playtomic when digging into…

Money operations are not as easy as you think cover image
java

Money operations are not as easy as you think

I see this a lot in Stackoverflow and most of the replies always makes me wonder what kind of software is running over there. People ask…

Don't use default values in your database cover image
logging,  how-to

Don't use default values in your database

This is a bad practice in my opinion if your database is owned by one application (or service). It is the usual scenario when using…

Changing the log format in Spring Boot cover image
logging,  how-to

Changing the log format in Spring Boot

Do you know that hours of trial and error can save you minutes of reading documentation? Well, that was not the case today because I wasn’t…

Optional dependencies in Rust cover image
rust,  how-to

Optional dependencies in Rust

Yes, I’m learning a new language. A typed one =D I love C++. Some of my best code and all my research was done in C++. But I hate its…

Teaching a computer to draw cover image
machine learning,  art

Teaching a computer to draw

There must be hundreds of artists trying to mix art and computing. I have always wanted to try to perform some experiments on this topic. It…

What I see in Github contributions cover image
github,  personal

What I see in Github contributions

I have seen several people sharing their contribution graph in Github. Some of them, bragging about how dark and green their graph is. A few…

Cloud gaming cover image
cloud,  gaming

Cloud gaming

This is not a technical entry, but I still think it is worth to be written. I used to be a hardcore gamer. Hundreds of titles, thousands (I…

Choosing a documentation system cover image
documentation

Choosing a documentation system

Documentation is always the victim when developing a system. We will do it tomorrow. And tomorrow… I’m writing this because we had a deep…

A way of testing code based on time in a Spring Boot Application cover image
java,  test,  time

A way of testing code based on time in a Spring Boot Application

Every time I see a I tremble. How do you expect to test that in a simple / coherent / easy to follow way? When I see that code, I usually…

Concurrency in Spring's StreamListener and Kafka cover image
spring,  kafka,  concurrency,  stream

Concurrency in Spring's StreamListener and Kafka

Another too fast, too furious post. I have spent a few hours trying to make my event processor multi-threaded, and it’s so damn easy that I…

BlockingQueue and ExecutorService cover image
java,  threading

BlockingQueue and ExecutorService

This is a quick and dirty post, but I promised I would publish everything I research at Playtomic. Last week, we were having a discussion…

Amazed by the Soyuz cover image
learning

Amazed by the Soyuz

I never thought that one of the things that would impress me the most when visiting New York City, would be seeing a Russian Soyuz. It was…

A way to unify two authorization methods - Part I cover image
security,  startup,  spring,  microservices

A way to unify two authorization methods - Part I

Time to talk about security today. Security is one of the most important aspects of a system, and probably one of the most boring to…

What I have learned from building microservices cover image
personal,  microservices

What I have learned from building microservices

Continuous Integration + Continuous Deployment. Repeat with me: there is no agile without CI+CD. Continuous deployments get you to the next…

2 years at Playtomic.io cover image
personal,  startup

2 years at Playtomic.io

Last February I made 2 years in Playtomic. Everything goes so fast that it feels like 2 decades. It goes so fast that I started to write…

How to mix Spring Data queries and MongoDB syntax cover image
spring,  mongodb,  tech,  pills

How to mix Spring Data queries and MongoDB syntax

I love writing queries using Spring Data’s Criteria. Writing queries directly in SQL (@NativeQuery, @Query) feels a bit dirty. And I also…

Playtomic's Pipeline cover image
tech

Playtomic's Pipeline

Your continuous integration (CI) pipeline is one of the most important pieces of software you can have in your business: it runs every time…

Yet another static blog cover image
personal

Yet another static blog

Welcome, it's great to have you here.