Urgent.News

What's breaking now, across hundreds of outlets.

Tech

One YAML file is your architecture: assembling a production-grade Go microservice from config alone

In my last post I introduced the architecture behind GoWind — the framework that carries 20+ enterprise products on a single Go stack: a core under 500 lines, 130+ plugins, and assembly by configuration instead of code. This post is the hands-on follow-up. We're going to assemble the kind of service you'd actually ship — HTTP and gRPC transports, PostgreSQL, Redis, MinIO, Kafka, distributed…

One YAML file can define an entire microservice architecture in GoWind. This framework allows assembling a production-grade Go microservice using just configuration files, without writing any code. The core of the system is a small core of under 500 lines, complemented by various plugins for different functionalities.

To demonstrate this, the source provides an example of an HTTP and gRPC microservice, equipped with PostgreSQL, Redis, MinIO, Kafka, distributed tracing, and service discovery in etcd. The main.go file only contains the gRPC service implementation registration and the bootstrap startup process.

One key aspect of this architecture is that all infrastructure concerns, such as connection pools, health checks, lifecycle ordering, and shutdown semantics, are defined declaratively in the YAML file. The code merely needs to retrieve these pre-assembled instances based on their type keys, allowing it to focus on implementing the actual business logic.

Additionally, the source showcases how to scale the architecture by including additional services like service registry (Consul), tracing (OTLP), cache (Redis), database (PostgreSQL), object storage (MinIO), and message broker (Kafka). All these services can be defined in a single YAML file, making it possible to manage complex microservice architectures with just a few lines of configuration.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

More from Dev.to on urgent.news

Get the news by email. Yesterday's most-covered stories, every morning.

See today's edition · More options

More in Tech

VLOOKUP is not broken: why it says #N/A when the value is right there

You can see the value. It is on row 412 of the price list. You typed it into the formula. And Excel still answers #N/A. This is the most common spreadsheet support question there is, and almost every…

  • VLOOKUP returns #N/A when cells are not equal
  • Text-formatted numbers and real numbers do not match
  • Invisible characters, spaces, and leading zeros can cause issues

Write a custom middleware plugin for a 500-line Go framework (complete walkthrough)

This is part 3 of a series on GoWind , the framework behind our 20+ product suite: The building-block architecture — a core under 500 lines, 130+ plugins One YAML file is your architecture…

  • 500-line middleware plugin for GoWind framework
  • Supports HTTP/gRPC/DB/cache/tracing via YAML config
  • IP blocklist configured through YAML with CIDR ranges

I built a daily Bible trivia game that climbs from Hell to Heaven

I recently shipped Biblillion ( https://biblillion.com ), a small pixel-art Bible trivia game, and I want to share how it works and what I learned building it.

  • Biblillion is a daily Bible trivia game with 1,301 questions.
  • Players ascend from Hell to Heaven with correct answers.
  • The game offers a vertical progression and no account registration.

More from Sunday, 6 December 2026 →