Tag

Channels

0 views collected around this technical thread.

Raymond Ops
Raymond Ops
May 8, 2025 · Backend Development

Mastering Go Concurrency: Goroutines, Channels, and Synchronization Explained

This article provides a comprehensive guide to Go's concurrency model, covering goroutine creation, the scheduler, synchronization primitives such as WaitGroup, atomic operations, mutexes, and both unbuffered and buffered channels, with practical code examples and explanations of race conditions and best practices.

ChannelsConcurrencyGo
0 likes · 25 min read
Mastering Go Concurrency: Goroutines, Channels, and Synchronization Explained
Raymond Ops
Raymond Ops
Jan 9, 2025 · Backend Development

Master Go Concurrency: Goroutines, Scheduler, Race Detection, and Channels Explained

This article walks through Go's concurrency model, detailing how goroutines are scheduled across logical processors, how to control parallelism with GOMAXPROCS, detect and resolve race conditions using atomic operations, mutexes, and channels, and provides practical code examples for each concept.

AtomicChannelsConcurrency
0 likes · 18 min read
Master Go Concurrency: Goroutines, Scheduler, Race Detection, and Channels Explained
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
Selected Java Interview Questions
Selected Java Interview Questions
Jul 10, 2021 · Backend Development

Differences Between Java NIO and IO, Channels, Buffers, and Their Comparison with Netty

This article explains the core differences between Java NIO and traditional IO, introduces the concepts of channels and buffers, describes buffer state management, provides a complete NIO selector code example, and compares the NIO workflow with Netty's model.

BuffersChannelsNIO
0 likes · 10 min read
Differences Between Java NIO and IO, Channels, Buffers, and Their Comparison with Netty
Tencent Cloud Developer
Tencent Cloud Developer
Feb 24, 2021 · Backend Development

Common Concurrency Bugs in Go and Their Fixes

Analyzing several major Go projects, the article catalogs frequent concurrency pitfalls—such as unbuffered channels, WaitGroup deadlocks, context leaks, loop‑variable races, double channel closes, timer errors, and RWMutex misuse—and offers concise, idiomatic fixes to prevent blocking, leaks, panics, and deadlocks.

BugsChannelsConcurrency
0 likes · 10 min read
Common Concurrency Bugs in Go and Their Fixes
Java Captain
Java Captain
Sep 18, 2020 · Backend Development

Understanding Java I/O: BIO, NIO, Buffers, Channels, and Selectors

This article provides a comprehensive guide to Java I/O, covering traditional BIO streams, the differences between BIO, NIO and AIO, detailed explanations of byte and character streams, buffers, channels, selectors, and practical examples such as file copying and a simple client‑server chat implementation.

BuffersChannelsNIO
0 likes · 36 min read
Understanding Java I/O: BIO, NIO, Buffers, Channels, and Selectors
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Sep 8, 2020 · Fundamentals

Understanding Java IO: From BIO to NIO, Buffers, Channels, and Selectors

This article provides a comprehensive overview of Java IO, explaining the traditional blocking BIO model, the modern non‑blocking NIO architecture, the role of streams, buffers, channels, zero‑copy techniques, and selectors, and includes practical code examples for file copying and simple client‑server communication.

BuffersChannelsNIO
0 likes · 35 min read
Understanding Java IO: From BIO to NIO, Buffers, Channels, and Selectors
Wukong Talks Architecture
Wukong Talks Architecture
Aug 20, 2020 · Fundamentals

Introduction to Go: Basics, Concurrency, Channels, and Common Constructs

This article provides a comprehensive introduction to the Go programming language, covering its core features, basic syntax, concurrency with goroutines and channels, data types, error handling, and recommended development tools, all illustrated with clear code examples.

ChannelsConcurrencyGo
0 likes · 10 min read
Introduction to Go: Basics, Concurrency, Channels, and Common Constructs
Java Captain
Java Captain
Mar 9, 2020 · Backend Development

Understanding Java NIO vs IO: Differences, Channels, Buffers, and Example Code

This article explains the core differences between Java NIO and traditional IO, introduces the concepts of channels and buffers, details buffer state management, and provides sample NIO code along with a comparison to Netty's processing model.

BuffersChannelsNIO
0 likes · 9 min read
Understanding Java NIO vs IO: Differences, Channels, Buffers, and Example Code
Efficient Ops
Efficient Ops
Dec 4, 2019 · Backend Development

How to Add Real‑Time User Monitoring and Forced Disconnect to Django WebSSH

This article explains how to extend a Django Channels‑based WebSSH tool with real‑time operation monitoring, group‑based messaging, and a forced‑disconnect feature, detailing the necessary layer configuration, consumer modifications, and WebSocket message handling for both operators and observers.

Backend DevelopmentChannelsDjango
0 likes · 10 min read
How to Add Real‑Time User Monitoring and Forced Disconnect to Django WebSSH
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Nov 7, 2017 · Backend Development

Mastering Go Channels: Guarantees, States, and Data Signals Explained

This article delves into Go's channel mechanism, explaining its three core signal properties—delivery guarantee, state, and data presence—while providing clear code examples for unbuffered, buffered, and context‑based channels to help developers write reliable concurrent programs.

ChannelsConcurrencyGo
0 likes · 12 min read
Mastering Go Channels: Guarantees, States, and Data Signals Explained