Tagged articles

Go

1966 articles · Page 16 of 20
ByteDance Web Infra
ByteDance Web Infra
Dec 10, 2021 · Fundamentals

Programming Language Insights, Compiler Design, and Industry Experiences from Web Infra Experts

In this extensive interview, industry veterans Zhao Haiping and Zhang Hongbo discuss the evolution of programming languages, compiler development, language design trade‑offs, and practical experiences across companies like Facebook, Alibaba, and ByteDance, offering valuable guidance for developers and researchers alike.

Compiler designGoRust
0 likes · 67 min read
Programming Language Insights, Compiler Design, and Industry Experiences from Web Infra Experts
Tencent Cloud Developer
Tencent Cloud Developer
Dec 8, 2021 · Backend Development

Understanding Go Module Paths, Versioning, and Pseudo‑Versions

The article explains Go module paths defined in go.mod, how they combine with package subdirectories, the semantic versioning scheme (major, minor, patch, pre‑release), and how Go generates and orders pseudo‑versions from tags, branches, or commits when fetching modules.

GoModulesPseudo-Version
0 likes · 9 min read
Understanding Go Module Paths, Versioning, and Pseudo‑Versions
Ops Development Stories
Ops Development Stories
Dec 8, 2021 · Cloud Native

How to Build a Custom Kubernetes Authentication Webhook with GitHub and LDAP

This article explains how to create a custom Kubernetes authentication webhook in Go that supports GitHub token and LDAP authentication, details the required API Server configuration, provides full code examples, and demonstrates testing both methods, illustrating a practical way to integrate external account systems with Kubernetes.

AuthenticationGitHubGo
0 likes · 15 min read
How to Build a Custom Kubernetes Authentication Webhook with GitHub and LDAP
IT Architects Alliance
IT Architects Alliance
Dec 3, 2021 · Backend Development

Design and Performance Optimization of a High‑Concurrency WebSocket Gateway (Version 2.0)

This article details the evolution from a Node.js‑based WebSocket gateway to a Go‑implemented, gRPC‑driven architecture, describing the redesign of connection handling, TLS off‑loading, socket ID generation, session management, custom Kafka headers, code‑level optimizations, and extensive performance testing that validates the new gateway’s scalability and resource efficiency.

GoKafkaPerformance
0 likes · 22 min read
Design and Performance Optimization of a High‑Concurrency WebSocket Gateway (Version 2.0)
Top Architect
Top Architect
Dec 2, 2021 · Backend Development

Design and Performance Optimization of a High‑Scale WebSocket Gateway (Version 2.0)

This article describes the architectural evolution from Gateway 1.0 to Gateway 2.0 for a high‑traffic document collaboration platform, detailing the redesign of the WebSocket layer, resource‑usage optimizations, heartbeat mechanisms, custom Kafka headers, message serialization, load‑testing results, and the operational lessons learned to support millions of concurrent connections.

GoKafkaPerformance
0 likes · 22 min read
Design and Performance Optimization of a High‑Scale WebSocket Gateway (Version 2.0)
Architecture Digest
Architecture Digest
Dec 2, 2021 · Backend Development

Design and Performance Optimization of a Million‑Scale WebSocket Gateway at Shimo Docs

This article details the redesign of Shimo Docs' WebSocket gateway—from a Node.js/Socket.IO 1.0 version to a Go‑based 2.0 architecture—covering handshake degradation, TLS memory savings, SnowFlake SocketID generation, Redis‑based session broadcasting, heartbeat tuning, custom Kafka headers, object pooling, MessagePack compression, extensive performance testing, and the resulting stability and scalability improvements for handling half‑a‑million concurrent connections.

GoKafkaRedis
0 likes · 23 min read
Design and Performance Optimization of a Million‑Scale WebSocket Gateway at Shimo Docs
Architect
Architect
Dec 1, 2021 · Backend Development

Design and Performance Optimization of a High‑Concurrency WebSocket Gateway (Version 2.0)

This article describes the evolution from a Node.js‑based WebSocket gateway to a Go‑powered, gRPC‑enabled architecture, detailing the redesign of the gateway, resource‑saving techniques, heartbeat and TLS optimizations, message‑broker choices, extensive performance testing, and the resulting improvements in CPU, memory, and scalability for millions of concurrent connections.

GoRedisWebSocket
0 likes · 25 min read
Design and Performance Optimization of a High‑Concurrency WebSocket Gateway (Version 2.0)
21CTO
21CTO
Nov 30, 2021 · Backend Development

Building a Million-Scale WebSocket Gateway: Architecture, Optimization & Performance

This article details the design, refactoring, and performance testing of a high‑traffic WebSocket gateway for Shimo Docs, covering the evolution from a Node.js Socket.IO version to a Go‑based microservice architecture, TLS memory tuning, socket ID generation, heartbeat handling, custom Kafka headers, and resource‑efficient scaling to half‑a‑million concurrent connections.

GoKafkaRedis
0 likes · 25 min read
Building a Million-Scale WebSocket Gateway: Architecture, Optimization & Performance
High Availability Architecture
High Availability Architecture
Nov 30, 2021 · Backend Development

Design and Performance Optimization of a Million‑Scale WebSocket Gateway

This article details the evolution from a Node.js Socket.IO gateway to a Go‑based, gRPC‑enabled WebSocket gateway that supports millions of concurrent connections, covering architecture redesign, TLS handling, socket ID generation, session management, heartbeat optimization, custom Kafka headers, code‑level refinements, and extensive performance testing results.

GoKafkaPerformance
0 likes · 21 min read
Design and Performance Optimization of a Million‑Scale WebSocket Gateway
FunTester
FunTester
Nov 30, 2021 · Backend Development

Which HTTP Client Wins? Java FunTester vs Go net/http vs fasthttp Performance Test

The article presents a detailed performance comparison of three HTTP client implementations—Java FunTester, Go's net/http, and the high‑performance fasthttp library—across multiple thread counts and artificial latency settings, reporting CPU usage, memory consumption, and QPS to determine the most efficient choice.

BenchmarkGoHTTP
0 likes · 9 min read
Which HTTP Client Wins? Java FunTester vs Go net/http vs fasthttp Performance Test
21CTO
21CTO
Nov 28, 2021 · Fundamentals

Why Learning Go (Golang) Is Worth Your Time: Key Benefits and Essentials

This article introduces Go, highlights its concise and clean syntax, showcases core language structures and built‑in tools, explains module creation and cross‑compilation, and demonstrates how to build binaries and WebAssembly modules, making a compelling case for learning Golang.

Cross-compilationGoModules
0 likes · 6 min read
Why Learning Go (Golang) Is Worth Your Time: Key Benefits and Essentials
MaGe Linux Operations
MaGe Linux Operations
Nov 24, 2021 · Backend Development

Mastering Go Circuit Breakers: Boost System Resilience with gobreaker

This article explains how to use the Go gobreaker library to implement circuit‑breaker patterns, describing its three states, state transitions, configurable parameters, and providing full source‑code examples to help developers improve fault tolerance in micro‑service architectures.

BackendCircuit BreakerGo
0 likes · 9 min read
Mastering Go Circuit Breakers: Boost System Resilience with gobreaker
FunTester
FunTester
Nov 23, 2021 · Backend Development

Master Go WebSocket with Gorilla: Build, Test, and Compare Clients

This guide walks through using the Gorilla WebSocket library in Go, covering dependency setup, server implementation with an Upgrader, Java and Go client examples, testing procedures, and performance observations that highlight Go's advantages for WebSocket workloads.

BackendGoWebSocket
0 likes · 6 min read
Master Go WebSocket with Gorilla: Build, Test, and Compare Clients
Tencent Cloud Developer
Tencent Cloud Developer
Nov 22, 2021 · Backend Development

Understanding Go Modules: Evolution, Usage, and Best Practices

The article traces Go’s shift from GOPATH to Go Modules—detailing their history, migration steps, practical commands, and best‑practice tips such as using replace directives, managing go.mod and go.sum, and emphasizing why teams should adopt modules now for reliable dependency handling, security, and developer efficiency.

GOPATHGoGo modules
0 likes · 15 min read
Understanding Go Modules: Evolution, Usage, and Best Practices
IT Architects Alliance
IT Architects Alliance
Nov 22, 2021 · Backend Development

How to Serve 1 Million Users Buying 10 000 Train Tickets Simultaneously – A High‑Concurrency Architecture Walkthrough

This article analyzes the extreme‑traffic problem of Chinese train ticket sales, presents a multi‑layer load‑balancing architecture with Nginx weighted round‑robin, demonstrates Go and Redis code for local and global stock deduction, and shows benchmark results proving that a single machine can handle over 4 000 requests per second while preventing oversell and few‑sell.

GoRedisbackend development
0 likes · 20 min read
How to Serve 1 Million Users Buying 10 000 Train Tickets Simultaneously – A High‑Concurrency Architecture Walkthrough
MaGe Linux Operations
MaGe Linux Operations
Nov 13, 2021 · Information Security

Hive Ransomware Targets Linux: Bugs, New Features, and Industry Shift

Security researchers at ESET reveal that the Hive ransomware group has expanded its attacks to Linux and FreeBSD systems, releasing a buggy yet feature‑rich Linux variant written in Go, while noting a broader industry trend of ransomware operators developing Linux encryptors to compromise virtualized server environments.

GoHiveMalware Analysis
0 likes · 4 min read
Hive Ransomware Targets Linux: Bugs, New Features, and Industry Shift
FunTester
FunTester
Nov 11, 2021 · Backend Development

Building and Testing WebSocket Services in Go: A Hands‑On Guide

This article walks through developing a simple Go WebSocket server that echoes the current time, shows a minimal client, compares startup speed with Java, and provides full source code and test logs for practical performance testing.

BackendGoPerformance
0 likes · 7 min read
Building and Testing WebSocket Services in Go: A Hands‑On Guide
Tencent Cloud Developer
Tencent Cloud Developer
Nov 8, 2021 · Backend Development

Understanding Generics in Go: History, Concepts, and Practical Examples

The article surveys Go's generics—from their historical origins and the generic dilemma of balancing productivity, compile speed, and runtime performance—to practical implementation using type parameters, constraints, and the built‑in comparable interface, illustrating common patterns such as generic arithmetic, slices, maps, and utility functions.

Goconstraintsexamples
0 likes · 23 min read
Understanding Generics in Go: History, Concepts, and Practical Examples
Tencent Cloud Developer
Tencent Cloud Developer
Nov 3, 2021 · Backend Development

Using Go as a Scripting Language with Yaegi: Concepts, Quick Start, and Comparative Evaluation

The article explains how Go, traditionally a compiled language, can serve as a scripting language using the Yaegi interpreter—detailing its syntax‑compatible design, easy struct integration, quick‑start example, performance comparison with gopher‑lua and Tengo, and practical engineering guidelines for safe embedding.

GoPerformance ComparisonYaegi
0 likes · 16 min read
Using Go as a Scripting Language with Yaegi: Concepts, Quick Start, and Comparative Evaluation
Wukong Talks Architecture
Wukong Talks Architecture
Nov 1, 2021 · Fundamentals

Go Language Overview: Features, Concurrency, Types, and Development Tools

This article presents an interview‑style overview of the Go programming language, covering its distinguishing features, typical use cases, concurrency model with goroutines and channels, basic syntax, data types, variable and constant declarations, error handling, and recommended development tools, all illustrated with code examples.

ChannelsConcurrencyGo
0 likes · 13 min read
Go Language Overview: Features, Concurrency, Types, and Development Tools
360 Quality & Efficiency
360 Quality & Efficiency
Oct 29, 2021 · Backend Development

Implementing RabbitMQ Dead Letter Queues with Go

This article explains the concept of RabbitMQ dead letter queues, outlines the conditions that generate dead letters, provides step‑by‑step configuration instructions, and includes Go code examples for publishing messages with TTL and consuming from the dead‑letter queue to implement delayed processing.

GoRabbitMQdead letter queue
0 likes · 5 min read
Implementing RabbitMQ Dead Letter Queues with Go
IT Architects Alliance
IT Architects Alliance
Oct 27, 2021 · Backend Development

Common Mistakes When Building Microservices and Lessons Learned

The article reviews the most frequent errors encountered while adopting microservice architecture—excessive customization, uncontrolled complexity, and vague definitions—illustrating each with real‑world experiences, a saga implementation using Redis streams and Go, and practical advice to avoid similar pitfalls.

GoRedisSAGA
0 likes · 6 min read
Common Mistakes When Building Microservices and Lessons Learned
Tencent Cloud Developer
Tencent Cloud Developer
Oct 27, 2021 · Backend Development

Understanding and Implementing the Raft Consensus Algorithm in Go

This guide walks readers through building a complete Raft consensus system in Go, detailing leader election, log replication, state persistence, snapshotting, and committed‑entry application, while explaining key structures, RPCs, golden rules, and offering advice on using mature libraries versus custom implementations.

Distributed ConsensusGoLog Replication
0 likes · 42 min read
Understanding and Implementing the Raft Consensus Algorithm in Go
21CTO
21CTO
Oct 23, 2021 · Backend Development

Why We Dropped PHP for Go: Lessons from Rebuilding a High‑Traffic Gaming Platform

In this article, Poki engineers explain why they abandoned PHP in favor of Go while migrating to a micro‑service architecture, discuss the performance and operational benefits of Go, evaluate NoSQL options like MongoDB and Cassandra, and justify sticking with MySQL for their high‑traffic gaming platform.

GoNoSQLPHP
0 likes · 9 min read
Why We Dropped PHP for Go: Lessons from Rebuilding a High‑Traffic Gaming Platform
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Oct 21, 2021 · Backend Development

Mastering sync.Once in Go: Thread‑Safe Singleton Patterns Explained

This article explains Go's sync.Once primitive, compares it with init, details various singleton implementations—including lazy, eager, and double‑checked locking—and provides practical code examples and a deep dive into its source implementation for thread‑safe one‑time initialization.

ConcurrencyGoLazy Initialization
0 likes · 7 min read
Mastering sync.Once in Go: Thread‑Safe Singleton Patterns Explained
FunTester
FunTester
Oct 20, 2021 · Backend Development

Boost Go HTTP Performance with fasthttp: Practical API Guide

This article explores the fasthttp library as a high‑performance alternative to Go's net/http client, demonstrates basic and advanced API usage with object pools, shows how to set up a mock test server, and provides complete Go unit‑test examples with output verification.

BackendGoHTTP Client
0 likes · 12 min read
Boost Go HTTP Performance with fasthttp: Practical API Guide
Ops Development Stories
Ops Development Stories
Oct 20, 2021 · Operations

Automate Harbor Image Tag Cleanup with a Go CLI Script

This article explains how to create a Go‑based command‑line tool that queries Harbor projects and repositories, lists image tags, and automatically deletes older tags while retaining a configurable number of recent ones, streamlining storage management and avoiding manual page‑by‑page deletions.

CLIDevOpsGo
0 likes · 18 min read
Automate Harbor Image Tag Cleanup with a Go CLI Script
MaGe Linux Operations
MaGe Linux Operations
Oct 20, 2021 · Fundamentals

Why Rob Pike Opposes Adding Generics to Go 1.18’s Standard Library

Rob Pike, one of Go’s creators, opened a GitHub issue urging the community not to add generics to the Go 1.18 standard library, citing the massive scope of changes and a lack of practical experience, and recommending thorough testing in external libraries before any core updates.

GoLanguage DesignRob Pike
0 likes · 4 min read
Why Rob Pike Opposes Adding Generics to Go 1.18’s Standard Library
Tencent Cloud Developer
Tencent Cloud Developer
Oct 19, 2021 · Backend Development

Comprehensive Guide to gRPC Communication with Go and PHP: Protobuf, Streaming, TLS, and Timeout

This comprehensive guide walks you through creating a gRPC user service in Go and PHP, from defining protobuf messages and generating code, implementing server and client stubs, adding client, server, and bidirectional streaming, securing communication with TLS certificates, and managing request deadlines with timeout controls.

GoPHPStreaming
0 likes · 33 min read
Comprehensive Guide to gRPC Communication with Go and PHP: Protobuf, Streaming, TLS, and Timeout
dbaplus Community
dbaplus Community
Oct 12, 2021 · Information Security

How d18n Enables Cross‑Platform Data Desensitization for Secure Databases

This article introduces d18n, a Go‑based, cross‑platform data‑desensitization tool that supports multiple databases and file formats, explains common desensitization scenarios, details its sensitive‑data identification techniques—including keyword, regex, and NLP‑based DFA—and outlines six practical masking algorithms with export and import workflows.

Database SecurityGod18n
0 likes · 11 min read
How d18n Enables Cross‑Platform Data Desensitization for Secure Databases
FunTester
FunTester
Oct 8, 2021 · Backend Development

Building a Custom Go HTTP Client Wrapper for API Testing

This article walks through creating a reusable Go HTTP client wrapper, demonstrates its use in a test script, shows console output, and integrates a mock server with Moco to enable quick API testing while applying a learning‑by‑doing approach.

APIBackendClient
0 likes · 9 min read
Building a Custom Go HTTP Client Wrapper for API Testing
IT Architects Alliance
IT Architects Alliance
Oct 7, 2021 · Backend Development

Designing a High‑Concurrency Ticket Spike System with Load Balancing, Redis, and Go

This article explains how to build a high‑concurrency ticket‑seckill system that can handle millions of simultaneous requests by using multi‑layer load balancing, Nginx weighted round‑robin, local stock deduction, Redis atomic scripts, and Go’s native concurrency, and it demonstrates the implementation with complete code and performance testing.

Distributed ArchitectureGoRedis
0 likes · 18 min read
Designing a High‑Concurrency Ticket Spike System with Load Balancing, Redis, and Go
Ops Development Stories
Ops Development Stories
Sep 30, 2021 · Backend Development

Master Go: Parse and Generate YAML, JSON, and XML Files

This tutorial demonstrates how to use Go's standard and third‑party libraries to parse and generate YAML, JSON, and XML files, covering data structures, unmarshalling, marshalling, handling maps, and producing readable output with code examples.

Data SerializationGoJSON
0 likes · 17 min read
Master Go: Parse and Generate YAML, JSON, and XML Files
IT Architects Alliance
IT Architects Alliance
Sep 28, 2021 · Backend Development

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

This article explores the design of a high‑concurrency train‑ticket flash‑sale system, covering distributed load‑balancing strategies, Nginx weighted round‑robin configuration, local and remote stock deduction using Go and Redis, performance testing with ApacheBench, and key architectural lessons for preventing overselling and ensuring high availability.

Distributed ArchitectureGoNginx
0 likes · 18 min read
Designing a High‑Concurrency Ticket Spike System: Architecture, Load Balancing, and Go Implementation
NiuNiu MaTe
NiuNiu MaTe
Sep 28, 2021 · Backend Development

Master Go Unit Testing: From Basics to Mocking with GoConvey

This article explains what unit testing is, shows how to write Go unit tests using the testing package, demonstrates more expressive assertions with GoConvey, and introduces mock creation with mockery, providing practical code examples and best‑practice tips for backend developers.

GoGoConveyMocking
0 likes · 7 min read
Master Go Unit Testing: From Basics to Mocking with GoConvey
21CTO
21CTO
Sep 26, 2021 · Backend Development

How Baidu’s Hulk Framework Accelerates Go Service Development

The Hulk framework, built on GDP2, provides a business‑oriented Go web development platform with out‑of‑the‑box components, standardized architecture, rich observability, and tooling that together improve code quality, development speed, and SRE efficiency for large‑scale short‑video services.

BackendGoframework
0 likes · 18 min read
How Baidu’s Hulk Framework Accelerates Go Service Development
Tencent Cloud Developer
Tencent Cloud Developer
Sep 22, 2021 · Backend Development

A Unified Approach to Error Handling in Go Backend Services

The article presents a unified error‑handling strategy for Go backend services that combines idiomatic internal checks, Go 1.13’s %w wrapping with errors.Is/As, and a compact 4‑character base‑36 hash code system to deliver consistent machine‑readable codes and user‑friendly messages while preserving full log details.

Code ExamplesGoSoftware Engineering
0 likes · 16 min read
A Unified Approach to Error Handling in Go Backend Services
High Availability Architecture
High Availability Architecture
Sep 18, 2021 · Backend Development

Getty: A Layered Go Network Framework – Design, Optimization, and Performance Insights

Getty is a Go-based, layered network framework that provides data interaction, business control, and network layers with extensible monitoring interfaces, featuring custom SDKs, goroutine pool optimizations, lazy reconnection, sync.Pool tuning, and benchmark results demonstrating high throughput and low resource usage.

GettyGoPerformance Optimization
0 likes · 25 min read
Getty: A Layered Go Network Framework – Design, Optimization, and Performance Insights
Qunar Tech Salon
Qunar Tech Salon
Sep 16, 2021 · Databases

Design and Implementation of a MySQL Slow‑Query Risk Scoring Model

This article presents a comprehensive approach to quantifying MySQL slow‑query risk by defining scoring items, establishing boundary values, applying various scoring functions, and integrating business‑level weighting, ultimately enabling proactive identification and remediation of high‑impact slow queries.

GoMySQLdatabase performance
0 likes · 16 min read
Design and Implementation of a MySQL Slow‑Query Risk Scoring Model
HomeTech
HomeTech
Sep 15, 2021 · Backend Development

How ASF Simplifies gRPC‑to‑Go Migration and Boosts Service Governance

This article explains the AutoHome Service Framework (ASF), its architecture, how it enables seamless migration from gRPC to Go services, the added Dubbo‑go support, configuration optimizations, advanced load‑balancing strategies, observability enhancements, and future plans for adaptive balancing and zero‑downtime deployments.

ConfigurationGoService Governance
0 likes · 18 min read
How ASF Simplifies gRPC‑to‑Go Migration and Boosts Service Governance
Architect
Architect
Sep 15, 2021 · Backend Development

C++/Go Backend Interview Experiences and Preparation Tips

This article shares a 985 graduate's personal background, systematic interview preparation for C++ and Go backend positions, detailed interview question collections from major tech companies, and practical advice on study resources, project presentation, and coding practice to help candidates succeed in technical interviews.

C++GoInterview Preparation
0 likes · 14 min read
C++/Go Backend Interview Experiences and Preparation Tips
MaGe Linux Operations
MaGe Linux Operations
Sep 10, 2021 · Backend Development

10 Common Go Mistakes That Kill Performance and How to Fix Them

This article lists ten typical Go programming pitfalls—from undefined enum values and misleading benchmarks to pointer misuse, slice initialization, error handling, context misuse, and goroutine closures—explaining why they hurt performance or correctness and offering concrete, idiomatic solutions.

ConcurrencyContextGo
0 likes · 17 min read
10 Common Go Mistakes That Kill Performance and How to Fix Them
Amap Tech
Amap Tech
Aug 31, 2021 · Backend Development

Gaode's Go Application Migration: Architecture, Challenges, and Technical Practices

Gaode migrated its high‑traffic rendering gateway from Java to Go to halve machine usage, validate middleware stability, and prepare for cloud‑native transformation, overcoming correctness and availability challenges by creating a real‑time traffic‑comparison tool, sandbox stress tests, and a staged gray‑release, ultimately achieving about 50% cost reduction.

GoPerformancecloud-native
0 likes · 16 min read
Gaode's Go Application Migration: Architecture, Challenges, and Technical Practices
Ops Development Stories
Ops Development Stories
Aug 27, 2021 · Operations

Inside Prometheus Alerting Rules: How They’re Managed and Executed

This article explains Prometheus' custom Rule system, detailing the structure and components of alerting rules, the rule manager's loading and updating process, group scheduling, evaluation cycles, and the logic for generating, updating, and sending alerts, enabling advanced monitoring extensions.

Alerting RulesGoPrometheus
0 likes · 21 min read
Inside Prometheus Alerting Rules: How They’re Managed and Executed
Ops Development Stories
Ops Development Stories
Aug 26, 2021 · Backend Development

Master Real-Time Communication: Build WebSocket Apps in Go

This guide explains how WebSockets enable full‑duplex communication over a single TCP connection, compares popular Go WebSocket libraries, and provides complete client‑server code examples for TCP, UDP, and HTTP‑based WebSocket implementations, helping developers build real‑time applications such as chat, games, and monitoring tools.

GoGorillaWebSocket
0 likes · 22 min read
Master Real-Time Communication: Build WebSocket Apps in Go
Laravel Tech Community
Laravel Tech Community
Aug 23, 2021 · Fundamentals

Pros and Cons of JavaScript, Haskell, Go, and PHP

This article compares four popular programming languages—JavaScript, Haskell, Go, and PHP—by outlining their key advantages such as rapid prototyping, functional features, simplicity, and ecosystem support, as well as their notable drawbacks including dynamic typing, steep learning curves, lack of generics, and quirky language behaviors.

GoHaskellJavaScript
0 likes · 10 min read
Pros and Cons of JavaScript, Haskell, Go, and PHP
Tencent Cloud Developer
Tencent Cloud Developer
Aug 23, 2021 · Backend Development

Performance Optimization Techniques for Go Standard Library

The article surveys a range of Go standard‑library performance tricks—from using sync.Pool and zero‑copy string/byte conversions to reducing lock contention, leveraging go:linkname, caching call‑frame data, optimizing cgo calls, employing custom epoll, SIMD, and occasional JIT—while urging profiling‑first, readability‑preserving optimizations.

Gocgosync.Pool
0 likes · 17 min read
Performance Optimization Techniques for Go Standard Library
21CTO
21CTO
Aug 20, 2021 · Backend Development

How the Hulk Framework Boosts Go Service Development and Operations

This article explains the background, design, components, ecosystem, and real‑world benefits of the Hulk Go web framework developed by the short‑video R&D team, showing how it improves development efficiency, code quality, performance, observability, and incident response for large‑scale microservices.

GoWeb Frameworkobservability
0 likes · 19 min read
How the Hulk Framework Boosts Go Service Development and Operations
Laravel Tech Community
Laravel Tech Community
Aug 18, 2021 · Fundamentals

Go 1.17 Released: Compiler Improvements, New Architecture Support, Pruned Module Graphs, and Unsafe Utilities

Go 1.17 has been officially released, bringing a new function argument and result passing mechanism that improves performance by about 5%, reduces amd64 binary size by 2%, adds Windows ARM64 support, introduces pruned module graphs, and adds language features such as slice‑to‑array pointer conversion and unsafe.Add/Slice utilities.

Golanguage featuresrelease
0 likes · 3 min read
Go 1.17 Released: Compiler Improvements, New Architecture Support, Pruned Module Graphs, and Unsafe Utilities
Baidu Geek Talk
Baidu Geek Talk
Aug 18, 2021 · Backend Development

Hulk: A Go Web Service Framework for Short‑Video Backend Development

Hulk is a Go‑based web service framework created by the short‑video R&D team to replace a PHP monolith, extending the unreleased GDP2 platform with business‑specific wrappers, a four‑layer architecture, and integrated monitoring, tracing, and deployment tools that dramatically boost development speed, runtime performance, and SRE efficiency for high‑traffic short‑video services.

BackendDevOpsGo
0 likes · 18 min read
Hulk: A Go Web Service Framework for Short‑Video Backend Development
Cloud Native Technology Community
Cloud Native Technology Community
Aug 17, 2021 · Backend Development

6 Essential Go Tricks to Boost Your Backend Development

This article presents six practical Go techniques—including loop labels for prime number generation, IP address conversion, octal UTF‑8 decoding, a lightweight HTTP utility library, a concise debug logging helper, and a Go‑based httpbin replacement—complete with code examples, usage notes, and visual results.

BackendGoHTTP
0 likes · 11 min read
6 Essential Go Tricks to Boost Your Backend Development
Tencent Cloud Developer
Tencent Cloud Developer
Aug 4, 2021 · Fundamentals

Golang Garbage Collection: Algorithms, Memory Management, and Evolution

The article details Go’s runtime memory architecture—including pages, spans, mcache, and size classes—and explains its non‑generational concurrent tri‑color mark‑and‑sweep garbage collector, the required write‑barrier techniques, and the collector’s evolution, phases, trigger mechanisms, and practical code examples across Go 1.0‑1.16.

Concurrent MarkingGarbage CollectionGo
0 likes · 30 min read
Golang Garbage Collection: Algorithms, Memory Management, and Evolution
360 Tech Engineering
360 Tech Engineering
Aug 3, 2021 · Fundamentals

Common Go Pitfalls: Loop Variable Capture, := Scope, Goroutine Pools, and Struct Memory Alignment

This article examines several subtle Go programming issues—including unexpected loop variable addresses, the scope nuances of the := operator, proper handling of goroutine concurrency with worker pools, and how struct field ordering affects memory alignment—providing code examples and practical solutions to avoid these pitfalls.

ConcurrencyGoLoop Variable
0 likes · 15 min read
Common Go Pitfalls: Loop Variable Capture, := Scope, Goroutine Pools, and Struct Memory Alignment
21CTO
21CTO
Jul 30, 2021 · Backend Development

Why Choose Go? Performance Boosts, Development Speed, and Top Companies Using It

The article explains why Go is gaining popularity, highlighting its superior execution performance, high development efficiency, and extensive adoption by leading companies in cloud infrastructure, microservices, and open‑source projects such as Docker, Kubernetes, and many Chinese tech firms.

Gocloud-native
0 likes · 14 min read
Why Choose Go? Performance Boosts, Development Speed, and Top Companies Using It
Tencent Cloud Developer
Tencent Cloud Developer
Jul 27, 2021 · Backend Development

Comprehensive Guide to Go Unit Testing: Tools, Mocking, and Dependency Management

This guide explains Go’s built‑in testing framework, assertion libraries, table‑driven and sub‑tests, and demonstrates how to mock functions, structs, interfaces, databases, and Redis using tools such as ngmock, gomock, sqlmock and miniredis, while covering test setup, teardown, coverage handling, and best‑practice insights.

Dependency InjectionGoMock
0 likes · 21 min read
Comprehensive Guide to Go Unit Testing: Tools, Mocking, and Dependency Management
Java Interview Crash Guide
Java Interview Crash Guide
Jul 24, 2021 · Backend Development

Mastering Rate Limiting in Go: Algorithms, Implementations, and Best Practices

This article explains why rate limiting is essential for high‑availability services, describes HTTP 429 standards and response headers, classifies rate‑limiting strategies by granularity, target, and algorithm, and provides detailed Go code examples using the time/rate library for fixed‑window, sliding‑window, leaky‑bucket, and token‑bucket implementations.

BackendGoalgorithm
0 likes · 28 min read
Mastering Rate Limiting in Go: Algorithms, Implementations, and Best Practices
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Jul 20, 2021 · Backend Development

From Non‑Tech Student to Cloud MVP: Go, AI, and Startup Insights

In this interview, Huawei Cloud MVP Wang Ming shares how a non‑computer‑science background led him to a successful IT career, discusses the advantages of interdisciplinary skills, offers entrepreneurship advice, predicts future tech trends, and explains the key concepts of his popular Go concurrency book.

Artificial IntelligenceEntrepreneurshipGo
0 likes · 7 min read
From Non‑Tech Student to Cloud MVP: Go, AI, and Startup Insights
Liangxu Linux
Liangxu Linux
Jul 18, 2021 · Backend Development

Master Bulk File Renaming with F2: Install, Commands, and Tips

F2 is a fast, safe Go‑based command‑line tool for batch renaming files and folders on Linux, macOS, and Windows, offering multiple installation methods, preview mode, undo, conflict resolution, built‑in variables, and powerful regex‑driven rename examples.

Batch ProcessingCLIFile Renaming
0 likes · 7 min read
Master Bulk File Renaming with F2: Install, Commands, and Tips
Alibaba Cloud Native
Alibaba Cloud Native
Jul 14, 2021 · Cloud Native

What Is Pixiu? A Cloud‑Native API Gateway for Dubbo‑Go Explained

Pixiu is a Golang‑based, cloud‑native API gateway built on dubbo‑go that bridges RESTful and Dubbo services, offering high performance, extensibility, and easy configuration through Listener, Router, Filters, and Client modules, with roadmap plans for gRPC, mesh integration, and more.

API GatewayDubboGo
0 likes · 12 min read
What Is Pixiu? A Cloud‑Native API Gateway for Dubbo‑Go Explained
Tencent Cloud Middleware
Tencent Cloud Middleware
Jul 13, 2021 · Backend Development

Why Kratos Is the Go Microservice Framework You Need: Protobuf, DI, and OpenTelemetry Explained

This article introduces the lightweight Go microservice framework Kratos, covering its Protobuf‑driven API design, open and extensible architecture, logging and tracing integrations, functional‑option configuration, unified error model, and compile‑time dependency injection with code examples and diagrams.

Dependency InjectionGoKratos
0 likes · 18 min read
Why Kratos Is the Go Microservice Framework You Need: Protobuf, DI, and OpenTelemetry Explained
Liangxu Linux
Liangxu Linux
Jul 12, 2021 · Fundamentals

Turn Any Image into ASCII Art on Linux with Ascii Image Converter

This guide explains how to install the Go‑based Ascii Image Converter on Linux, use it to transform JPEG, PNG, BMP, WEBP, or TIFF files (or URLs) into monochrome or colored ASCII art, and customize output size, character sets, and saving options.

ASCII artGoLinux
0 likes · 5 min read
Turn Any Image into ASCII Art on Linux with Ascii Image Converter
Laravel Tech Community
Laravel Tech Community
Jul 7, 2021 · Backend Development

gout – Go HTTP Client Library Overview

The gout library is a Go‑based HTTP client that offers extensive request configuration, body encoding, response parsing, benchmarking, retry logic, raw packet sending, curl export, and custom client injection, with recent updates adding a WithTimeout option and improved handling of empty values.

GoHTTP Clientbackend development
0 likes · 3 min read
gout – Go HTTP Client Library Overview
Xueersi Online School Tech Team
Xueersi Online School Tech Team
Jul 2, 2021 · Backend Development

Exploring Optimizations for Proactive In-Memory Cache Architecture in Golang

At Gopher China 2021, Go expert Yang Le Duo presented a detailed exploration of a proactive in‑memory cache architecture, describing how his team tackled real‑time data, complex queries, hot‑cold data swapping, and language constraints to improve performance and developer productivity in large‑scale streaming applications.

GoIn-Memoryarchitecture
0 likes · 3 min read
Exploring Optimizations for Proactive In-Memory Cache Architecture in Golang