Best of GolangFebruary 2024

  1. 1
    Article
    Avatar of awegoAwesome Go·2y

    Microservices Authentication and Authorization Using API Gateway

    Learn about the challenges of authentication and authorization in a microservices architecture, the benefits of using an API Gateway for access management, and how JSON Web Tokens (JWTs) are used for authentication in microservices.

  2. 2
    Video
    Avatar of communityCommunity Picks·2y

    Go 1.22 is bringing about a new future for the language.

    Go 1.22 introduces significant improvements in looping, CPU and memory performance, and changes to the standard library. The release brings scoped loop variables, ranging over integers and function iterators, improved CPU performance, reduced memory overhead, profile guided optimization, V2 package in the standard library, enhanced routing features in the net/HTTP package. It reduces the dependency on third-party libraries for complex HTTP routing.

  3. 3
    Article
    Avatar of lobstersLobsters·2y

    One Billion Rows Challenge in Golang

    The post describes the One Billion Rows Challenge and how the author solved it using Golang with a focus on optimizing performance and concurrency. The challenge involves processing a text file with a billion rows of temperature data and finding the minimum, average, and maximum temperature for each unique station.

  4. 4
    Video
    Avatar of primeagenThePrimeTime·2y

    Why I Use Golang In 2024

    The author explains their decision to choose Go over Rust in 2024 and highlights the advantages of both languages, including the power and complexity of Rust's type system and the simplicity and fast performance of Go.

  5. 5
    Article
    Avatar of medium_jsMedium·2y

    The ultimate static file server benchmark

    The article presents a benchmark of the performance of static file servers implemented in various languages. The front-runners in terms of performance were Quarkus, Webflux, and Rust.

  6. 6
    Article
    Avatar of awegoAwesome Go·2y

    New HTTP Router in Go 1.22

    Golang 1.22 introduces an enhanced routing pattern, allowing for dynamic route parameters without the need for 3rd party libraries. This makes it easier and more productive to create an HTTP server in Golang.

  7. 7
    Article
    Avatar of awegoAwesome Go·2y

    Refactoring a Request/Response based Go backend into Event-Driven using Pub/Sub

    Learn how to refactor a REST-based Go backend into an event-driven architecture using Pub/Sub with Encore.

  8. 8
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    How to Learn Golang – A Beginner's Guide to the Basics

    Learn the basics of Golang, including its characteristics, how to set it up on Windows, and how to use variables.

  9. 9
    Video
    Avatar of awegoAwesome Go·2y

    Building REST APIs in Go 1.22 - New Features

    Go 1.22 introduces new features to the standard library that make HTTP routing more expressive. This post demonstrates how to build a REST API using these new features, including handling different HTTP methods.

  10. 10
    Article
    Avatar of awegoAwesome Go·2y

    How to Structure a Go Project: Start Simple, Refactor Later

    Learn about the importance of project structure, common pitfalls to avoid, and how to start simple and refactor later in a Go project.

  11. 11
    Article
    Avatar of awegoAwesome Go·2y

    ProgpJS: a fast javascript engine for Go!

    ProgpJS is a fast JavaScript engine written in Go, designed for server applications requiring high speed and stability. It is 2x faster than Node.js and on par with DenoJS and BunJS. This tutorial shows you how to start with ProgpJS, use compiled mode to build a fast HTTP server, and integrate Go code for caching. The benchmarks demonstrate ProgpJS's performance and the ability to mix Go and JavaScript code.

  12. 12
    Article
    Avatar of itnextITNEXT·2y

    Why UUID7 is better than UUID4 as clustered index in RDBMS

    This post discusses the differences between UUID version 4 and UUID version 7 as clustered indexes in RDBMS. It explores the pros and cons of using UUIDs instead of sequential IDs and explains why UUID v7 was faster than UUID v4.

  13. 13
    Article
    Avatar of medium_jsMedium·2y

    .Net vs Java vs Go vs Rust: Hello UUID performance

    This article compares the performance of .Net with Java, Go, and Rust frameworks using a Hello World case. The resource usage and performance of the applications are discussed, with Rust being declared the winner.

  14. 14
    Article
    Avatar of awegoAwesome Go·2y

    Goravel Alternatives and Reviews (Jul 2023)

    Discover alternatives to Goravel, including modern-go-application, Fiber, WorkOS, and more. Find out what people are saying about Goravel in the reviews and mentions section.

  15. 15
    Article
    Avatar of awegoAwesome Go·2y

    A Gentle Introduction to Unit Testing in Go

    Learn about unit testing in Go using the built-in testing framework. Understand the Go standard library's testing capabilities, how to run and interpret test results, and how to resolve issues in failing tests. Gain knowledge on code coverage reports and the importance of code coverage in testing.

  16. 16
    Article
    Avatar of awegoAwesome Go·2y

    API completa em Golang - Parte 7

    This post explains how to create and update categories and products in Golang. It also covers implementing CRUD functionality and working with SQL queries and transactions.

  17. 17
    Video
    Avatar of communityCommunity Picks·2y

    #25 Golang - Concurrency: Fan-out Fan-in Pattern

    Learn about the fanout fanin pattern in Golang, a concurrency pattern used to achieve parallelism in tasks that can be broken down into smaller independent tasks. See how to implement this pattern in image transformation, improving the performance of resizing images.

  18. 18
    Article
    Avatar of awegoAwesome Go·2y

    Using Clerk to authenticate users in a Go backend

    Learn how to set up an Encore auth handler with Clerk to add an integrated signup and login experience to your web app.

  19. 19
    Article
    Avatar of golangGo·2y

    Routing Enhancements for Go 1.22

    Go 1.22 introduces routing enhancements to the `net/http` package's router. These enhancements allow for expressing common routes as patterns instead of Go code. The new features almost exclusively affect the pattern string passed to the `Handle` and `HandleFunc` methods.

  20. 20
    Article
    Avatar of awegoAwesome Go·2y

    Adding Color to Terminal Output in Go

    Learn how to enhance the user experience, convey information, and communicate more effectively by adding color to terminal output in Go.