Featured

6 Tips on High Performance Go — Advanced Go Topics

The article aims to discuss 6 tips that could help diagnose and fix performance problems in your Go applications. Benchmarking: Writing effective benchmarks in Go is crucial for understanding the performance of your code. Benchmarks can be created by adding the suffix “_test” to a Go file and using the testing package’s Benchmark function. Here’s an example: In this example, we’re benchmarking the time it takes to calculate the 20th Fibonacci number....

April 26, 2023 · 6 min · 1166 words · David Lee
Featured

Hexagonal Architecture Deep Dive with PostgreSQL, Redis and Go Practices

Neal Ford & Mark Richards, in their book *Fundamentals of Software Architecture: An Engineering Approach, *came up with four dimensions that make up software architecture. They are often referred as the “Pillars of Software Architecture”: Common challenges in building software systems What is Hexagonal Architecture? Hexagonal Architecture, also known as Ports and Adapters Architecture or Clean Architecture, is a software architecture pattern that promotes loose coupling between the application core (business logic) and external components such as user interface, database, and external services....

April 19, 2023 · 20 min · 4121 words · David Lee