Posts
-
· 12 min architecture
From the register to head office: the architecture of abarow, in diagrams
The architecture of abarow, an open source point of sale for grocery shops and restaurants: three tiers, selling without internet, events that are never lost or counted twice, the end-of-day gate and the update chain.
-
· 12 min go
Java vs Go: does the gap widen when the database gets faster?
Same API in Go and Spring Boot, but with in-memory Valkey instead of PostgreSQL, half the CPU, and a cold round with no warm-up. 4 scenarios, a 6-hour run.
-
· 3 min go
Meeting overlap rules, and Turkish case-insensitive matching
A small meeting planner API in Go: when two meetings overlap, why GİZLİ has to match gizli, and what a good error response looks like.
-
· 6 min go
Copying a table from PostgreSQL to MySQL with one REST call
Data Transporter, a Go service that moves rows between databases: a real 2,500-row copy, what happens when it fails halfway, and how the saved passwords are kept safe.
-
· 5 min go
Which indexes really need a rebuild? Fragmentation on SQL Server, PostgreSQL and Oracle
A small Go tool that decides per index whether to leave it, reorganize it or rebuild it, shown on a real PostgreSQL index that went from 2,117 pages to 617.
-
· 3 min go
Text to hex and back, and why a ? is a bug
A small hex converter in Go, and the one thing the old Java version got wrong: it replaced characters it could not encode with a question mark.
-
· 5 min go
A clustered scheduler without Quartz: each trigger fires once
How ScheduCloud lets several instances share one PostgreSQL and still run every scheduled job exactly once, shown with 630 real runs on two instances.
-
· 4 min go
Rewriting a Spring Boot + Thymeleaf app in Go
VetPet, a small veterinary clinic web app, moved from Spring Boot and Thymeleaf to Go: one binary, same pages. What stayed the same, what changed, and how the security holds up.
-
· 2 min docker-compose
Run Keycloak Using Compose File To Test Localy
Run Keycloak 23.0.7 with a PostgreSQL 15 database using one Docker Compose file you create with a single command, and log in to the admin console on localhost:8080.
-
· 5 min kafka
Kafka on Your Laptop: Spring Boot Producer, Consumer and Kafka UI in One Compose File
One docker compose up gives you a Kafka broker, a Spring Boot producer, a consumer with a dead letter topic and Kafka UI. How the pieces fit, and how to poke at them.
-
· 1 min spring-boot
Dynamic Filtering Spring JpaRepository
Filter data dynamically with Spring Data's Example API (findAll(Example.of(entity))), with controller and service examples.
-
· 1 min sql-server
Extremly Fast Way For Table Row Counts Sql Server Database
A T-SQL query that lists every user table's row count, largest first, using sys.dm_db_partition_stats instead of slow COUNT(*) scans.