Corentin GS

/corentings

Corentin GS

Teaching Go for cloud-native microservices to backend beginners. Self-taught developer with 5 years of experience. Making the practical course I wish existed.

X (Twitter)LinkedinThe Golang Blueprint
User Avatar

Corentin GS

1y ago

🚀 Still stuck in CRUD-land?
You know the feeling: another day, another create-read-update-delete loop. Your Go basics are solid, but the leap to serious, production-ready back-end systems feels… foggy.

Here’s the good news: the path isn’t secret—it’s structured.


✨ Your 30-Day Escape Plan

Week 1 – Advanced Go & Concurrency
Goroutines, channels, select, mutexes—master them and refactor a basic CRUD app to handle thousands of requests.

Week 2 – Architecting Robust APIs
Design first with OpenAPI, code-gen your endpoints, and keep things idiomatic with chi (or echo). By Day 14, you’re shipping a full, type-safe API.

Week 3 – Data & Persistence Mastery
Think raw SQL + sqlc over heavy ORMs. Manage migrations with goose or golang-migrate, tap into pgx, and sprinkle in Redis for caching and speed.

Week 4 – Production-Ready Go
Unit + integration tests, Docker, CI/CD, structured logging, Prometheus metrics, distributed tracing. Day 30 goal: a fully observable Go service running in the cloud.


This isn’t “write more Go.”
It’s adopting the mindset of a back-end architect—building systems that are scalable, resilient, and maintainable.

👇 Drop a “🚀” if you’re ready to break out of CRUD and level up!

User Avatar

Corentin GS

1y ago

🚨 My Python Lambda was a ticking time bomb.

I defused it with Go
Timeouts, retries, mounting AWS bills…the whole nine yards.

The False Start in Python

I chose Python for speed of development and the promise of rich libraries. A popular PGN parser looked perfect—until it wasn’t.

Counter-intuitive API → days spent bending it to my will.

Large games → sky-high memory, Lambda timeouts, and a pager that wouldn’t stay quiet.

The Go Rewrite ⚙️

Enough firefighting. I rewrote the parser in Go, laser-focused on streaming performance:

Reads PGN files chunk-by-chunk — almost zero extra allocations.

No GC storms, no hidden abstractions. Just raw speed.

Result: 14× faster execution and a 93 % drop in processing time.

The Business Impact 💸

Zero timeouts → no cascading retries or surprise bills.

Stable service → happier stakeholders (and on-call engineers).

Cheaper to run → performance ≠ luxury; it’s the foundation in a serverless world.

Sometimes the language that’s quicker to write is costlier to run.

Have you ever had to switch languages to obliterate a bottleneck?


I’d love to hear your war stories—and the lessons they taught you—down in the comments.👇

User Avatar

Corentin GS

1y ago

Your try/catch is lying to you. Go’s errors tell the truth.

(Python & Node devs, cue the keyboard fury 👇)

3 ways if err != nil beats try/catch:


1️⃣ No surprises – A Go signature func() error promises it might fail; Python’s def my_func() promises nothing.


2️⃣ Forced accountability – Linters yell if you ignore an error. In try/catch land, silent failures lurk until 2 AM.


3️⃣ Traceable breadcrumbs – Go errors are values you wrap (%w) for a clear story. Stack traces or generic except blocks often lose that trail.

Verbose? Maybe. Honest? Absolutely. Every if err != nil is a conscious design choice—the heartbeat of reliable systems.

💬 Over to you: Is explicit error handling freedom or busy-work? Would you trade convenience for clarity? Drop your best defense below—respectfully 😉.

User Avatar

Corentin GS

1y ago

🚀 Is Microservices with Go, 2nd Edition by Alexander Shuiskov the most practical Go microservices book available today?

I recently picked up Microservices with Go, 2nd Edition because most microservices books either drown you in abstract theory or toy examples that crumble in production.

Here’s what stood out:

✅ Real-world focus: Goes beyond spinning up HTTP servers. It walks you through testing strategies, security concerns, observability, and operational nightmares that senior engineers face daily.

✅ Go-centric approach: Instead of generic, language-agnostic fluff, it leverages Go’s strengths—idiomatic error handling and the power of its standard library without forcing heavyweight frameworks.

✅ Cohesive narrative: Rather than disconnected snippets, the entire book builds a movie application progressively, making each chapter practical and contextually anchored.

✅ No silver bullet promises: Shuiskov is honest about when not to use microservices and the pitfalls they introduce. That pragmatic take is rare in technical writing.

But a word of caution:

This isn’t for weekend warriors or Go beginners. You’ll need familiarity with idiomatic Go, dependency injection, SQL transactions, and the basics of distributed systems to get full value.

Bottom line?

If you’re serious about building robust Go microservices in production, Microservices with Go, 2nd Edition is the book to keep by your side. But pair it with a strong system design resource like Designing Data-Intensive Applications to gain both tactical implementation and strategic design skills.

📝 I’ve shared my full, detailed review with practical takeaways in my Substack newsletter.

👉 Read it here: https://open.substack.com/pub/thegolangblueprint/p/is-alexander-shuiskovs-microservices?r=5grk54&utm_campaign=post&utm_medium=web&showWelcomeOnShare=true

Curious – what’s your go-to resource for building production-grade microservices in Go?

If you want to buy the book, you can find it here : https://www.packtpub.com/en-fr/product/microservices-with-go-9781836207320

User Avatar

Corentin GS

1y ago

💡 Want to improve your coding skills consistently without feeling overwhelmed?

Many developers believe long study marathons are the only way to progress. In reality, building small, intentional habits can drive sustainable growth.

Here are 3 daily habits to enhance your coding skills effectively:

1️⃣ Practice coding challenges regularly
Allocate time each day for short problem-solving sessions. This strengthens your logical thinking, syntax fluency, and confidence under constraints.

2️⃣ Review and optimize your past code
Instead of always starting something new, revisit old solutions. Refactor them with cleaner logic or improved efficiency. This cultivates critical thinking and mastery over time.

3️⃣ Set daily coding goals and track progress
Whether it’s completing a problem set, learning a new algorithm, or debugging a project feature, clear goals keep your learning structured and measurable.

🔥 Remember, progress is not about the hours you put in at once – it’s about the habits you build every day.

👉 What daily coding habits have made the biggest difference in your journey?
Share below to inspire others in the community.

User Avatar

Corentin GS

1y ago

🚀 Go 1.25 is addressing one of the ecosystem’s longstanding pain points: JSON performance.

With this release, Go introduces an experimental JSON implementation (encoding/json/v2), enabled by setting GOEXPERIMENT=jsonv2 at build time.

🔍 Why is this significant?

For years, developers have relied on third-party libraries like go-json to overcome the standard library’s performance limitations. Now, the Go team is taking a clear step towards unifying these improvements within the standard library itself – similar to what they did with structured logging by introducing slog.

✅ Faster decoding performance
✅ More configuration options for marshaling and unmarshaling
✅ Reduced dependency on external libraries for critical tasks

💡 My reflection:
It’s great to see the Go team listening to real-world pain points and integrating what the most popular libraries in the ecosystem addressed – ensuring developers can rely on the standard library for performant, production-ready JSON handling without additional dependencies.

👉 Have you ever encountered performance issues with JSON in Go?
I’d be curious to hear your experiences and whether this experimental implementation might simplify your stack.

User Avatar

Corentin GS

1y ago

🚀 Feeling overwhelmed by endless coding resources? Here’s how to build your personalized learning path.

When learning to code, it’s easy to jump between tutorials and courses without a clear structure. To truly progress, a strategic approach is essential.

Here are 4 steps to develop a focused and effective coding learning path:

1️⃣ Identify your goals and desired outcomes
Are you learning for a career change, to automate tasks at work, or to build personal projects? Clarity here sets your direction.

2️⃣ Select the right learning resources
Not every course suits every goal. Choose resources that align with your learning style and targeted outcomes – whether that’s interactive platforms, structured bootcamps, or project-based tutorials.

3️⃣ Set a realistic timeline
Consistency beats intensity. Break down your goals into daily or weekly milestones to avoid burnout and maintain momentum.

4️⃣ Monitor your progress and adjust as needed
Reflect regularly: Are you closer to your goals? Is the resource effective? Pivot when necessary to stay aligned with your outcomes.

💡 Learning to code is not just about consuming information. It’s about designing a path that works for you.

👉 How did you build your coding learning plan?
Share your approach or challenges below – your insights might help someone starting out today.

User Avatar

Corentin GS

1y ago

Over the last 5 years, I've gone from struggling with basic syntax errors to architecting scalable systems.

But I learned some tough lessons along the way:

If I had to start over, these are the 3 framework principles I'd staple to my mirror:

Learn by solving real problems, not following tutorials

I spent my first year completing endless coding bootcamps and YouTube tutorials, but couldn't build anything original.

The breakthrough came when I started picking actual problems I wanted to solve and figuring out the code as I went.

Now, to the next tip:

Turn every mistake into a learning system

At first I was:

• Making the same errors repeatedly without tracking them

• Getting frustrated and moving on quickly when things broke

• Treating bugs as roadblocks instead of learning opportunities

Once I embraced keeping a "failure notebook" to document every mistake and solution I was able to:

• Spot patterns in my coding blind spots

• Build a personal reference guide of solutions I'd already figured out

• Transform debugging from frustration into systematic improvement

Quite the transformation!

Study how others solved the challenges you're facing

Instead of reinventing every wheel, I started researching how experienced developers tackled similar technical problems. Reading through GitHub issues, Stack Overflow discussions, and technical blog posts became my secret weapon for leveling up faster.

Hope these help.

User Avatar

Corentin GS

1y ago

Why does everyone chase Rust hype...

When Go delivers production-ready code without the learning curve?

Don’t get me wrong — Rust is brilliant.

→ Memory safety without garbage collection? Revolutionary.
→ Zero-cost abstractions? Beautiful.
→ The borrow checker? Genius engineering.

But here’s what I see in the real world:

Rust reality:

→ 6 months to write idiomatic code
→ Devs fighting the compiler more than solving problems
→ Simple tasks turned complex by ownership rules
→ Team velocity drops 50% during adoption
→ Hiring pool limited to Rust die-hards

Go reality:

→ 2 weeks to productive backend development
→ Code that reads like English
→ New hires contribute on day one
→ Ship features while others debug lifetimes
→ Huge talent pool of productive developers

Here’s the truth nobody talks about:

Most backend services don’t need Rust’s complexity.

You’re building CRUD APIs — not operating systems.
You need developer velocity — not zero-allocation networking.
You want maintainability — not compiler-enforced perfection.

So here’s the controversial take:

Choosing Rust for typical backend work...

Is like using a Formula 1 car for grocery runs.

Technically superior? Sure.
Practical for most teams? Not even close.

What’s your take?

Is Rust’s learning curve worth it for everyday backend dev?
Or are we just over-engineering simple problems?

P.S. Repost this♻️ if you're Team Practical over Perfect.

User Avatar

Corentin GS

1y ago

Context: Go's Elegant Weapon Against Concurrency Chaos
Corentin GS

In the wild west of concurrent programming, Go's context package emerges as the sheriff that brings law and order to potentially chaotic interactions among goroutines. While channels handle data flow, context handles control flow—silently propagating cancellation signals through your application's concurrency tree like a well-orchestrated cascade.

Consider a typical microservice that handles an HTTP request, spawning database queries, cache lookups, and downstream API calls. Without context, a client disconnect leaves these operations running mindlessly, consuming resources for work that will never be used. Context transforms this chaos into elegant coordination.

ctx, cancel := context.WithTimeout(parentCtx, 5*time.Second)
defer cancel()

results := make(chan Result, 3)
go fetchFromDB(ctx, results)
go fetchFromCache(ctx, results)
go fetchFromAPI(ctx, results)

When the timeout expires or cancel() is called, all three goroutines receive the signal through ctx.Done(). No manual tracking, no complex synchronization—just clean, propagated cancellation.

The true elegance lies in the context's composability. Each function can create child contexts with their deadlines or values, forming a cancellation tree that mirrors your call graph. When a parent context is canceled, all its descendants follow suit automatically.

This design shines in distributed systems where request cascades can spiral out of control. A single user request might trigger dozens of internal operations across multiple services. Context ensures that when the original request is cancelled, the entire operation tree collapses gracefully, preventing resource leaks and reducing system load.

By embracing context as a first-class citizen in your Go applications, you transform potential concurrency nightmares into well-behaved, resource-efficient systems. It's not just about preventing goroutine leaks—it's about building systems that fail fast, fail clean, and respect both system resources and user time.

User Avatar

Corentin GS

1y ago

If I could restart my dev career…

I’d learn SQL deeply before touching a single ORM. 🧠

Everyone jumps straight to:

→ Gorm
→ Hibernate
→ Prisma

However, no one discusses the one skill that truly matters when things go wrong.

After years of debugging slow queries and ORM mysteries...

Here’s what I wish someone had told me:

Before mastering SQL (aka the painful years):

→ ORM queries that looked clean… but ran like garbage
→ N+1 problems everywhere (“the ORM handles it”)
→ 30-second page loads, I couldn’t debug
→ Weekly Googling: how to optimize [ORM] query
→ Full-on panic when the ORM’s “magic” failed

After learning SQL first (aka the revelation):

→ Writing queries that perform
→ Reading & understanding ORM-generated SQL
→ Debugging DB issues in minutes, not hours
→ Optimizing at the SQL level, not fighting abstractions
→ Total confidence when performance drops

Here’s the truth nobody talks about:

ORMs don’t make databases easier.
They make databases invisible.

Project impact? Night and day:

→ Query debugging: 2 hrs → 10 min
→ DB performance: 10x improvement
→ Incidents: 80% fewer DB-related issues
→ Team confidence: No more query panic

But here’s the problem…

Most devs learn ORMs first.
Then spend years fighting database performance with abstractions.

⚠️ Controversial take:

Learning ORMs before SQL...
It's like learning to drive with training wheels that never come off.

You think you're going fast.
But you’ve got no idea what's going on under the hood.

SQL teaches you joins, sets, and indexes.
ORMs teach you to hope for the best.

What’s one skill you wish you had learned before the abstraction layer?👇

#sql #database #orm #backend #performance #webdev #programming

P.S. — ORMs are not entirely evil; they are great tools once you know what you're doing. Until then, write your SQL queries.

User Avatar

Corentin GS

1y ago

Context Leaks: The Invisible Technical Debt Draining Your Go Systems
Corentin GS

In Go, context leaks are silent killers.

They don't raise alarms. They don’t crash your app on day one. But over time, unreleased goroutines and dangling contexts accumulate like toxic waste—silently consuming memory, degrading performance, and eroding system reliability.

They're technical debt you don’t see until it’s too late.

Every time a context.WithCancel is never called, or a goroutine outlives its purpose, your system pays a hidden cost. These leaks act like gumption traps, draining both your server’s vitality and your team’s morale, memory spikes. Latency creeps. Logs flood with cryptic timeouts. Debugging becomes a nightmare.

And the worst part? It all looks fine in development.

The solution isn’t magic—it’s discipline.

Build structured cancellation trees. Pass context consistently and cancel it predictably. Profile with tools like pprof and go tool trace to reveal what’s lurking beneath the surface. Treat goroutines as resources to be released, not just launched.

Because context leaks don’t make noise.

They make systems fragile.

And in production, fragility costs you more than just uptime—it costs you trust.

User Avatar

Corentin GS

1y ago

If I could restart my dev journey...

I’d learn Domain-Driven Design (DDD) before any other architecture. 🎯

Everyone talks about MVC. Clean. Hexagonal.

But no one mentions the one that changes how you think about code.

After 5 years of building applications —
Here’s what I wish someone had told me:

Before DDD (a.k.a. the painful years):

→ Business logic scattered across controllers, services, and utils
→ “Simple” feature = edits in 15+ files
→ Hours spent decoding what the business wants
→ Infinite if statements for edge cases
→ User stories that sound like technical specs

After DDD (a.k.a. the revelation):

→ Business concepts live in one place → the domain
→ Features map directly to domain operations
→ Code that business people understand
→ Edge cases = explicit business rules
→ Requirements = domain conversations

The shift isn’t just technical — it’s conceptual.

DDD doesn’t just organize your code.
It organizes your thinking.

Real project impact:

→ Feature time: 3 days → 1 day
→ Bug hunting: Hours → Minutes
→ Onboarding: 2 weeks → 3 days
→ Business alignment: Translation → Direct convo

But here’s the problem...

Most devs learn MVC first.
Then spend years fighting complexity with more “patterns”.

⚠️ Controversial take:

Learning MVC before DDD...
It's like learning grammar before vocabulary.

You can structure sentences.
But you have no idea what you're trying to say.

DDD teaches you to speak business in a code-like language.
Everything else is just formatting; that conversation is the main point.

Your turn —
Which architecture changed how you think, not just how you code?👇

#ddd #architecture #softwaredesign #cleancode #domainmodeling

#development

P.S. — Anyone else spend their first 3 years wondering where the business logic “belongs”?
DDD answered that for me on day one. 💡

P.S. bis. It doesn't mean you can't mix DDD with hexagonal or VSA. My point is to start learning DDD and then implement it with whatever you like, as long as you start with the domain.

User Avatar

Corentin GS

1y ago

Why does everyone chase Rust hype...

When Go delivers production-ready code without the learning curve?

Don’t get me wrong — Rust is brilliant.

→ Memory safety without garbage collection? Revolutionary.
→ Zero-cost abstractions? Beautiful.
→ The borrow checker? Genius engineering.

But here’s what I see in the real world:

Rust reality:

→ 6 months to write idiomatic code
→ Devs fighting the compiler more than solving problems
→ Simple tasks turned complex by ownership rules
→ Team velocity drops 50% during adoption
→ Hiring pool limited to Rust die-hards

Go reality:

→ 2 weeks to productive backend development
→ Code that reads like English
→ New hires contribute on day one
→ Ship features while others debug lifetimes
→ Huge talent pool of productive developers

Here’s the truth nobody talks about:

Most backend services don’t need Rust’s complexity.

You’re building CRUD APIs — not operating systems.
You need developer velocity, not zero-allocation networking.
You want maintainability, not compiler-enforced perfection.

So here’s the controversial take:

Choosing Rust for typical backend work...

It's like using a Formula 1 car for grocery runs.

Technically superior? Sure.
Practical for most teams? Not even close.

What’s your take?

Is Rust’s learning curve worth it for everyday backend dev?
Or are we just over-engineering simple problems?

P.S. Repost this♻️ if you're Team Practical over Perfect.

P.S. bis. I like Rust, but not for microservices or a simple backend app.

User Avatar

Corentin GS

1y ago

Why does everyone obsess over Node.js...

When Go ships binaries that just work?

Every day I see teams wrestling with:

→ npm install failures in production
→ Node version mismatches across environments
→ 500MB Docker images for simple APIs
→ Dependency conflicts that break at 3AM

Meanwhile... Go just works.

Here’s what Go gives you:

→ A single 15MB binary (vs. 500MB+ Node.js containers)
→ Zero runtime dependencies
→ Copy the file → Run it → Done
→ Works on any Linux box without setup
→ No package.json, no node_modules, no version hell

Just compiled code that runs. Anywhere.

But folks keep choosing complexity...

Because “JavaScript everywhere” sounds convenient.

Until you're stuck debugging why your API won’t start
(because a transitive dependency broke in production)

Curious —
Is Go’s simplicity “old school”?
Or is it actually revolutionary?

P.S. Repost this♻️ for your network if you're Team Go.

User Avatar

Corentin GS

1y ago

Why is no one building APIs with Go?

(when it's an absolute monster for backend performance)

Everyone's shipping APIs in:

→ Node.js
→ Python
→ Django

But Go?

It just sits there quietly... outperforming everything.

I've been building production APIs in Go for 4+ years.

Here are the numbers:

→ 50,000+ requests/sec on a single core
→ 25MB memory vs 150MB+ for Node.js
→ 10ms cold starts vs 2-3s for JVM APIs
→ 15MB Docker images vs 500MB+ for Node

Just clean, fast, compiled code that scales.

No trendy GraphQL framework.
No full-stack hype like Next.js.

Just performance.

Teams still stick with what’s popular on Twitter.
But when you need to perform under load?

Go delivers.

Question is:

Is Go too “boring” for modern API development?

Or are we just addicted to shiny objects?

#golang #backend