Tagged articles
14 articles
Page 1 of 1
Test Development Learning Exchange
Test Development Learning Exchange
Oct 20, 2024 · Backend Development

Python Examples of Distributed Task Queues, Message Brokers, RPC, and Serialization Libraries

This article provides practical Python code examples for various messaging and serialization tools—including Celery, RQ, Huey, ZeroMQ, kafka‑python, Pika, stomp.py, nats‑py, gRPC, Thrift, Protobuf, Avro, msgpack, and Flatbuffers—demonstrating how to set up producers, consumers, and services for asynchronous processing and data exchange.

Distributed TasksMessage QueuePython
0 likes · 19 min read
Python Examples of Distributed Task Queues, Message Brokers, RPC, and Serialization Libraries
ITPUB
ITPUB
Mar 29, 2024 · Databases

How to Import 1 Billion Records into MySQL at Lightning Speed

This guide explains how to efficiently load one billion 1‑KB log entries from HDFS or S3 into MySQL by analyzing B‑tree limits, using batch inserts, choosing the right storage engine, sharding tables, optimizing file reading, and coordinating tasks with Redis, Redisson, and Zookeeper.

Batch InsertBig DataDistributed Tasks
0 likes · 19 min read
How to Import 1 Billion Records into MySQL at Lightning Speed
Test Development Learning Exchange
Test Development Learning Exchange
Dec 6, 2023 · Backend Development

Using Python multiprocessing and Celery for Parallel and Distributed Task Processing

This article introduces Python's multiprocessing module and the Celery task queue, explains their core concepts, and provides practical code examples for multi‑process parallel computation, inter‑process communication, asynchronous execution, scheduled jobs, result callbacks, retries, and distributed task orchestration.

Distributed TasksPythonTask Queue
0 likes · 7 min read
Using Python multiprocessing and Celery for Parallel and Distributed Task Processing
Architect
Architect
Nov 28, 2023 · Databases

How to Import 1 Billion Records into MySQL Efficiently: Architecture & Performance Guide

This article walks through the full engineering process of importing a billion 1 KB log records into MySQL, covering data size calculations, B‑tree index limits, batch‑insert strategies, storage‑engine trade‑offs, fast file‑reading techniques, task coordination with Redis and Redisson, and distributed‑lock design using Zookeeper.

Batch InsertDistributed TasksPerformance Optimization
0 likes · 20 min read
How to Import 1 Billion Records into MySQL Efficiently: Architecture & Performance Guide
Code Ape Tech Column
Code Ape Tech Column
Oct 18, 2023 · Databases

Efficient Strategies for Importing One Billion Records into MySQL

This article explains how to import 1 billion 1 KB log records stored in HDFS or S3 into MySQL by analyzing table capacity limits, choosing storage engines, designing batch inserts, coordinating file reading and writing, and handling task reliability with Redis, Redisson, and Zookeeper.

Batch InsertDistributed TasksPerformance Optimization
0 likes · 18 min read
Efficient Strategies for Importing One Billion Records into MySQL
Test Development Learning Exchange
Test Development Learning Exchange
Aug 2, 2023 · Backend Development

Practical Examples of Python multiprocessing and Celery for Parallel and Distributed Task Processing

This article introduces Python's multiprocessing module and the Celery distributed task queue, explains their core features, and provides ten practical code examples demonstrating multi‑process parallel computation, inter‑process communication, asynchronous tasks, scheduling, retries, and distributed processing for real‑world applications.

Distributed TasksPythoncelery
0 likes · 7 min read
Practical Examples of Python multiprocessing and Celery for Parallel and Distributed Task Processing
Alibaba Cloud Developer
Alibaba Cloud Developer
Oct 17, 2022 · Operations

How Distributed Sharding and Locking Boost Project Environment Creation to 99% Success

This article details how a large‑scale project environment platform was refactored using domain‑driven design, distributed sharding, thread‑pool parallelism, second‑level scheduling, and distributed locks to achieve over 99% creation success, reduce creation time below 100 seconds, and keep exception rates under 1% despite massive task volume.

DDDDistributed TasksScheduler
0 likes · 12 min read
How Distributed Sharding and Locking Boost Project Environment Creation to 99% Success
Code Ape Tech Column
Code Ape Tech Column
Nov 27, 2021 · Backend Development

A Comprehensive Guide to 10 Practical Scheduling Solutions for Java and Linux

This article reviews ten widely used scheduling methods—from Linux crontab and Java Thread/Timer to Spring Task, Spring Quartz, and distributed frameworks like XXL‑Job and Elastic‑Job—explaining their configuration, code examples, and advantages and disadvantages for various backend scenarios.

Distributed TasksJavaScheduling
0 likes · 22 min read
A Comprehensive Guide to 10 Practical Scheduling Solutions for Java and Linux
Python Programming Learning Circle
Python Programming Learning Circle
Oct 23, 2021 · Backend Development

Comprehensive Guide to Using Celery for Distributed Task Processing in Python

This article provides a detailed overview of Celery, covering its architecture, common use cases, installation steps, project structure, task definition, periodic tasks, worker management, distributed deployment, advanced monitoring, custom task handling, task routing, and monitoring with Flower, all illustrated with practical code examples.

AsynchronousDistributed TasksTask Queue
0 likes · 12 min read
Comprehensive Guide to Using Celery for Distributed Task Processing in Python
58 Tech
58 Tech
Nov 13, 2019 · Backend Development

Using Bull Queue in Node.js to Handle Asynchronous Calls, Traffic Shaping, and Distributed Scheduled Tasks for Frontend Applications

This article explains how front‑end teams can leverage the Node.js Bull queue to implement lightweight asynchronous calls, rate‑limiting traffic spikes, and distributed scheduled jobs, detailing the selection rationale, architectural changes, core Redis‑based mechanisms, and practical deployment tips.

BullDistributed TasksFrontend Infrastructure
0 likes · 9 min read
Using Bull Queue in Node.js to Handle Asynchronous Calls, Traffic Shaping, and Distributed Scheduled Tasks for Frontend Applications
Zhuanzhuan Tech
Zhuanzhuan Tech
Dec 28, 2018 · Backend Development

Evolution of ZhaiZhai Transaction System: From Monolithic Design to FSM‑Based Modular Architecture

This article chronicles the rapid growth of ZhaiZhai's second‑hand trading platform and explains how its transaction core was refactored from a single‑service monolith into a unified, configurable, FSM‑driven architecture that isolates business lines, abstracts common logic, and improves scalability and maintainability.

Distributed Tasksbackend designmodular architecture
0 likes · 12 min read
Evolution of ZhaiZhai Transaction System: From Monolithic Design to FSM‑Based Modular Architecture
Qunar Tech Salon
Qunar Tech Salon
Oct 15, 2015 · Backend Development

Getting Started with Celery: Architecture, Installation, and Basic Usage

This article introduces Celery, a Python‑based distributed task queue, explains its three‑part architecture, shows how to install RabbitMQ and Celery on an AWS EC2 Linux instance, and provides step‑by‑step code examples for defining tasks, running workers, and retrieving asynchronous results.

Backend DevelopmentDistributed TasksRabbitMQ
0 likes · 6 min read
Getting Started with Celery: Architecture, Installation, and Basic Usage