Search

Discover articles.

Search across authors, categories, and technical themes. The layout mirrors the editorial references while staying responsive and fast.

Results

Matches for “golang”

166 results
Backend Development Aug 6, 2024 Tencent Cloud Developer

Nine Common Techniques for Service Performance Optimization

The article outlines nine broadly applicable techniques—caching, parallel and batch processing, data compression, lock‑free design, sharding, eliminating unnecessary requests, and resource pooling—that together can dramatically cut service latency and improve throughput, as demonstrated by an 80% latency reduction in a real‑world project.

Distributed SystemsPerformance Optimizationconcurrencygolangrediscachingmysql
Backend Development Jul 10, 2024 php中文网 Courses

Nginx Fundamentals and Multi‑Language Simple Static Server Implementations

This course covers Nginx installation, process control, reload, configuration loading, static service, HTTP and gRPC reverse proxy, load balancing, and demonstrates building simple static servers in Go, Python, PHP, C, and C++ to deepen understanding of Nginx’s core principles.

PythonGolangLoad BalancingNginxReverse ProxyWeb ServerStatic Server
Fundamentals Jul 4, 2024 Go Programming World

Understanding False Sharing and Cache Padding in Go

This article explains the concept of false sharing caused by CPU cache line interactions, demonstrates how cache padding can mitigate the performance penalty, and provides Go benchmark code and results to illustrate the impact on multi‑core concurrency.

performanceconcurrencygolangfalse sharingcache padding
Fundamentals May 27, 2024 Go Programming World

Best Practices for Naming Directories, Packages, and Files in Go Projects

This article explores Go naming conventions, covering directory, package, and file naming rules, practical examples, community consensus, and personal recommendations to help developers create clear, maintainable project structures.

golangGobest-practicesdirectory-structurenaming-conventionsfile-namespackage-names
Backend Development May 27, 2024 Go Programming World

Designing an Effective Go Web Project Directory Structure

This article explains the principles and recommended layout for organizing a large Go web project, covering readability, extensibility, standard Go project layout, and detailed descriptions of directories such as /cmd, /internal, /pkg, /configs, /deployments, and supporting files to improve maintainability and scalability.

backendwebgopkgproject-structuregolang-standardsinternal
Backend Development May 21, 2024 Rare Earth Juejin Tech Community

Design and Implementation of a High‑Performance Short URL Service

This article explains the motivation, architecture, resource estimation, code generation algorithms, data modeling, database partitioning, caching strategies, and implementation details for building a scalable short URL system that handles billions of links and high QPS workloads.

code generationbackend architecturescalabilitygolangredisdatabase partitioningshort URL
Backend Development May 10, 2024 Architect

Rate Limiting Algorithms: Fixed Window, Sliding Window, Leaky Bucket, Token Bucket, and Distributed Rate Limiting

This article explains the importance of rate limiting in microservice architectures, introduces four basic algorithms—fixed window, sliding window, leaky bucket, and token bucket—compares their advantages and disadvantages, and presents both single-machine and distributed implementations with Go code examples.

distributed systemsalgorithmmicroservicesgolangrate limiting
Backend Development May 5, 2024 Go Programming World

Using pflag for Command-Line Argument Parsing in Go

This article introduces the Go third‑party flag package pflag, detailing its POSIX/GNU‑style features, basic and advanced usage, flag syntax, name normalization, NoOptDefVal handling, deprecation/hiding mechanisms, and how to mix it with the standard flag package.

golangGocommand-lineflag-parsingpflag
Backend Development Mar 7, 2024 Sanyou's Java Diary

Mastering Rate Limiting: Algorithms, Pros, Cons, and Distributed Solutions

This article explores why rate limiting is essential for high‑concurrency services, introduces four core algorithms with Go implementations, compares their strengths and weaknesses, and presents practical distributed limiting strategies using Redis, load balancers, and coordination services.

distributed systemsperformancealgorithmmicroservicesgolangrate limiting
Backend Development Feb 28, 2024 Tencent Cloud Developer

Comprehensive Guide to Rate Limiting Algorithms and Distributed Rate Limiting Solutions

This guide explains why rate limiting is essential for micro‑service stability, outlines six design principles, details four classic algorithms—fixed window, sliding window, leaky bucket, and token bucket—and compares centralized Redis, load‑balancer cache, and coordination‑service distributed solutions.

distributed systemsalgorithmMicroservicesGolangrate limitingtoken bucket
Previous Page 9 Next