Tagged articles

Go

1784 articles · Page 18 of 18
Efficient Ops
Efficient Ops
Oct 10, 2018 · Databases

Boost Your Database Reliability with Xiaomi’s Open‑Source SQL Optimizer SOAR

Xiaomi is open‑sourcing its Go‑based SQL Optimizer and Rewriter (SOAR) at OSCAR Days, a tool that automatically checks SQL quality, suggests index improvements, rewrites queries, provides EXPLAIN analysis, and integrates with editor plugins and a web self‑audit platform to boost database reliability and developer productivity.

GoSQLopen-source
0 likes · 5 min read
Boost Your Database Reliability with Xiaomi’s Open‑Source SQL Optimizer SOAR
21CTO
21CTO
Sep 11, 2018 · Fundamentals

Getting Started with Go: Essential Tips and First Hello World

This article shares practical Golang notes, covering compilation, package structure, basic syntax, common pitfalls like GOPATH issues, and step‑by‑step screenshots of setting up a Hello World program in Eclipse.

FundamentalsGogolang
0 likes · 3 min read
Getting Started with Go: Essential Tips and First Hello World
Qunar Tech Salon
Qunar Tech Salon
Aug 24, 2018 · Databases

Building an Automated Database Operations Platform: From Monitoring to Multi‑Active Deployment

The article describes how a DBA team at Ele.me transformed manual database management into a fully automated, platform‑driven operation covering monitoring, alarm handling, MHA automation, resource pooling, large‑scale migration, SQL review, and multi‑active DDL release using Go‑based tools and custom workflows.

DBA toolsDatabase AutomationGo
0 likes · 20 min read
Building an Automated Database Operations Platform: From Monitoring to Multi‑Active Deployment
Alibaba Cloud Native
Alibaba Cloud Native
Aug 21, 2018 · Cloud Native

Inside Alibaba’s Sigma: How a Cloud‑Native Scheduler Powers 280× Double‑11 Growth

The article details Alibaba’s Sigma scheduling and cluster management platform—its three‑layer architecture, data and state consistency strategies, real‑world case studies, Go‑based redesign, integration with Kubernetes APIs, and lessons on concurrency, high availability, and pod dispersion for massive Double 11 traffic.

Container OrchestrationGoHigh Availability
0 likes · 20 min read
Inside Alibaba’s Sigma: How a Cloud‑Native Scheduler Powers 280× Double‑11 Growth
Meitu Technology
Meitu Technology
Aug 15, 2018 · Backend Development

Design and Performance Analysis of the Zap Logging Library in Go

The article examines Uber’s high‑throughput Go logging library zap, detailing its structured‑logging design, separation of concerns, copy‑on‑write filtering, extensive sync.Pool object reuse, reflection‑free type‑specific encoding, dynamic HTTP level control, and supplemental features such as a sugar API and log‑rotation, which together deliver superior performance over traditional libraries.

GoLoggingObject Pool
0 likes · 18 min read
Design and Performance Analysis of the Zap Logging Library in Go
High Availability Architecture
High Availability Architecture
Aug 15, 2018 · Backend Development

Deep Dive into Uber's zap: Architecture, High‑Performance Design, and Lessons for Building Go Logging Libraries

This article analyzes Uber's open‑source Go logging library zap, explaining its architectural trade‑offs, performance‑boosting techniques such as object pooling, reflection avoidance, and write‑time copying, and offers practical guidance for developers who want to build high‑performance logging components in Go.

GoLoggingZAP
0 likes · 18 min read
Deep Dive into Uber's zap: Architecture, High‑Performance Design, and Lessons for Building Go Logging Libraries
Beike Product & Technology
Beike Product & Technology
Aug 3, 2018 · Backend Development

Common Go Language Pitfalls and Best Practices

This article explains frequent pitfalls in Go programming—including file‑naming conventions, defer execution order, panic value handling, for‑range copying, struct composition, init function behavior, pointer operations, command‑line arguments, slice capacity bugs, map usage, and channel communication—while providing clear examples and recommended fixes.

Gobest practicesconcurrency
0 likes · 16 min read
Common Go Language Pitfalls and Best Practices
JD Retail Technology
JD Retail Technology
Jul 20, 2018 · Databases

Vitess Two-Phase Commit Implementation and Distributed Transaction Management

This article explains the fundamentals of database transactions, introduces Vitess's architecture, and details how Vitess implements a two‑phase commit protocol for distributed transactions, including transaction IDs, metadata management, preparation, commit, rollback, error handling, and performance considerations, with illustrative Go code snippets.

GoTransaction ManagementVitess
0 likes · 25 min read
Vitess Two-Phase Commit Implementation and Distributed Transaction Management
JD Tech
JD Tech
Jul 16, 2018 · Databases

Vitess Two-Phase Commit: Concepts, Implementation, and Exception Handling

This article explains Vitess’s two‑phase commit mechanism for distributed transactions, covering the ACID properties, shard architecture, transaction manager roles, detailed code flow, metadata handling, preparation, commit, rollback, and various failure scenarios, along with practical examples and performance considerations.

GoVitesstwo-phase commit
0 likes · 25 min read
Vitess Two-Phase Commit: Concepts, Implementation, and Exception Handling
Programmer DD
Programmer DD
Jul 11, 2018 · Cloud Native

Exploring Consul’s Service Mesh: Setup, Code Samples, and Deep Dive

This article walks through upgrading Consul to 1.2, configuring service‑mesh support, building two Go micro‑services, registering them with Consul, reloading the configuration, testing the mesh with curl, and provides a detailed analysis of Consul’s service‑mesh architecture, advantages, and limitations.

ConsulGoMicroservices
0 likes · 12 min read
Exploring Consul’s Service Mesh: Setup, Code Samples, and Deep Dive
Meituan Technology Team
Meituan Technology Team
Jul 5, 2018 · Backend Development

Incremental Update Practices and Go‑Based Performance Optimization at Meituan Finance

Meituan Finance reduced user churn by replacing Node‑based diff generation with a Go‑powered incremental‑update service that uses lightweight goroutines, a three‑layer CDN/API/compute architecture, and pre‑warmed patches, achieving 99.97 % success, 64.9 % incremental updates and roughly 164 KB daily bandwidth savings per user.

Goarchitecturefrontend
0 likes · 19 min read
Incremental Update Practices and Go‑Based Performance Optimization at Meituan Finance
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Jun 22, 2018 · Backend Development

Master Go Channels: From Basics to Advanced Patterns

This article explains Go's channel primitive in depth, covering its conceptual model, types, operations, internal queues, rule scenarios, practical code examples, and best‑practice tips for building clear and efficient concurrent programs.

ChannelGoGo Programming
0 likes · 12 min read
Master Go Channels: From Basics to Advanced Patterns
dbaplus Community
dbaplus Community
Jun 13, 2018 · Databases

How to Build a PostgreSQL FDW with Go: From Theory to Practice

This article explains the history and architecture of PostgreSQL's Foreign Data Wrapper (FDW), details the required database objects and callback functions, and provides a step‑by‑step guide for implementing an FDW in Go using cgo, including code examples, build instructions, and performance considerations.

CGODatabase ExtensionFDW
0 likes · 26 min read
How to Build a PostgreSQL FDW with Go: From Theory to Practice
Architecture Digest
Architecture Digest
May 6, 2018 · Backend Development

Design and Prototype of a Distributed VPN Using Go and KCP

This article describes the motivation, requirements, solution research, and detailed design of a lightweight distributed VPN built with Go, employing KCP as the transport protocol, and includes prototype source code for both hub and peer components.

GoKCPNetwork Programming
0 likes · 12 min read
Design and Prototype of a Distributed VPN Using Go and KCP
360 Tech Engineering
360 Tech Engineering
May 4, 2018 · Backend Development

Writing Middleware in Go: A Practical Guide

This article explains how to create HTTP middleware in Go, covering request reading, trailing‑slash redirection, request‑ID injection, server header manipulation, custom ResponseWriter implementation, and handling of additional interfaces such as Push and Flush, with complete code examples.

GoHTTPMiddleware
0 likes · 7 min read
Writing Middleware in Go: A Practical Guide
Didi Tech
Didi Tech
Apr 16, 2018 · Backend Development

Building Didi’s Core Business Platform with Go: Practices and Open‑Source Contributions

At GopherChina 2018, Didi engineer Shi Songran explained how Go powers the company’s high‑availability order, dispatch, and storage systems, detailing service‑governance practices, two production‑level bugs, and Didi’s open‑source contributions of the gendry database helper and the high‑performance json‑iterator codec.

Backend DevelopmentDidiGo
0 likes · 4 min read
Building Didi’s Core Business Platform with Go: Practices and Open‑Source Contributions
Programmer DD
Programmer DD
Apr 12, 2018 · Backend Development

How Douyin Quickly Shut Down Comments: Service Governance and Circuit Breaking in Action

When the low‑quality app "XX段子" was forced to close, Douyin faced a massive comment surge and responded within minutes by disabling the comment service through circuit‑breaking, illustrating the crucial role of microservice governance, monitoring, and rapid fault isolation in large‑scale backend systems.

GoService Governancecircuit breaking
0 likes · 6 min read
How Douyin Quickly Shut Down Comments: Service Governance and Circuit Breaking in Action
Architecture Digest
Architecture Digest
Apr 12, 2018 · Blockchain

Tendermint Overview and KV Store Example: Installation, Execution, and Code Walkthrough

This article introduces Tendermint’s modular blockchain framework, explains its Core and ABCI components, provides step‑by‑step installation and execution of the built‑in key‑value store example, demonstrates transaction creation and querying, and walks through the Go source code for CheckTx, DeliverTx, and Commit functions.

ABCIGoKV store
0 likes · 7 min read
Tendermint Overview and KV Store Example: Installation, Execution, and Code Walkthrough
Senior Brother's Insights
Senior Brother's Insights
Mar 19, 2018 · Blockchain

Understanding Geth Sync Modes: Fast, Full, and Light Explained

This article examines the three Ethereum Geth synchronization modes—fast, full, and light—by dissecting the underlying Go source code, explaining the SyncMode type, its constants, string and marshaling implementations, default configuration, and the runtime logic that switches modes based on blockchain state.

EthereumGoNode Synchronization
0 likes · 9 min read
Understanding Geth Sync Modes: Fast, Full, and Light Explained
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Dec 28, 2017 · Backend Development

How 360’s SSP Engine Delivers Billions of Ads with Microservices and High‑Performance Architecture

This article explains the architecture and key technologies of 360’s SSP advertising engine—including flexible micro‑service layers, DAG‑based topology, rule and template management, and high‑performance Go‑based HTTP frameworks—that enable billion‑scale ad delivery with low latency and high concurrency.

AdvertisingGoHigh concurrency
0 likes · 16 min read
How 360’s SSP Engine Delivers Billions of Ads with Microservices and High‑Performance Architecture
ITPUB
ITPUB
Dec 6, 2017 · Information Security

How MesaLock Linux Leverages Rust and Go for a Memory‑Safe Linux Distribution

MesaLock Linux is an open‑source Linux distribution that rewrites user‑space applications in memory‑safe languages like Rust and Go, applying three security principles to reduce attack surface, offering container‑ready images, BSD licensing, and community‑driven development.

ContainersGoLinux
0 likes · 6 min read
How MesaLock Linux Leverages Rust and Go for a Memory‑Safe Linux Distribution
Tongcheng Travel Technology Center
Tongcheng Travel Technology Center
Nov 14, 2017 · Backend Development

Highlights of the First Tongcheng Technology Conference in Suzhou: Serverless, Microservices, Go, NewSQL, Hybrid Cloud, and Ticket Search Architecture

The two‑day Tongcheng Technology Conference in Suzhou featured six technical sessions covering serverless architecture, microservices with Go, Facebook‑style development tools, NewSQL database practices, hybrid cloud management at Sina Weibo, and high‑performance ticket search systems, offering practical insights for backend engineers.

GoHybrid CloudMicroservices
0 likes · 10 min read
Highlights of the First Tongcheng Technology Conference in Suzhou: Serverless, Microservices, Go, NewSQL, Hybrid Cloud, and Ticket Search Architecture
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Sep 26, 2017 · Backend Development

Boost Go Development Efficiency with a Comprehensive Makefile

This article explains how to replace repetitive manual Go commands like "go build" and "go test" with a well‑structured Makefile, covering variable definitions, common targets, cross‑compilation, Docker builds, and usage examples to streamline and automate Go project workflows.

Gobuild automationcross-compilation
0 likes · 5 min read
Boost Go Development Efficiency with a Comprehensive Makefile
21CTO
21CTO
Sep 1, 2017 · Fundamentals

Is Go’s 10ms GC Pause Claim Real? A Deep Dive into GC Theory and Trade‑offs

This article critically examines Go’s advertised sub‑10 ms garbage‑collection pauses, compares its concurrent mark‑sweep collector with Java’s GC algorithms, and explores the fundamental trade‑offs of throughput, pause time, memory overhead, and scalability that shape modern garbage‑collector design.

Garbage CollectionGenerational GCGo
0 likes · 18 min read
Is Go’s 10ms GC Pause Claim Real? A Deep Dive into GC Theory and Trade‑offs
21CTO
21CTO
Aug 29, 2017 · Backend Development

Why Go Is Outshining Python for Backend Services: 5 Compelling Reasons

This article explains how Go’s compiled single‑binary output, static type system, superior performance, built‑in libraries, and strong IDE support helped a micro‑service platform replace a Python/Django stack, cutting code by 64% and boosting backend speed by up to 30%.

Backend DevelopmentGoIDE Support
0 likes · 7 min read
Why Go Is Outshining Python for Backend Services: 5 Compelling Reasons
21CTO
21CTO
Jul 23, 2017 · Information Security

How to Deploy Free HTTPS with Go and Let’s Encrypt (Step‑by‑Step Guide)

This article explains why HTTPS is essential, compares third‑party and self‑managed TLS options, and provides a complete Go implementation using Let’s Encrypt’s autocert library, including code for certificate handling, HTTP‑to‑HTTPS redirection, DNS requirements, and caching strategies.

GoHTTPSLet’s Encrypt
0 likes · 11 min read
How to Deploy Free HTTPS with Go and Let’s Encrypt (Step‑by‑Step Guide)
21CTO
21CTO
Jul 11, 2017 · Fundamentals

Go Soars into TIOBE Top 10: July 2017 Language Rankings Revealed

The July 2017 TIOBE index shows Go leaping from rank 55 to the top ten, while Java remains first despite a 6% drop, and other languages like Kotlin, Elixir, and Hack fall, highlighting shifting popularity among the top programming languages.

GoJavaLanguage Trends
0 likes · 3 min read
Go Soars into TIOBE Top 10: July 2017 Language Rankings Revealed
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Jul 6, 2017 · Backend Development

Rebuilding Huajiao Live Chat with Go: Architecture, Scaling & Flow Control

This article details Huajiao's transition from an Erlang‑based chat system to a Go‑driven QChat architecture, covering language selection, component redesign, deployment strategies, flow‑control mechanisms, and four‑layer proxy testing that together enabled massive scaling for live streaming comment and gift traffic.

Chat ArchitectureFlow ControlGo
0 likes · 11 min read
Rebuilding Huajiao Live Chat with Go: Architecture, Scaling & Flow Control
21CTO
21CTO
Jun 24, 2017 · Backend Development

Which Backend Language Handles I/O Best? Node, PHP, Java, and Go Compared

This article examines how different server‑side languages model I/O, compares blocking and non‑blocking approaches in PHP, Java, Node.js, and Go, and presents benchmark results to help you choose the most suitable technology for high‑load web applications.

GoI/O performanceJava
0 likes · 21 min read
Which Backend Language Handles I/O Best? Node, PHP, Java, and Go Compared
21CTO
21CTO
May 22, 2017 · Backend Development

Why Rewriting a Laravel App in Go Boosted Performance and Simplicity

The author rewrote a Laravel‑based Boxzilla application in Go, detailing migration steps, code‑size reduction, benchmark results, and testing advantages, showing how Go delivers faster response times, lower latency, and a more maintainable backend.

Code size reductionGoLaravel migration
0 likes · 7 min read
Why Rewriting a Laravel App in Go Boosted Performance and Simplicity
Architecture Digest
Architecture Digest
May 9, 2017 · Backend Development

Advantages of Go Language in Large‑Scale Messaging Service Development and Operational Practices

The article examines why Go is well‑suited for high‑concurrency, complex communication distributed systems like the 360 message‑push platform, detailing its performance, architecture, challenges, optimization techniques, and operational monitoring compared with traditional C implementations.

GoPerformance Optimizationmessaging
0 likes · 16 min read
Advantages of Go Language in Large‑Scale Messaging Service Development and Operational Practices
21CTO
21CTO
Mar 1, 2017 · Backend Development

How We Built a Scalable Uber‑Like Backend with Go, UDP & ProtoBuf

This article details the design and implementation of a Go‑based backend for a ride‑hailing app, covering real‑time vehicle tracking, route planning with OSRM, bandwidth‑saving UDP + ProtoBuf communication, in‑memory storage, R‑tree indexing, and the full API workflow.

GoOSRMR-tree
0 likes · 10 min read
How We Built a Scalable Uber‑Like Backend with Go, UDP & ProtoBuf
High Availability Architecture
High Availability Architecture
Feb 28, 2017 · Backend Development

Designing a Backend System for an Uber‑Like Ride‑Hailing App with Animated Map Cars Using Go

This article describes how a ride‑hailing service built a memory‑based backend that animates cars on a map, covering challenges of sparse GPS updates, route planning with OSRM, protocol selection (UDP), data serialization (Protobuf), storage architecture, geospatial indexing with R‑tree, and the final API design.

GoR-treeRide Hailing
0 likes · 9 min read
Designing a Backend System for an Uber‑Like Ride‑Hailing App with Animated Map Cars Using Go
dbaplus Community
dbaplus Community
Jan 4, 2017 · Backend Development

How to Build a Raft‑Based Distributed Scheduler on Mesos with Go

This article explains the fundamentals of consensus in distributed systems, compares Paxos and Raft, and provides a step‑by‑step guide with code snippets on embedding the etcd/raft library into the open‑source Mesos scheduler Swan to achieve reliable multi‑node data synchronization.

Backend DevelopmentConsensusGo
0 likes · 14 min read
How to Build a Raft‑Based Distributed Scheduler on Mesos with Go
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Dec 26, 2016 · Backend Development

How Xiaomi Engineered a High‑Performance Flash‑Sale System for the 2014 Mi Fan Festival

This article recounts Xiaomi's rapid development of a flash‑sale platform—starting from a week‑long PHP prototype to a Go‑based, Redis‑backed architecture—detailing the design choices, scalability tactics, and performance optimizations that enabled the 2014 Mi Fan Festival to handle millions of concurrent users.

Flash SaleGoHigh concurrency
0 likes · 14 min read
How Xiaomi Engineered a High‑Performance Flash‑Sale System for the 2014 Mi Fan Festival
Architects Research Society
Architects Research Society
Oct 17, 2016 · Blockchain

Hyperledger Fabric Chaincode Examples: Notarization, Asset Transfer, Digital Currency, Diploma Verification, Energy Sharing, and Logistics

This article presents a series of Hyperledger Fabric chaincode examples written in Go, covering information notarization, asset trading, digital currency issuance, diploma verification, community energy sharing, and logistics supply chain, each with functional descriptions, key functions, data models, and REST‑API interaction details.

ChaincodeGoSmart Contract
0 likes · 20 min read
Hyperledger Fabric Chaincode Examples: Notarization, Asset Transfer, Digital Currency, Diploma Verification, Energy Sharing, and Logistics
GF Securities FinTech
GF Securities FinTech
Sep 28, 2016 · Backend Development

How Event Sourcing and a Go DSL Power a Scalable Points System

This article explains how a financial e‑commerce platform uses the Event Sourcing architecture pattern, an asynchronous message bus, and a Go‑based domain‑specific language to build a flexible, exactly‑once points system that decouples business rules from application code and simplifies operations.

Event SourcingGoPoints System
0 likes · 17 min read
How Event Sourcing and a Go DSL Power a Scalable Points System
Architecture Digest
Architecture Digest
Sep 15, 2016 · Backend Development

Design and Evolution of Xiaomi’s Flash‑Sale System for the 2014 Mi Fan Festival

The article recounts how Xiaomi’s engineering team built, tested, and iteratively improved a high‑concurrency flash‑sale platform—first in PHP with Redis and later in Go—to reliably handle millions of users during the 2014 Mi Fan Festival, detailing architectural choices, performance optimizations, and lessons learned.

Flash SaleGoHigh concurrency
0 likes · 15 min read
Design and Evolution of Xiaomi’s Flash‑Sale System for the 2014 Mi Fan Festival
Qunar Tech Salon
Qunar Tech Salon
Aug 23, 2016 · Backend Development

Design and Implementation of Pitcher: A Go‑Based Reverse Proxy Middleware

The article presents Pitcher, a Go‑implemented reverse‑proxy middleware, detailing its one‑core‑multiple‑routes architecture, callback‑based module model, hot‑configuration reload, graceful restart strategies, GC optimizations, service splitting, and various transport choices such as TCP/protobuf, UDP, and Unix domain sockets to achieve high‑performance, scalable traffic entry for Qunar.

GC optimizationGoMiddleware
0 likes · 15 min read
Design and Implementation of Pitcher: A Go‑Based Reverse Proxy Middleware
Architecture Digest
Architecture Digest
Aug 17, 2016 · Backend Development

Design and Optimization of Bilibili Live Chat (GOIM) System

The article presents a detailed overview of Bilibili's GOIM live chat architecture, covering its high‑stability, high‑availability, low‑latency design, component breakdown, memory and module optimizations, network improvements, and performance testing results to achieve scalable real‑time messaging.

GoHigh AvailabilityLive Streaming
0 likes · 13 min read
Design and Optimization of Bilibili Live Chat (GOIM) System
dbaplus Community
dbaplus Community
Aug 12, 2016 · Backend Development

Designing a High‑Performance In‑Memory Cache: Structures, Locks, and Go Concurrency

This article explores the fundamentals of building a high‑performance in‑memory cache, covering the relationship between caches and KV stores, various cache types, core data structures such as hash tables, lock strategies, rehash techniques, memory management, and network models, with practical examples and Go‑based concurrency designs.

GoMemoryManagementRedis
0 likes · 20 min read
Designing a High‑Performance In‑Memory Cache: Structures, Locks, and Go Concurrency
Architecture Digest
Architecture Digest
Aug 9, 2016 · Backend Development

Design and Evolution of Xiaomi's Notify Asynchronous Message System

This article details the three-stage evolution of Xiaomi's e‑commerce architecture, introduces the design of the Notify asynchronous message system built on Redis and MySQL, and explains the subsequent upgrades—including agent proxy, Go‑based modules, and MyCAT integration—to improve scalability, reliability, and performance.

GoMessage Queueasynchronous messaging
0 likes · 13 min read
Design and Evolution of Xiaomi's Notify Asynchronous Message System
dbaplus Community
dbaplus Community
Aug 5, 2016 · Backend Development

How to Build, Test, and Scale Microservices – From Service Discovery to Chaos Engineering

This article walks through designing a microservice application with Go, covering service registration and discovery, various testing strategies—including unit, integration, contract, and chaos testing—illustrates typical architectural patterns, and shares Qiniu's real‑world microservice implementation and practical Q&A.

Gochaos engineeringservice discovery
0 likes · 21 min read
How to Build, Test, and Scale Microservices – From Service Discovery to Chaos Engineering
MaGe Linux Operations
MaGe Linux Operations
Apr 19, 2016 · Databases

How to Set Up a Codis Cluster on Linux with Go: Step‑by‑Step Guide

This article provides a comprehensive, step‑by‑step tutorial for installing Go 1.4, compiling Codis from source, configuring Zookeeper, setting up Codis server, proxy, and dashboard, and deploying a three‑node Codis cluster on Linux, including all necessary environment variables and command examples.

CodisGoLinux
0 likes · 11 min read
How to Set Up a Codis Cluster on Linux with Go: Step‑by‑Step Guide
MaGe Linux Operations
MaGe Linux Operations
Apr 2, 2016 · Operations

How to Install GitLab on Debian: Complete Step‑by‑Step Guide

This guide walks through the complete installation of GitLab on a Debian system, covering package installation, Ruby and Go setup, system user creation, database configuration, Redis setup, cloning the source, configuring GitLab, initializing the database, and starting the service.

DebianGoInstallation
0 likes · 18 min read
How to Install GitLab on Debian: Complete Step‑by‑Step Guide
ITPUB
ITPUB
Mar 29, 2016 · Fundamentals

Mastering Go Error Handling: From Basic Returns to Elegant State Management

The article explains Go's lack of try/catch, demonstrates how to use error return values with examples, shows how to create custom error types, and presents an optimized pattern that aggregates error checks to produce cleaner, more efficient code without performance loss.

Gobackendcustom error
0 likes · 5 min read
Mastering Go Error Handling: From Basic Returns to Elegant State Management
Aotu Lab
Aotu Lab
Feb 25, 2016 · Frontend Development

Self‑Host ngrok: Build Your Own Public Tunnel for Front‑End Development

This guide walks you through installing Go, cloning and patching the ngrok source, generating self‑signed certificates, compiling both the ngrok server and client, configuring DNS, and verifying the setup so you can expose local web services to the internet without relying on the official ngrok service.

Gongrokself‑hosted
0 likes · 11 min read
Self‑Host ngrok: Build Your Own Public Tunnel for Front‑End Development
21CTO
21CTO
Jan 29, 2016 · Backend Development

Choosing a Niche Language for Your Startup: Python, Ruby, Node.js, Go Pros & Cons

The article examines how early‑stage startups can evaluate less‑common programming languages—Python, Ruby, Node.js, and Go—by weighing their disadvantages such as dynamic typing challenges, limited community support, hiring difficulties, and performance constraints, and explains why a mixed Python‑Go stack may balance rapid development with long‑term stability.

Backend DevelopmentGoNode.js
0 likes · 11 min read
Choosing a Niche Language for Your Startup: Python, Ruby, Node.js, Go Pros & Cons
21CTO
21CTO
Nov 18, 2015 · Backend Development

How Xiaomi Engineered a High‑Performance Flash‑Sale System for the 2014 Mi Fan Festival

This article details Xiaomi's step‑by‑step design and evolution of its flash‑sale platform, covering the initial PHP‑Redis solution, the challenges of extreme concurrency, and the later Go‑based architecture that enabled millions of users to purchase smartphones reliably during the 2014 Mi Fan Festival.

Flash SaleGoHigh concurrency
0 likes · 15 min read
How Xiaomi Engineered a High‑Performance Flash‑Sale System for the 2014 Mi Fan Festival
Architect
Architect
Nov 7, 2015 · Databases

Design and Implementation of the NewSQL Distributed Database TiDB

This article presents a comprehensive technical overview of TiDB, a NewSQL distributed database, covering its architecture, SQL layer, KV engine, distributed transaction mechanisms, code implementation in Go, open‑source practices, and future roadmap.

GoKV storeNewSQL
0 likes · 23 min read
Design and Implementation of the NewSQL Distributed Database TiDB
High Availability Architecture
High Availability Architecture
Aug 24, 2015 · Backend Development

Design and Performance Considerations of 360's Long‑Connection Push System Using Go

This article details the architecture, key performance metrics, and optimization strategies of 360’s high‑availability long‑connection push system built with Go, covering connection capacity, memory usage, throughput, deployment components, client SDK considerations, and operational challenges such as GC pauses and load balancing.

GoPush Systemlong-connection
0 likes · 24 min read
Design and Performance Considerations of 360's Long‑Connection Push System Using Go
Qunar Tech Salon
Qunar Tech Salon
Feb 11, 2015 · Backend Development

Why Bowery and Other Companies Prefer Go Over Node.js: Key Advantages

The article summarizes Bowery’s migration from Node.js to Go and outlines six major advantages of Go—cross‑platform compilation, rapid deployment, built‑in concurrency primitives, integrated testing framework, comprehensive standard library, and structured developer workflow tools—backed by examples from leading tech firms.

GoNode.jsbackend
0 likes · 6 min read
Why Bowery and Other Companies Prefer Go Over Node.js: Key Advantages