current location:Home > Technical Articles > Backend Development > Golang
- Direction:
- All web3.0 Backend Development Web Front-end Database Operation and Maintenance Development Tools PHP Framework Daily Programming WeChat Applet Common Problem Other Tech CMS Tutorial Java System Tutorial Computer Tutorials Hardware Tutorial Mobile Tutorial Software Tutorial Mobile Game Tutorial
- Classify:
-
- 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
- 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
- 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
- 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 ?: 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
- 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
- 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
- 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
- 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
- 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: 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
- 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
- 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
- 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
- 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