Tag

golang

1 views collected around this technical thread.

DeWu Technology
DeWu Technology
Jun 12, 2025 · Backend Development

How Componentized Architecture Transforms Activity Systems: From OOP to Rule Engines

This article explores how DeWu's community activity platform evolved from ad‑hoc implementations to a componentized, event‑driven backend using OOP principles, modular design, rule engines, and observer‑hook mechanisms, while also outlining future AI‑driven optimizations and system‑wide standardization.

backend architecturecomponentizationevent-driven
0 likes · 20 min read
How Componentized Architecture Transforms Activity Systems: From OOP to Rule Engines
37 Interactive Technology Team
37 Interactive Technology Team
Jun 6, 2025 · Backend Development

Why Your Golang Service Misses System DNS Cache and How to Fix It

This article explains why a Golang service running on AWS EC2 failed to use the system‑level DNS cache provided by nscd, causing excessive DNS queries that triggered request timeouts, and describes the investigation and optimization steps that resolved the issue.

AWSDNSbackend performance
0 likes · 6 min read
Why Your Golang Service Misses System DNS Cache and How to Fix It
php中文网 Courses
php中文网 Courses
May 26, 2025 · Backend Development

Flow Control in Go (Golang): if/else, for, switch, break, continue, and goto

This article explains Go's flow‑control constructs—including conditional statements, loops, switch branches, and special statements like break, continue, and goto—provides syntax details, highlights key characteristics, and offers multiple code examples to help developers write clear and efficient Go code.

Goflow controlfor loop
0 likes · 9 min read
Flow Control in Go (Golang): if/else, for, switch, break, continue, and goto
DeWu Technology
DeWu Technology
Apr 21, 2025 · Backend Development

Design and Evolution of a Unified Exchange Mall Middleware Platform

The unified exchange mall middleware platform consolidates disparate points‑redemption and lottery flows into a four‑layer architecture—business, gameplay templates, domain models, and downstream services—offering standardized APIs, dynamic RPC routing, Redis‑based inventory control, anti‑fraud safeguards, and built‑in monitoring, thereby cutting development costs, enhancing maintainability, and ensuring system stability.

InventoryRPCanti-fraud
0 likes · 18 min read
Design and Evolution of a Unified Exchange Mall Middleware Platform
Code Mala Tang
Code Mala Tang
Mar 21, 2025 · Backend Development

Can Golang‑Compiled TypeScript Outrun Node, Bun, and Deno? Benchmark Results Revealed

This article examines Microsoft’s new Golang‑based TypeScript compiler by benchmarking recursive Fibonacci, merge sort, and matrix multiplication across Golang, Node.js, Bun, and Deno, revealing that while Golang remains faster, Bun narrows the gap, and the promised ten‑fold speedup is not universally achieved.

BunDenoNode.js
0 likes · 13 min read
Can Golang‑Compiled TypeScript Outrun Node, Bun, and Deno? Benchmark Results Revealed
Raymond Ops
Raymond Ops
Feb 27, 2025 · Backend Development

How to Resolve golang.org/x Package Download Failures with Proxies and Go Modules

This guide explains why Go commands often cannot download golang.org/x packages, and provides step‑by‑step solutions including setting HTTP/HTTPS proxies, manually cloning mirror repositories, using go.mod replace directives, and configuring the GOPROXY environment variable to ensure reliable dependency retrieval.

GOPROXYProxydependency management
0 likes · 6 min read
How to Resolve golang.org/x Package Download Failures with Proxies and Go Modules
Python Programming Learning Circle
Python Programming Learning Circle
Feb 10, 2025 · Artificial Intelligence

Why Golang Won’t Replace Python: A Comparative Overview for AI Engineers

The article compares Golang and Python for AI development, highlighting Golang’s superior scalability, performance, and concurrency while acknowledging Python’s extensive libraries, community support, and accessibility, and concludes that both languages have distinct strengths rather than one completely supplanting the other.

AIgolangmachine learning
0 likes · 7 min read
Why Golang Won’t Replace Python: A Comparative Overview for AI Engineers
Tencent Cloud Developer
Tencent Cloud Developer
Jan 22, 2025 · Cloud Native

Rate Limiting: Concepts, Algorithms, and Distributed Solutions

Rate limiting protects micro‑service stability by rejecting excess traffic, using algorithms such as fixed‑window, sliding‑window, leaky‑bucket and token‑bucket, and can be deployed locally or distributed via Redis, load‑balancers, or coordination services, each offering different trade‑offs in precision, scalability, and complexity.

Rate Limitingalgorithmdistributed systems
0 likes · 31 min read
Rate Limiting: Concepts, Algorithms, and Distributed Solutions
ByteFE
ByteFE
Jan 20, 2025 · Artificial Intelligence

Eino: An Open‑Source Golang Framework for Large‑Model Application Development

Eino is a Golang‑based, open‑source framework that streamlines the full devops lifecycle of large‑model applications by providing stable, strongly‑typed components, graph‑based orchestration, built‑in tooling, and extensible architecture to help developers quickly build reliable AI services.

AIDevOpsLLM
0 likes · 13 min read
Eino: An Open‑Source Golang Framework for Large‑Model Application Development
Java Tech Enthusiast
Java Tech Enthusiast
Nov 14, 2024 · Backend Development

Comprehensive Backend Interview Q&A: Golang, Networking, OS, MySQL, Redis, Design Patterns, and Algorithms

The article presents recent tech-company salary figures and a comprehensive set of backend interview questions spanning Go language fundamentals, memory management, networking protocols, OS synchronization, MySQL transaction isolation and indexing, Redis performance, design‑pattern implementations, and classic algorithms such as quicksort.

AlgorithmsDatabaseInterview
0 likes · 11 min read
Comprehensive Backend Interview Q&A: Golang, Networking, OS, MySQL, Redis, Design Patterns, and Algorithms
DevOps
DevOps
Oct 31, 2024 · Backend Development

Improving Backend Engineer Skills: Abstract Problem Solving and Code Abstractions

This article explores the core competencies of backend engineers, emphasizing accurate problem abstraction, discusses Go's ServerCodec and I/O interfaces, demonstrates algorithmic solutions to the Word Search II problem, and offers practical advice on improving coding skills through studying language features, system design, and effective learning habits.

abstractionalgorithmbackend
0 likes · 19 min read
Improving Backend Engineer Skills: Abstract Problem Solving and Code Abstractions
Baidu Geek Talk
Baidu Geek Talk
Oct 14, 2024 · Backend Development

Evolution of Baidu Visual Search Architecture: Stack Upgrade, Full‑Link Refactoring, and Stability Enhancements

Baidu Visual Search upgraded its PHP/HHVM stack to Golang, introduced a Backend‑For‑Frontend layer, refactored presentation and system modules with the GDP framework and ExGraph, and built comprehensive monitoring and self‑healing tools, delivering a modular, scalable, and stable AI‑driven search platform.

architecturebackendgolang
0 likes · 13 min read
Evolution of Baidu Visual Search Architecture: Stack Upgrade, Full‑Link Refactoring, and Stability Enhancements
Tencent Cloud Developer
Tencent Cloud Developer
Sep 3, 2024 · Backend Development

Rate Limiting: Purpose, Algorithms, Implementation Methods, Strategies, and Considerations

Rate limiting safeguards system stability by capping request rates, employing algorithms such as fixed‑window, sliding‑window, leaky‑bucket, and token‑bucket, and can be applied at application, proxy, or hardware layers while using strategies like threshold setting, request classification, feedback, and ensuring fairness, flexibility, and transparency.

Rate Limitingalgorithmbackend
0 likes · 28 min read
Rate Limiting: Purpose, Algorithms, Implementation Methods, Strategies, and Considerations
Tencent Cloud Developer
Tencent Cloud Developer
Aug 6, 2024 · Backend Development

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.

MySQLRediscaching
0 likes · 28 min read
Nine Common Techniques for Service Performance Optimization
Refining Core Development Skills
Refining Core Development Skills
Aug 5, 2024 · Fundamentals

Deep Dive into Linux Processes and Memory: A Comprehensive Guide

This article introduces a new book 'Deep Understanding of Linux Processes and Memory' that systematically explains CPU, memory, and process scheduling principles, covering hardware fundamentals, virtual memory, Golang coroutines, container resource management, and performance optimization techniques.

CPU architectureContainersLinux
0 likes · 5 min read
Deep Dive into Linux Processes and Memory: A Comprehensive Guide
php中文网 Courses
php中文网 Courses
Jul 10, 2024 · Backend Development

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.

Load BalancingNginxPython
0 likes · 2 min read
Nginx Fundamentals and Multi‑Language Simple Static Server Implementations
Go Programming World
Go Programming World
Jul 4, 2024 · Fundamentals

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.

cache paddingconcurrencyfalse sharing
0 likes · 8 min read
Understanding False Sharing and Cache Padding in Go
Go Programming World
Go Programming World
May 27, 2024 · Fundamentals

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.

Directory StructureGobest practices
0 likes · 13 min read
Best Practices for Naming Directories, Packages, and Files in Go Projects
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
May 21, 2024 · Backend Development

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.

RedisShort URLbackend architecture
0 likes · 17 min read
Design and Implementation of a High‑Performance Short URL Service
Architect
Architect
May 10, 2024 · Backend Development

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.

Rate Limitingalgorithmdistributed systems
0 likes · 29 min read
Rate Limiting Algorithms: Fixed Window, Sliding Window, Leaky Bucket, Token Bucket, and Distributed Rate Limiting