Tagged articles

Go

1930 articles · Page 11 of 20
MaGe Linux Operations
MaGe Linux Operations
Apr 4, 2024 · Backend Development

Mastering Go Concurrency: Goroutines, Scheduler, and Safe Data Sharing

This article explains Go's concurrency model, detailing how goroutines are scheduled onto logical processors, how to create and run them, detect and resolve race conditions with atomic operations, mutexes, and channels, and demonstrates buffered versus unbuffered channel communication.

GoRace Detectionatomic
0 likes · 18 min read
Mastering Go Concurrency: Goroutines, Scheduler, and Safe Data Sharing
Ops Development & AI Practice
Ops Development & AI Practice
Apr 4, 2024 · Fundamentals

Mastering the Facade Pattern in Go: Simplify Complex Systems

This article explains the Facade design pattern, outlines its core roles, provides step‑by‑step guidance for implementing it in Go, showcases a complete code example, and discusses its advantages and typical use cases such as API gateways in microservice architectures.

Code ExampleDesign PatternsFacade Pattern
0 likes · 5 min read
Mastering the Facade Pattern in Go: Simplify Complex Systems
Ops Development & AI Practice
Ops Development & AI Practice
Apr 2, 2024 · Backend Development

When to Use context.Background vs context.TODO in Go

The article explains the differences between Go's context.Background() and context.TODO() functions, describing how each creates an empty Context, when to use them as top‑level roots or temporary placeholders, and why proper selection improves code clarity and maintainability.

Goprogramming
0 likes · 3 min read
When to Use context.Background vs context.TODO in Go
Ops Development & AI Practice
Ops Development & AI Practice
Mar 27, 2024 · Backend Development

How to Choose the Right Redis PoolSize in Go for Optimal Performance

This article explains why correctly configuring the Redis client PoolSize in Go is crucial for performance and stability, outlines key factors such as concurrency, latency, and resource limits, and provides practical strategies, benchmarking methods, and sample code to help developers determine the optimal pool size.

Connection PoolGoRedis
0 likes · 5 min read
How to Choose the Right Redis PoolSize in Go for Optimal Performance
Ops Development & AI Practice
Ops Development & AI Practice
Mar 22, 2024 · Backend Development

Mastering Go File Path Handling with strings.LastIndex

This article explains how to efficiently use Go's strings.LastIndex function to extract a directory from a file path, verify its existence, and create the parent directory when missing, providing a concise alternative to dedicated path libraries.

File PathGobackend development
0 likes · 4 min read
Mastering Go File Path Handling with strings.LastIndex
Ops Development & AI Practice
Ops Development & AI Practice
Mar 22, 2024 · Databases

How to Use SQLite3 in Go: A Step‑by‑Step Guide

This guide walks you through installing the Go SQLite3 driver, opening a database connection, creating tables, inserting records, querying data, and provides a complete runnable example, helping developers integrate lightweight SQLite storage into Go applications efficiently.

DatabaseGoSQL
0 likes · 6 min read
How to Use SQLite3 in Go: A Step‑by‑Step Guide
Alibaba Cloud Native
Alibaba Cloud Native
Mar 22, 2024 · Cloud Native

Implement Complex Canary Releases with MSE Cloud Native Gateway WASM Plugins

Learn how to use Alibaba Cloud's MSE Cloud Native Gateway WASM plugins to implement sophisticated full‑link canary releases, including custom header‑based routing, parameter‑driven traffic percentages, and multi‑condition rules, with step‑by‑step Go code, configuration examples, and compilation instructions.

Canary ReleaseGoMSE
0 likes · 12 min read
Implement Complex Canary Releases with MSE Cloud Native Gateway WASM Plugins
Go Development Architecture Practice
Go Development Architecture Practice
Mar 21, 2024 · Backend Development

How to Process One Billion Rows in Go: 9 Optimized Solutions Under 4 Seconds

This article walks through nine Go‑based implementations for the 1‑Billion‑Row Challenge, starting from a straightforward scanner approach and progressively applying map pointer values, custom parsing, integer arithmetic, buffer tweaks, custom hash tables, and parallelism to shrink processing time from 1 minute 45 seconds to under 4 seconds.

1BRCData ProcessingGo
0 likes · 22 min read
How to Process One Billion Rows in Go: 9 Optimized Solutions Under 4 Seconds
php Courses
php Courses
Mar 21, 2024 · Backend Development

Comparing Go and PHP: Similarities, Differences, and Choosing the Right Language

This article examines the popular web development languages Go and PHP, outlining their shared traits such as general-purpose use, compilation, rich libraries, and active communities, while highlighting key differences in syntax, type systems, performance, and typical use cases to guide developers in selecting the most suitable language for their projects.

GoPHPProgramming Languages
0 likes · 5 min read
Comparing Go and PHP: Similarities, Differences, and Choosing the Right Language
FunTester
FunTester
Mar 20, 2024 · Fundamentals

Java vs Go Generics: Syntax, Constraints, and Practical Differences

This article compares Java and Go generics, explaining their syntax, type constraints, union types, variance, and practical code examples, while highlighting key differences such as explicit constraints in Go, Java’s type hierarchy, and the impact on type switches and type safety.

ComparisonGoProgramming Languages
0 likes · 10 min read
Java vs Go Generics: Syntax, Constraints, and Practical Differences
37 Interactive Technology Team
37 Interactive Technology Team
Mar 18, 2024 · Databases

Handling MySQL Read‑Only Errors During Master‑Slave Switch in Go: Extending the Driver and Using rejectReadOnly

When a MySQL master‑slave switch makes the old master read-only, Go connection pools keep reusing stale connections and cause prolonged write errors, but by extending the driver to return driver.ErrBadConn on error 1290 or using the DSN flag rejectReadOnly=true, the bad connections are discarded and the error disappears almost instantly.

ConnectionPoolDatabaseSwitchDriverExtension
0 likes · 14 min read
Handling MySQL Read‑Only Errors During Master‑Slave Switch in Go: Extending the Driver and Using rejectReadOnly
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Mar 17, 2024 · Fundamentals

Implementing Log Snapshotting in Raft: A Step‑by‑Step Guide

This article provides a comprehensive tutorial on adding log snapshotting (snapshotting) to a Raft‑based distributed key‑value store, explaining the motivation, the snapshot mechanism, and detailed Go code for generating, transferring, applying, and persisting snapshots to reduce log size and improve performance.

ConsensusGoLog Compaction
0 likes · 15 min read
Implementing Log Snapshotting in Raft: A Step‑by‑Step Guide
MaGe Linux Operations
MaGe Linux Operations
Mar 14, 2024 · Backend Development

Mastering Go Error Handling: Panic, Recover, and Best Practices

This article explains Go's error handling conventions, the built‑in error interface, how to use panic and recover for runtime exceptions, and presents practical patterns—including closure‑based handling and custom package guidelines—to write robust backend code.

Goerror handlingpanic
0 likes · 12 min read
Mastering Go Error Handling: Panic, Recover, and Best Practices
Go Development Architecture Practice
Go Development Architecture Practice
Mar 14, 2024 · Backend Development

Top Go Packages Every Developer Should Know: Config, CLI, Web, and More

This article compiles a comprehensive list of widely used Go third‑party packages covering configuration handling, command‑line interfaces, environment variables, automation, dynamic recompilation, web frameworks, date management, ORM, microservices, web crawling, retry logic, server restarts, scheduling, and database clients, each with brief features and repository links.

ConfigurationGobackend
0 likes · 7 min read
Top Go Packages Every Developer Should Know: Config, CLI, Web, and More
Architect
Architect
Mar 10, 2024 · Backend Development

Build a Redis Distributed Lock in Go from Scratch

This article walks through the problem of implementing a reliable Redis distributed lock in Go, explains the pitfalls of naive SetNx usage, introduces timeout handling and GetSet replacement, provides step‑by‑step Go code, and demonstrates its correctness with a multithreaded test.

GoRedisbackend development
0 likes · 11 min read
Build a Redis Distributed Lock in Go from Scratch
MaGe Linux Operations
MaGe Linux Operations
Mar 10, 2024 · Backend Development

Mastering RPC: From Concepts to gRPC Implementation in Go

This article explains the fundamentals of Remote Procedure Call (RPC), its historical origins, the step‑by‑step execution process, and provides a practical guide to installing and using gRPC with Protocol Buffers in Go, including full code examples and advantages.

GoMicroservicesProtocol Buffers
0 likes · 14 min read
Mastering RPC: From Concepts to gRPC Implementation in Go
Su San Talks Tech
Su San Talks Tech
Mar 10, 2024 · Backend Development

Why fasthttp Outperforms net/http: Inside Go’s Ultra‑Fast Server

This article compares Go’s standard net/http library with the high‑performance fasthttp server, detailing their request‑handling workflows, explaining fasthttp’s optimizations such as connection reuse, sync.Pool and unsafe.Pointer conversions, and walking through core code structures like workerPool, workerChan, and the Serve routine.

Gobackendfasthttp
0 likes · 16 min read
Why fasthttp Outperforms net/http: Inside Go’s Ultra‑Fast Server
MaGe Linux Operations
MaGe Linux Operations
Mar 9, 2024 · Backend Development

Mastering Go Socket Programming: From TCP/UDP to HTTP Clients

This article explains Go’s socket programming model, covering the classic five‑step workflow, the versatile net.Dial function, and practical code examples for ICMP, TCP, and HTTP client operations, helping developers build networked applications efficiently.

GoHTTPICMP
0 likes · 10 min read
Mastering Go Socket Programming: From TCP/UDP to HTTP Clients
Ops Development & AI Practice
Ops Development & AI Practice
Mar 4, 2024 · Backend Development

Why os.Rename Fails Across Devices in Go and How to Fix It

This article explains why Go's os.Rename throws an "invalid cross-device link" error when moving files between different file systems and shows how to replace it with io.Copy for reliable cross‑device file transfers, including code examples and related filesystem concepts.

File HandlingGocross-device
0 likes · 5 min read
Why os.Rename Fails Across Devices in Go and How to Fix It
Nullbody Notes
Nullbody Notes
Mar 3, 2024 · Backend Development

Understanding Go’s Context Package: Essential Insights for Interviews

The article walks through Go’s context package, explaining how Context objects enable cancellation and timeout control in concurrent workflows, detailing the implementations of emptyCtx, cancelCtx, timerCtx, and valueCtx, and providing concrete code examples and internal mechanics.

Gocancellationconcurrency
0 likes · 19 min read
Understanding Go’s Context Package: Essential Insights for Interviews
Ops Development & AI Practice
Ops Development & AI Practice
Mar 1, 2024 · Backend Development

Master Go Reflection: Read and Modify Struct Fields at Runtime

This article explains Go's powerful reflection feature, walks through importing the reflect package, outlines the step‑by‑step process to obtain Type and Value objects, and provides complete code examples that read, modify, and display struct fields while noting performance considerations.

GoStructprogramming
0 likes · 5 min read
Master Go Reflection: Read and Modify Struct Fields at Runtime
Practical DevOps Architecture
Practical DevOps Architecture
Mar 1, 2024 · Cloud Native

Kubernetes Advanced Development Resource Collection

This article provides a comprehensive, English-translated list of 78 PDF resources covering Kubernetes advanced development topics such as CKAD exam updates, kubeadm source analysis, Go module management, client‑go libraries, custom controller creation, and API usage, organized into three progressive sections.

Advanced DevelopmentCloud NativeDevOps
0 likes · 8 min read
Kubernetes Advanced Development Resource Collection
Nullbody Notes
Nullbody Notes
Feb 29, 2024 · Backend Development

Implementing Parallel Computation in Go with a Custom MapReduce Framework

The article explains why parallel RPC calls are needed for assembling complex objects, introduces a Go‑based MapReduce framework, walks through concrete code examples for product detail retrieval and UID cleaning, and details the internal architecture—including generate, mapper, reducer, and cancellation mechanisms—while providing full source snippets and execution flow.

GoMapReducechannel
0 likes · 10 min read
Implementing Parallel Computation in Go with a Custom MapReduce Framework
Architecture Digest
Architecture Digest
Feb 28, 2024 · Fundamentals

Go Language Enters Top 10 in the TIOBE Index (February 2024) and Its Main Application Areas

The February 2024 TIOBE Index shows Go climbing to its highest ever position at #8, highlighting its design goals, historical ranking fluctuations, and widespread use in backend services, cloud computing, container technologies, networking, tooling, databases, and IoT, while also presenting the full top‑10 language list and related charts.

Cloud ComputingGoProgramming Language Rankings
0 likes · 7 min read
Go Language Enters Top 10 in the TIOBE Index (February 2024) and Its Main Application Areas
Ops Development & AI Practice
Ops Development & AI Practice
Feb 27, 2024 · Information Security

How to Parse PKCS#1 and PKCS#8 PEM Private Keys in Go

This guide explains the differences between PKCS#1 and PKCS#8 PEM private key formats, shows how to identify the format by inspecting the PEM header, and provides step‑by‑step Go code using x509.ParsePKCS1PrivateKey or x509.ParsePKCS8PrivateKey to correctly decode and use the key.

GoPEMPKCS1
0 likes · 4 min read
How to Parse PKCS#1 and PKCS#8 PEM Private Keys in Go
Java Architect Essentials
Java Architect Essentials
Feb 25, 2024 · Backend Development

Designing a High‑Concurrency Ticket‑Seckill System: Architecture, Load Balancing, and Go Implementation

The article analyzes the extreme‑traffic challenges of the 12306 ticket‑seckill service, presents a layered load‑balancing architecture, compares inventory‑deduction strategies, and demonstrates a complete Go‑based prototype with Nginx weighted round‑robin, Redis stock management, and ApacheBench performance testing.

GoLoad BalancingNginx
0 likes · 19 min read
Designing a High‑Concurrency Ticket‑Seckill System: Architecture, Load Balancing, and Go Implementation
Ops Development & AI Practice
Ops Development & AI Practice
Feb 24, 2024 · Information Security

How the IPAddresses Field in Go’s x509.Certificate Enhances Certificate Security

This article explains the purpose of the IPAddresses field in Go's crypto/x509 Certificate struct, outlines its security benefits and deployment scenarios, discusses limitations such as dynamic IP environments, and provides a practical code example for correctly configuring IP address restrictions in certificates.

Certificate SecurityGoIPAddresses
0 likes · 5 min read
How the IPAddresses Field in Go’s x509.Certificate Enhances Certificate Security
Ops Development & AI Practice
Ops Development & AI Practice
Feb 23, 2024 · Backend Development

Essential Go Interview Questions for Junior, Mid‑Level, and Senior Developers

A comprehensive collection of Go interview questions organized by junior, mid‑level, and senior levels helps assess candidates' understanding of language fundamentals, concurrency, performance optimization, architecture, and advanced features, enabling more accurate hiring decisions for Go development teams.

GoInterview Questionsbackend development
0 likes · 12 min read
Essential Go Interview Questions for Junior, Mid‑Level, and Senior Developers
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 21, 2024 · Backend Development

Recreating the Spring Festival Gala Magic Trick Using Go

This article walks through a step‑by‑step Go implementation of the popular Spring Festival Gala magic trick, explaining the underlying Josephus‑style algorithm, showing each transformation of a slice of cards with complete code snippets, and demonstrating how the final single card matches the hidden one.

AlgorithmGoJosephus problem
0 likes · 9 min read
Recreating the Spring Festival Gala Magic Trick Using Go
Bilibili Tech
Bilibili Tech
Feb 20, 2024 · Backend Development

Investigation and Optimization of Unexpected AAAA DNS Requests in Go Applications

The article investigates why Go applications unexpectedly send AAAA DNS queries to a secondary nameserver, tracing the issue to the built‑in resolver’s handling of non‑recursive responses from a NetScaler proxy, and recommends using the cgo resolver, enabling recursion, or forcing IPv4 to eliminate the added latency.

DNSDebuggingFailover
0 likes · 14 min read
Investigation and Optimization of Unexpected AAAA DNS Requests in Go Applications
Go Programming World
Go Programming World
Feb 19, 2024 · Backend Development

Implementing Context Managers in Go: Emulating Python's with Using defer and Anonymous Functions

This article explores how to replicate Python's context manager behavior in Go by examining defer's delayed execution, demonstrating its limitations in loops, and presenting three solutions—anonymous functions, a WithClose helper, and a withLock-inspired pattern—to ensure timely resource release.

GoWithCloseanonymous function
0 likes · 10 min read
Implementing Context Managers in Go: Emulating Python's with Using defer and Anonymous Functions
AI Illustrated Series
AI Illustrated Series
Feb 13, 2024 · Backend Development

Which Go Web Framework Reigns Supreme? A Deep Comparative Analysis

This article systematically compares the most popular Go web frameworks—Beego, Buffalo, Echo, Gin, Iris, and Revel—by evaluating their popularity, learning curve, routing capabilities, middleware ecosystems, server features, session handling, template engines, testing support, and other core functionalities, complete with concrete code examples.

ComparisonGoMiddleware
0 likes · 14 min read
Which Go Web Framework Reigns Supreme? A Deep Comparative Analysis
Open Source Tech Hub
Open Source Tech Hub
Feb 10, 2024 · Fundamentals

Why Go Re‑Entered TIOBE’s Top‑10: A Historical Perspective

This article traces Go’s rise to the TIOBE top‑10 ranking, recounting its 2009 debut, early hype, subsequent decline, and recent resurgence driven by a strict release cycle and the popularity of Docker and Kubernetes, while also explaining the index’s methodology.

GoLanguage PopularityProgramming Languages
0 likes · 4 min read
Why Go Re‑Entered TIOBE’s Top‑10: A Historical Perspective
Nullbody Notes
Nullbody Notes
Feb 6, 2024 · Backend Development

A Minimal 70-Line Go Coroutine Pool: Simple and Elegant

This article presents a concise 70‑line Go implementation of a coroutine pool, explaining its design, how it manages task queues and worker goroutines, handles timeouts, and provides the full source code for easy integration.

Goconcurrencycoroutine pool
0 likes · 5 min read
A Minimal 70-Line Go Coroutine Pool: Simple and Elegant
MaGe Linux Operations
MaGe Linux Operations
Feb 1, 2024 · Backend Development

How to Master In‑Memory Caching: Strategies, Pitfalls, and Performance Boosts

This article explores common caching scenarios, selection criteria, and best‑practice pitfalls, demonstrates a Go demo with configurable cache modes, compares byte‑versus‑struct caches, discusses concurrency, expiration, failover, cache transfer, lock contention, memory management, and provides benchmark results to guide high‑performance backend development.

Cache EvictionGoIn-Memory Cache
0 likes · 23 min read
How to Master In‑Memory Caching: Strategies, Pitfalls, and Performance Boosts
MaGe Linux Operations
MaGe Linux Operations
Feb 1, 2024 · Cloud Native

Inside Kubernetes kube-scheduler: A Deep Dive into Its Code Structure and Scheduling Logic

This article dissects the internal architecture of Kubernetes' kube-scheduler, walking through its initialization with Cobra, the Setup function, the creation of scheduler instances, the priority queue mechanics, scheduling cycles, and binding processes, providing comprehensive code examples to illuminate each step of the scheduling workflow.

Gocloud-nativecode analysis
0 likes · 19 min read
Inside Kubernetes kube-scheduler: A Deep Dive into Its Code Structure and Scheduling Logic
政采云技术
政采云技术
Jan 30, 2024 · Cloud Native

Understanding the Core Workflow of Kubernetes Informer in client-go

This article explains the internal workflow of the Kubernetes informer package in client-go, covering its architecture, key components such as Reflector, DeltaFIFO, and Indexer, and provides a step‑by‑step code example that demonstrates how informers are created, registered, started, and used to handle watch events efficiently.

ControllerDeltaFIFOGo
0 likes · 19 min read
Understanding the Core Workflow of Kubernetes Informer in client-go
21CTO
21CTO
Jan 28, 2024 · Backend Development

How PayPal Processed Billions Daily with 8 VMs Using Go Actors

This article explores how PayPal achieved the processing of billions of daily transactions using only eight virtual machines by adopting an actor‑model architecture built with Go, detailing the underlying challenges, network and resource optimizations, and providing a complete Go code example.

Backend ArchitectureGoPayPal
0 likes · 11 min read
How PayPal Processed Billions Daily with 8 VMs Using Go Actors
Nullbody Notes
Nullbody Notes
Jan 26, 2024 · Backend Development

Building a Distributed Redis Cluster in Go Using Simple Consistent Hash

This article walks through creating a functional Redis service called EasyRedis, focusing on implementing a distributed cluster with a consistent‑hash algorithm in Go, including detailed code examples, node mapping, command routing, and relay mechanisms.

Code ExampleConsistent HashDistributed Cluster
0 likes · 11 min read
Building a Distributed Redis Cluster in Go Using Simple Consistent Hash
Nullbody Notes
Nullbody Notes
Jan 25, 2024 · Backend Development

Building a Redis Connection Pool in Go: Design and Implementation

This article walks through the design and Go implementation of a reusable Redis connection pool, covering the pool data structure, object acquisition and release logic, handling of active limits and waiting queues, and an extended per‑IP socket pool for distributed Redis clusters.

Connection PoolGoRedis
0 likes · 10 min read
Building a Redis Connection Pool in Go: Design and Implementation
Tencent Cloud Developer
Tencent Cloud Developer
Jan 25, 2024 · Backend Development

How to Write Testable Business Code in Go: A Practical Guide

The guide shows that by consciously designing Go data structures and function interfaces—using pure functions, parameter injection, interface abstractions, struct‑based objects, or function‑variable patterns—and avoiding init(), developers can expose and control all dependencies, making business code inherently testable and achieving high unit‑test coverage.

GoMockingSoftware Engineering
0 likes · 17 min read
How to Write Testable Business Code in Go: A Practical Guide
Architect
Architect
Jan 24, 2024 · Operations

Mastering End-to-End Tracing in Go Microservices with OpenTracing and Zipkin

This article walks through the complete design and implementation of full‑stack distributed tracing for Go‑based microservices, explaining correlation IDs, OpenTracing concepts, component roles, client and server code, database and service call tracing, compatibility issues, and best‑practice design guidelines.

GoMicroservicesOpenTracing
0 likes · 20 min read
Mastering End-to-End Tracing in Go Microservices with OpenTracing and Zipkin
Caiyun Tech Team
Caiyun Tech Team
Jan 24, 2024 · Backend Development

How We Built a High‑Performance Elevation API with 30 m Resolution

This article details the end‑to‑end process of replacing low‑resolution SRTM data with 30‑meter ASTER elevation data, redesigning storage and access using JuiceFS, Go, and sync.Pool, and achieving sub‑millisecond latency for 1500 QPS in a Kubernetes environment.

GeoTIFFGoJuiceFS
0 likes · 9 min read
How We Built a High‑Performance Elevation API with 30 m Resolution
Nullbody Notes
Nullbody Notes
Jan 23, 2024 · Databases

Implementing Redis Transactions in Go: A Complete Walkthrough

This article walks through building a functional Redis server in Go, focusing on transaction support (MULTI, EXEC, WATCH, UNWATCH, DISCARD), using locks for atomicity, version tracking for watch, and an undo‑log mechanism for rollback, with code examples and demo screenshots.

DatabaseGoLock
0 likes · 11 min read
Implementing Redis Transactions in Go: A Complete Walkthrough
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 15, 2024 · Backend Development

Understanding Delaying Queue and Priority Queue in WorkQueue: Implementation, Usage, and Underlying Quadruple Heap

This article explains the design, implementation details, and practical usage of the Delaying Queue and Priority Queue modules in the WorkQueue library, covering their inheritance from the core Queue, the role of the Quadruple Heap data structure, and providing Go code examples for integration in backend systems.

DataStructureDelayingQueueGo
0 likes · 16 min read
Understanding Delaying Queue and Priority Queue in WorkQueue: Implementation, Usage, and Underlying Quadruple Heap
Nullbody Notes
Nullbody Notes
Jan 13, 2024 · Backend Development

How to Build a Redis‑Style Sorted Set with Skiplist in Go

This article walks through implementing a Redis‑compatible sorted‑set in Go, covering requirement analysis, data‑structure design with a map and skiplist, detailed insertion and search algorithms, complete code examples, and edge‑case handling, all illustrated with diagrams and sample output.

Data StructureGoRedis
0 likes · 13 min read
How to Build a Redis‑Style Sorted Set with Skiplist in Go
Tencent Cloud Developer
Tencent Cloud Developer
Jan 11, 2024 · Backend Development

Delve Debugger for Go: Installation, Configuration, and Command Guide

Delve, the primary Go debugger, is installed via its official guide, requires disabling inlining with appropriate gcflags, supports flexible location specifications and rich expressions, offers multiple debugging modes (debug, exec, attach, core), configurable settings, runtime commands, breakpoint types, variable and stack inspection, and integrates seamlessly with Goland.

DebuggingDelveGo
0 likes · 28 min read
Delve Debugger for Go: Installation, Configuration, and Command Guide
Architecture & Thinking
Architecture & Thinking
Jan 8, 2024 · Artificial Intelligence

How Baidu Comate Supercharges Coding: A Practical AI Assistant Guide

This article introduces Baidu Comate, an AI-powered coding assistant built on the Wenxin model, explains how to install it, demonstrates its real-time code completion, comment generation, test creation, and optimization features across multiple languages and IDEs, and highlights its benefits for developers.

AI coding assistantGoVS Code
0 likes · 10 min read
How Baidu Comate Supercharges Coding: A Practical AI Assistant Guide
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 8, 2024 · Backend Development

Design and Implementation of a Go WorkQueue Library: Architecture, Interface, and Performance Analysis

This article introduces the Go WorkQueue project, detailing its motivation, overall architecture, layered design of Queue, Simple Queue, Delaying Queue, Priority Queue, and RateLimiting Queue, compares underlying data structures such as DoubleLinkedList versus slice, presents performance benchmarks, and explains memory‑fragmentation mitigation using sync.Pool.

GoQueueWorkqueue
0 likes · 12 min read
Design and Implementation of a Go WorkQueue Library: Architecture, Interface, and Performance Analysis
Tencent Cloud Developer
Tencent Cloud Developer
Jan 4, 2024 · Backend Development

High‑Performance Go Programming: Benchmarks, Profiling, and Optimization Techniques

The article shows how to write high‑performance Go code by spotting bottlenecks, using go‑test benchmarks and pprof profiling, and applying optimizations such as avoiding reflection, preferring strong‑type conversions, selecting appropriate map implementations, zero‑allocation string/slice tricks, efficient loops, generics, stack allocation, data alignment, pre‑allocation, and suitable lock primitives.

GoOptimizationbenchmark
0 likes · 34 min read
High‑Performance Go Programming: Benchmarks, Profiling, and Optimization Techniques
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 1, 2024 · Backend Development

Introducing Hasaki: A Simple Golang HTTP Restful Client with Custom Decoders and Middleware

This article describes the motivation, design, and usage of Hasaki, a lightweight Go HTTP Restful client that supports custom status‑code handling, multiple data formats such as JSON, XML, YAML and protobuf, builder‑style chaining, and extensible middleware, providing code examples and a plugin architecture.

Custom DecoderGoHTTP client
0 likes · 10 min read
Introducing Hasaki: A Simple Golang HTTP Restful Client with Custom Decoders and Middleware