Tagged articles
Channels
25 articles · Page 1 of 1
This article dissects the classic Go interview problem of printing numbers and letters alternately (1a2b…26z), explains why sleep‑based solutions fail, details deadlock and token‑count pitfalls, and presents a robust dual‑channel token relay implementation with step‑by‑step code and three key takeaways.
ChannelsSynchronizationdeadlock
0 likes · 9 min read

Claude Code’s newly released Channels feature lets developers control active Claude Code sessions from Telegram or Discord on their phones, using the Model Context Protocol (MCP) to create a bidirectional server, while the preview highlights both setup steps and its broader strategic impact on AI‑driven development.
AI coding assistantChannelsClaude Code
0 likes · 6 min read

This article explains how to build a high‑performance asynchronous logging system for Go web services using channels and middleware, covering both gRPC and Gin implementations, a log‑processing engine, performance‑tuning tips, and measured latency and CPU improvements.
ChannelsGinasynchronous logging
0 likes · 7 min read

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

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.
ChannelsConcurrencyGo
0 likes · 18 min read

This article outlines a comprehensive guide to Go's concurrency model, covering fundamental concepts, goroutine scheduling, synchronization primitives, channel communication, common patterns, deadlock avoidance techniques, and performance‑optimizing mechanisms with concrete code examples and step‑by‑step explanations.
ChannelsConcurrencyGo
0 likes · 13 min read

A Fastly engineer discovered that increasing CPU cores can degrade Go channel performance due to lock contention, and this article reproduces the benchmarks, explains why goroutine count—not CPU count—is the real culprit, and offers practical optimization techniques.
BenchmarkChannelsConcurrency
0 likes · 10 min read

This article explains how to implement non‑blocking channel operations in Go using the select statement with a default case, provides detailed code examples for both sending and receiving, and analyzes the benefits, challenges, and practical use cases in high‑performance concurrent systems.
ChannelsConcurrencyGo
0 likes · 6 min read

This article explains Go's channel fundamentals, demonstrates how to create and use channels to synchronize multiple goroutines with practical code examples, and visualizes the process with a UML sequence diagram for clearer understanding.
ChannelsConcurrencyGo
0 likes · 3 min read

This guide explains Monolog's core concepts, installation, and practical usage in PHP, covering channels, handlers, formatters, processors, custom log formats, JSON output, log levels, and a comprehensive list of built‑in handlers, processors, and formatters.
ChannelsHandlersLogging
0 likes · 15 min read

This article demonstrates how to launch ten concurrent Go tasks using channels and a WaitGroup, capture each task's result and error, handle timeouts and panics, and preserve the original order of results before returning a unified response.
ChannelsConcurrencyTimeout
0 likes · 8 min read

This article dives deep into Go's channel implementation, explaining the hchan data structure, how make creates channels, the send/receive mechanics, goroutine scheduling, blocking behavior, and provides practical code examples to illustrate these concepts.
ChannelsGoRuntime
0 likes · 9 min read

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

This tutorial walks you through creating a real‑time online chatroom using Django 3, Channels, Redis (or Memurai on Windows), and a Vue front‑end, covering environment setup, dependency installation, project configuration, WebSocket consumer implementation, and front‑end integration.
ChannelsDjangoReal-time Chat
0 likes · 10 min read

This article explains the core differences between Java NIO and traditional IO, introduces channels and buffers, details NIO’s underlying mechanisms, provides a complete code example, and compares NIO’s workflow with Netty’s model, highlighting performance and architectural distinctions.
BuffersChannelsIO
0 likes · 13 min read

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.
BackendBuffersChannels
0 likes · 10 min read

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.
ChannelsConcurrencyContext
0 likes · 10 min read

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.
BuffersChannelsJava
0 likes · 36 min read

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.
BuffersChannelsIO
0 likes · 35 min read

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

This article explains the fundamental differences between Java NIO and traditional IO, introduces channels and buffers, describes NIO's internal mechanisms, provides a complete code example, and compares NIO's workflow with Netty's model for high‑performance backend development.
BackendBuffersChannels
0 likes · 11 min read

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.
BuffersChannelsIO
0 likes · 9 min read

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.
ChannelsDjangoWebSocket
0 likes · 10 min read

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

This article explains Java NIO introduced in Java 1.4, covering its core components—Channels, Buffers, and Selectors—detailing channel types, buffer operations, non‑blocking behavior, selector usage, and code examples such as FileChannel and Pipe, and compares NIO with classic IO.
BuffersChannelsJava NIO
0 likes · 19 min read
