[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

current location:Home > Technical Articles > Backend Development > Golang

  • Reducing Garbage Collector Pressure in Golang
    Reducing Garbage Collector Pressure in Golang
    In high-performance Go applications, excessive memory allocation and deallocation can severely impact performance, putting unnecessary pressure on the garbage collector (GC), resulting in increased latency and reduced efficiency. This article will introduce how to use object reuse technology and sync.Pool features to reduce GC pressure. This article was inspired by a LinkedIn post by Branko Pitulic, which highlighted the importance of optimizing memory usage in Go applications. 1. Understand the problem Go's garbage collector is responsible for automatic memory management. However, when an application allocates and frees memory frequently (especially on the heap), the GC has to work harder, resulting in: Increased CPU usage; Execute temporarily during GC cycle
    Golang 673 2025-01-27 04:06:08
  • Creating a WebSocket Server in Go with Gorilla
    Creating a WebSocket Server in Go with Gorilla
    Building a Real-time Go WebSocket Server with Gorilla WebSockets offer a robust solution for real-time, bidirectional communication between clients and servers. This tutorial guides you through creating a WebSocket server in Go, leveraging the popul
    Golang 402 2025-01-27 04:02:08
  • Live-Reload and Debugging Go Applications Within a Docker Container
    Live-Reload and Debugging Go Applications Within a Docker Container
    This guide demonstrates setting up live-reloading and debugging for Go applications within a Docker container, mirroring a Node.js development workflow. While online resources for this specific Go setup are scarce, this approach combines the benefit
    Golang 710 2025-01-27 02:09:09
  • Top eb Data Collection Tools for 5
    Top eb Data Collection Tools for 5
    Unlocking the Power of Web Data: Efficient Collection and Analysis Gathering online information efficiently is crucial for informed business decisions, algorithm improvement, and competitive advantage. This post explores five top web data collection
    Golang 812 2025-01-26 20:19:08
  • Rust and Go: The Future of High-Performance Computing
    Rust and Go: The Future of High-Performance Computing
    Rust ?: A Deep Dive into Performance and Security Performance Comparison: Memory Allocation: C's manual memory management (illustrated below) is vulnerable to errors. Rust's automatic memory management and bounds checking (also shown below) guarante
    Golang 246 2025-01-26 20:08:12
  • How to Build a CRUD App with Golang, Gin, and PostgreSQL
    How to Build a CRUD App with Golang, Gin, and PostgreSQL
    This tutorial shows you how to build a simple CRUD (Create, Read, Update, Delete) application using Golang, the Gin framework, and PostgreSQL. You'll learn to manage data stored in a PostgreSQL database. Table of Contents Introduction Prerequisite
    Golang 321 2025-01-26 14:03:09
  • Introducing PrintLayout: A Flexible Directory Printer with More Features Than GNU Tree
    Introducing PrintLayout: A Flexible Directory Printer with More Features Than GNU Tree
    Announcing PrintLayout: a powerful command-line utility for visualizing directory structures. Offering enhanced flexibility compared to GNU Tree, PrintLayout provides extensive customization options during its development phase. These include filte
    Golang 634 2025-01-25 16:04:11
  • Mastering Prefix (CIDR) Operations in net/netip
    Mastering Prefix (CIDR) Operations in net/netip
    This article delves into the net/netip package's Prefix type, a powerful tool for representing IP networks in CIDR notation. We'll explore its functionality, focusing on practical applications and best practices. Understanding Prefix The Prefix type
    Golang 385 2025-01-25 00:05:09
  • Useful terminal plugins to build golang code
    Useful terminal plugins to build golang code
    This article introduces two new Sparrow plugins designed to streamline Golang development within your terminal: go-build and go-format. These tools simplify the essential tasks of building and formatting Golang code. Installation These plugins lever
    Golang 694 2025-01-24 18:05:11
  • Simplifying Event Sourcing in Golang
    Simplifying Event Sourcing in Golang
    Event sourcing and CQRS (Command Query Responsibility Segregation) are powerful architectural patterns for creating highly scalable and maintainable applications. However, implementing them effectively, particularly while adhering to best practices
    Golang 143 2025-01-24 18:04:15
  • EasyJSON: Supercharge JSON Performance in Go
    EasyJSON: Supercharge JSON Performance in Go
    EasyJSON: A High-Performance JSON Solution for Go Go applications, especially those handling substantial JSON data (like web servers or microservices), often rely on efficient JSON serialization and deserialization. While Go's built-in encoding/json
    Golang 439 2025-01-24 02:18:09
  • Mastering Go Serialization: Optimize Performance and Efficiency
    Mastering Go Serialization: Optimize Performance and Efficiency
    Explore my Amazon books and follow me on Medium for more insights! Your support is greatly appreciated! Efficient data serialization and deserialization are critical for modern Go applications, especially when transferring or storing data. This ar
    Golang 287 2025-01-23 20:05:11
  • Dynamic HTTP Server Configuration in Go with gorealconf
    Dynamic HTTP Server Configuration in Go with gorealconf
    Modern cloud-native applications face significant challenges in managing configuration changes effectively. Updating configurations without service interruption, maintaining type safety, and implementing gradual rollouts are crucial for robust distr
    Golang 744 2025-01-23 18:07:10
  • Web Crawler with Golang: Step-by-Step Tutorial 5
    Web Crawler with Golang: Step-by-Step Tutorial 5
    This comprehensive guide details building and optimizing a Go web crawler, highlighting Golang's advantages and addressing legal and scalability concerns. We'll cover practical examples and introduce a powerful alternative: the Scrapeless Scraping A
    Golang 816 2025-01-23 16:07:10
  • Transactions in Microservices: Part  SAGA Pattern with Choreography
    Transactions in Microservices: Part SAGA Pattern with Choreography
    In the first article of this series, we introduced the SAGA pattern and demonstrated how a minimal Orchestration can manage distributed transactions with a central orchestrator. Let’s get real! This time, we’ll dive into the Choreography approach, w
    Golang 420 2025-01-23 02:05:08

Tool Recommendations

jQuery enterprise message form contact code

jQuery enterprise message form contact code is a simple and practical enterprise message form and contact us introduction page code.
form button
2024-02-29

HTML5 MP3 music box playback effects

HTML5 MP3 music box playback special effect is an mp3 music player based on HTML5 css3 to create cute music box emoticons and click the switch button.

HTML5 cool particle animation navigation menu special effects

HTML5 cool particle animation navigation menu special effect is a special effect that changes color when the navigation menu is hovered by the mouse.
Menu navigation
2024-02-29

jQuery visual form drag and drop editing code

jQuery visual form drag and drop editing code is a visual form based on jQuery and bootstrap framework.
form button
2024-02-29

Organic fruit and vegetable supplier web template Bootstrap5

An organic fruit and vegetable supplier web template-Bootstrap5
Bootstrap template
2023-02-03

Bootstrap3 multifunctional data information background management responsive web page template-Novus

Bootstrap3 multifunctional data information background management responsive web page template-Novus
backend template
2023-02-02

Real estate resource service platform web page template Bootstrap5

Real estate resource service platform web page template Bootstrap5
Bootstrap template
2023-02-02

Simple resume information web template Bootstrap4

Simple resume information web template Bootstrap4
Bootstrap template
2023-02-02

Cute summer elements vector material (EPS PNG)

This is a cute summer element vector material, including the sun, sun hat, coconut tree, bikini, airplane, watermelon, ice cream, ice cream, cold drink, swimming ring, flip-flops, pineapple, conch, shell, starfish, crab, Lemons, sunscreen, sunglasses, etc., the materials are provided in EPS and PNG formats, including JPG previews.
PNG material
2024-05-09

Four red 2023 graduation badges vector material (AI EPS PNG)

This is a red 2023 graduation badge vector material, four in total, available in AI, EPS and PNG formats, including JPG preview.
PNG material
2024-02-29

Singing bird and cart filled with flowers design spring banner vector material (AI EPS)

This is a spring banner vector material designed with singing birds and a cart full of flowers. It is available in AI and EPS formats, including JPG preview.
banner picture
2024-02-29

Golden graduation cap vector material (EPS PNG)

This is a golden graduation cap vector material, available in EPS and PNG formats, including JPG preview.
PNG material
2024-02-27

Home Decor Cleaning and Repair Service Company Website Template

Home Decoration Cleaning and Maintenance Service Company Website Template is a website template download suitable for promotional websites that provide home decoration, cleaning, maintenance and other service organizations. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-05-09

Fresh color personal resume guide page template

Fresh color matching personal job application resume guide page template is a personal job search resume work display guide page web template download suitable for fresh color matching style. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-29

Designer Creative Job Resume Web Template

Designer Creative Job Resume Web Template is a downloadable web template for personal job resume display suitable for various designer positions. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28

Modern engineering construction company website template

The modern engineering and construction company website template is a downloadable website template suitable for promotion of the engineering and construction service industry. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28