Tag: Golang
-
A comprehensive guide to logging in Go with Slog
Posted on September 10, 2023, Level intermediate Resource Length long
Logging is essential for debugging and monitoring Go applications. The Go standard library provides a basic logging package, but it is not ideal for production use. There are a number of third-party logging libraries available for Go, such as Zap, Logrus, and Zerolog. By Ayooluwa Isaiah.
Tags monitoring programming microservices app-development golang
-
How to build your first web application with Go
Posted on July 19, 2023, Level intermediate Resource Length medium
One of Go's greatest strengths lies in the its suitability for developing web applications. It offers great performance out of the box, is easy to deploy, and has many of the necessary tools you need to build and deploy a scalable web service in its standard library. This tutorial will walk you through a practical example of building a web application with Go and deploying it to production. It will cover the basics of using Go's built-in HTTP server and templating language, and how to interact with external APIs. By Ayo.
Tags programming golang google web-development
-
Golang performance: Go programming language vs. other languages
Posted on July 10, 2023, Level beginner Resource Length long
Golang was first released by Google in 2009 and, and since then, has gained widespread acceptance among developers due to its simplicity, concurrency, and performance. However, many years later, Go was suddenly forgotten as many users chose other languages like Java or Python for their projects. By Vy Le.
Tags web-development golang app-development performance programming
-
How I built a simple Forex app with Telegram bots and AWS Lambda
Posted on February 6, 2023, Level intermediate Resource Length medium
This is the journey of author to create serverless solution written in Go which enabled him to be notified about best currency exchange rates for his small business. Nice one!
Tags golang bots serverless aws apis
-
Reducing Go execution tracer overhead with frame pointer unwinding
Posted on February 1, 2023, Level intermediate Resource Length medium
The Go Execution Tracer (aka runtime/trace) was designed to achieve low enough overhead to be usable on "a server in production serving live traffic". This is achieved by writing events into per-P buffers, using RDTSC for timestamps, and encoding into a relatively efficient binary format. By Felix Geisendörfer.
Tags golang programming microservices cloud performance
-
Concurrency in Go-2(Go Channels)
Posted on October 25, 2022, Level intermediate Resource Length medium
The channel acts as a pipe by which we send typed values from one Goroutine to another. It guarantees synchronization since only one Goroutine has access to a data item at any given time. The ownership of the data is passed between different Goroutine. By Neeraj Kumar.
Tags app-development programming golang performance
-
Reducing graph complexity using Go and transitive reduction
Posted on September 19, 2022, Level intermediate Resource Length medium
Directed acyclic graphs (DAGs) serve a wide variety of applications in computer science, biology, sociology, and other fields that involve complex networks. While these graphs often contain a large number of edges, some of the edges might be redundant, making computations unnecessarily expensive and the graph structure harder to understand. By Dominik Braun.
Tags apis app-development performance golang database
-
GOMEMLIMIT is a game changer for high-memory applications
Posted on August 27, 2022, Level beginner Resource Length long
It can be very frustrating when Go applications use less memory than what is available to them, and yet they still manage to run out of memory and crash. Go 1.19 introduced GOMEMLIMIT, which completely changes how you can manage memory limits in Go. By Etienne Dilocker.
Tags app-development devops golang programming
-
Hidden gems of Google BigQuery
Posted on August 9, 2022, Level intermediate Resource Length medium
BigQuery is amazing. It is one of my favorite tools within Google Cloud. Luckily, it looks like Google feels the same and, to the joy of BigQuery fans, keeps adding new features there. By Artem Nikulchenko.
Tags golang app-development database miscellaneous gcp
-
Shaving 40% off Google's B-Tree implementation with Go Generics
Posted on August 8, 2022, Level advanced Resource Length medium
There are many reasons to be excited about generics in Go. In this article, I'm going to show how, using Go generics, ScyllaDB achieved a 40% performance gain in an already well-optimized package, the Google B-Tree implementation. By Michal Matcczuk.
Tags golang app-development performance programming
-
An introduction to generics in Golang
Posted on April 2, 2022, Level beginner Resource Length medium
The Go 1.18 release adds support for generics. Generics are the biggest change we've made to Go since the first open source release. By Robert Griesemer and Ian Lance Taylor.
Tags apis app-development cloud programming web-development golang
-
How to become a Golang developer: A 6-step career guide
Posted on March 11, 2022, Level beginner Resource Length medium
Go is an in-demand language across the board. Today, we'll discuss the steps to become an employable and modern Go developer. By The Educative Team.
Tags programming career web-development app-development golang