Tagged articles

TaskGroup

2 articles · Page 1 of 1
51CTO HarmonyOS Developer Community
51CTO HarmonyOS Developer Community
Feb 25, 2026 · Mobile Development

Mastering HarmonyOS Concurrency: TaskPool, Worker & TaskGroup in AI Photo App

Through an AI ID photo tool case study, this article demonstrates HarmonyOS concurrency patterns: TaskPool for short preprocessing, Worker for long AI inference, TaskGroup for parallel batch generation, SequenceRunner for dependent tasks, SharedArrayBuffer for zero-copy sharing, Sendable for thread-safe singletons, and producer-consumer queues for real-time previews, with before/after performance metrics.

HarmonyOSSendableSequenceRunner
0 likes · 29 min read
Mastering HarmonyOS Concurrency: TaskPool, Worker & TaskGroup in AI Photo App
Data STUDIO
Data STUDIO
Feb 10, 2026 · Backend Development

Master Python asyncio: Make Your Code Fly with Asynchronous Programming

This article explains why synchronous Python code blocks on I/O, introduces asyncio’s event loop and coroutine model, and walks through creating and managing tasks, using TaskGroup, handling timeouts, avoiding common pitfalls, and applying best‑practice patterns for high‑performance I/O‑bound programs.

Asynchronous ProgrammingPythonTaskGroup
0 likes · 20 min read
Master Python asyncio: Make Your Code Fly with Asynchronous Programming