Architect Chen
Author

Architect Chen

Sharing over a decade of architecture experience from Baidu, Alibaba, and Tencent.

95
Articles
0
Likes
204
Views
0
Comments
Recent Articles

Latest from Architect Chen

95 recent articles
Architect Chen
Architect Chen
Feb 24, 2024 · Backend Development

Understanding Java Queues: Types, Blocking vs Non‑Blocking, and Practical Examples

This article explains what a queue is, classifies Java queue implementations—including blocking, non‑blocking, and double‑ended queues—provides detailed descriptions of each type, and offers code snippets and usage scenarios to help developers choose the right queue for their applications.

BlockingQueueConcurrentQueueDataStructure
0 likes · 6 min read
Understanding Java Queues: Types, Blocking vs Non‑Blocking, and Practical Examples
Architect Chen
Architect Chen
Feb 23, 2024 · Fundamentals

Mastering Java’s Six Thread States: A Visual Guide

This article explains Java’s six thread states—NEW, RUNNABLE, BLOCKED, WAITING, TIMED_WAITING, and TERMINATED—using clear diagrams, concise descriptions, and practical code examples to help developers understand how threads transition during execution.

Concurrencyprogrammingthread
0 likes · 6 min read
Mastering Java’s Six Thread States: A Visual Guide