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”

160 results
Fundamentals May 21, 2023 Cognitive Technology Team

Understanding Variable Shadowing in Go and Detecting It with golangci-lint

The article explains how Go's short variable declaration (:=) can cause variable shadowing across scopes, demonstrates the effect with a sample program, and recommends using the golangci-lint static analysis tool to automatically detect such hidden bugs.

programminggostatic-analysisfundamentalsgolangci-lintvariable-shadowing
Backend Development May 5, 2023 Tencent Cloud Developer

Golang vs Java: Syntax, Concurrency, Exception Handling, GC and Ecosystem Comparison

While Go offers concise syntax, non‑intrusive interfaces, lightweight goroutine concurrency, a simple three‑color garbage collector and a small native binary footprint, Java provides a mature object‑oriented model, extensive libraries, generational GC and robust tooling, making the optimal language choice depend on project performance, ecosystem and development speed requirements.

JavaBackend DevelopmentConcurrencyGolangprogrammingGarbage CollectionLanguage Comparison
Backend Development Feb 10, 2023 37 Interactive Technology Team

Analysis of Golang SQL Connection Pool Mechanism and Usage

The article examines Go’s database/sql connection pool implementation, showing how reusing connections cuts latency, explains idle/in‑use/closed state transitions, details configuration parameters such as MaxIdleConns and MaxOpenConns, demonstrates metric collection via Gorm DBStats for monitoring, and provides a stress‑test illustrating the impact of proper tuning.

performanceSQLGolangMetricsConnection PoolTracingGORM
Databases Dec 8, 2022 Laravel Tech Community

ip2region 2.11.0 Release Highlights: New Golang XDB Editor, Data Updates, and Optimizations

The ip2region 2.11.0 release introduces a Golang XDB editor for easy IP data modification, updates the XDB dataset with community‑provided fixes, adds a data‑update scheme, and improves Golang/Java makers and query clients, offering high‑performance offline IP lookup across multiple languages.

DatabaseGolangXDBIP GeolocationOffline Lookup
Backend Development May 5, 2022 Shopee Tech Team

seadt: Golang Distributed Transaction Solution – Design, Integration, and Code Implementation

seadt is a Golang‑based TCC distributed‑transaction framework for Shopee Financial Products that lets initiators run multi‑service operations as if they were local DB actions, providing TM, RM, and TC components, automatic proxy generation, and robust handling of empty commits, rollbacks, hanging branches, and concurrency issues.

Golangmicroservicesdistributed transactionTCCtransaction managementseadt
Backend Development Apr 21, 2022 Tencent Cloud Developer

Local Cache Solutions in Golang: A Comprehensive Guide to Open-Source Components

The guide reviews the essential requirements for Go local caching and compares seven open‑source caches—freecache, bigcache, fastcache, offheap, groupcache, ristretto, and go‑cache—while detailing the sharded, lock‑reduced designs of freecache, bigcache, fastcache, and offheap, and explains how off‑heap allocation or pointer‑free maps achieve near zero‑GC performance.

Performance Optimizationbackend developmentgolangLocal CacheBigcacheFastcacheFreecacheOff-heap Memory
Artificial Intelligence Apr 8, 2022 Baidu Geek Talk

Golang Object Pool for Reducing GC Pressure, FFmpeg Concurrency Control, and Paddle Static vs. Dynamic Graphs

The article explains how Go's lock‑free sync.Pool can cut garbage‑collection overhead, shows practical FFmpeg thread‑parameter tuning that balances CPU use and latency for video filtering versus encoding, and compares PaddlePaddle's static and dynamic graph modes, including debugging tips and conversion to static.

Deep LearningConcurrencyGolangFFmpegsync.PoolDynamic GraphPaddleStatic Graph
Backend Development Mar 30, 2022 IT Services Circle

Deep Dive into Golang net Package: Internal Mechanics of Listen, Accept, Read and Write

This article explains how Go's net package implements network operations—showing a simple server example, then dissecting the internal workflow of Listen, Accept, Read and Write, including socket creation, epoll integration, coroutine blocking and wake‑up mechanisms.

concurrencygolangruntimenetworkingepollgoroutinenet
Backend Development Mar 3, 2022 Shopee Tech Team

seadt: A Golang Distributed Transaction Framework for Financial Products

seadt is a self‑developed Golang distributed‑transaction framework for Shopee’s financial products that adopts the TCC model, providing a global Transaction Coordinator, embedded Transaction Managers and Resource Managers via an SDK to ensure atomic two‑phase commits, idempotency, high availability, and eventual consistency in loan‑processing flows, with future Saga support planned.

microservicesGolangTCCdistributed transactionstransaction managementfinancial servicesseata
Previous Page 2 Next