Tag

resource management

1 views collected around this technical thread.

Architecture and Beyond
Architecture and Beyond
Jun 8, 2025 · Backend Development

Designing Queueing and Rate Limiting for Scalable AIGC Services

This article explains why queueing systems and rate‑limiting strategies are essential for AIGC platforms, describes the user‑facing product behaviors they produce, outlines design considerations, compares technical options, and provides practical implementation guidance to keep services stable, cost‑effective, and user‑friendly.

AIGCQueueRate Limiting
0 likes · 30 min read
Designing Queueing and Rate Limiting for Scalable AIGC Services
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Jun 6, 2025 · Cloud Native

Master Docker’s Core: Namespaces and Cgroups Explained

This article explains Docker’s fundamental technologies—how Linux namespaces provide process, network, and filesystem isolation while cgroups enforce resource limits such as CPU, memory, I/O, and process counts—offering a concise guide for building secure, efficient containerized applications.

ContainerizationDockerLinux
0 likes · 5 min read
Master Docker’s Core: Namespaces and Cgroups Explained
JD Tech Talk
JD Tech Talk
Apr 29, 2025 · Backend Development

Understanding Java ShutdownHook: Principles, Implementation, and Use Cases

This article explains the concept of Java's Runtime.addShutdownHook, details its underlying implementation in the Runtime and ApplicationShutdownHooks classes, demonstrates usage with code examples, discusses typical application scenarios, potential risks of long‑running hooks, and provides best‑practice recommendations for safe JVM shutdown handling.

JVMJavaShutdownHook
0 likes · 7 min read
Understanding Java ShutdownHook: Principles, Implementation, and Use Cases
vivo Internet Technology
vivo Internet Technology
Apr 16, 2025 · Big Data

Offline Mixed Deployment of Spark Tasks on Kubernetes: Containerization, Scheduling, and Elastic Resource Management

The article explains how the vivo Internet Big Data team containerized offline Spark jobs and deployed them with the Spark Operator on a mixed online‑offline Kubernetes cluster, using elastic scheduling and resource‑over‑subscription to boost CPU utilization by 30‑40% and handle over 100,000 daily tasks.

ContainerizationKubernetesSpark
0 likes · 36 min read
Offline Mixed Deployment of Spark Tasks on Kubernetes: Containerization, Scheduling, and Elastic Resource Management
Code Mala Tang
Code Mala Tang
Apr 10, 2025 · Fundamentals

Unlock Python’s Hidden Power: Mastering Context Managers for Cleaner Code

This article explains what Python context managers are, how they work under the hood, and why they are far more useful than simple file handling, providing practical examples ranging from resource management and testing to advanced asynchronous usage and common pitfalls.

Context ManagerPythonbest practices
0 likes · 21 min read
Unlock Python’s Hidden Power: Mastering Context Managers for Cleaner Code
Qunar Tech Salon
Qunar Tech Salon
Mar 27, 2025 · Operations

Automated Capacity Planning and Auto‑Scaling for Hotel Services During Traffic Peaks

This document describes a comprehensive capacity‑planning solution that predicts traffic‑peak impacts for hotel services, automatically estimates required CPU resources, creates timed scaling tasks, and evaluates performance using detailed metrics, thereby improving operational efficiency and reducing manual effort during events such as exam‑ticket printing and holiday travel surges.

Cloud Computingalgorithmauto scaling
0 likes · 12 min read
Automated Capacity Planning and Auto‑Scaling for Hotel Services During Traffic Peaks
Java Architect Essentials
Java Architect Essentials
Mar 16, 2025 · Backend Development

Using Try‑with‑Resources for GZIP Compression in Java: Avoiding Resource Leaks

This article explains how to compress large objects with GZIP before storing them in Redis, demonstrates the pitfalls of not closing streams, shows how Java's try‑with‑resources simplifies resource management, and provides best‑practice code examples to prevent hidden IO exceptions.

Javabackendgzip
0 likes · 7 min read
Using Try‑with‑Resources for GZIP Compression in Java: Avoiding Resource Leaks
Raymond Ops
Raymond Ops
Feb 26, 2025 · Operations

How to Limit CPU Usage for Docker Containers: A Practical Guide

This article explains how to restrict the CPU resources a Docker container can use, covering the modern --cpus flag, older --cpu-period/--cpu-quota options, pinning containers to specific cores with --cpuset-cpus, and adjusting CPU weight with --cpu-shares, all demonstrated with the u‑stress image.

DockerLinuxcgroups
0 likes · 9 min read
How to Limit CPU Usage for Docker Containers: A Practical Guide
Aikesheng Open Source Community
Aikesheng Open Source Community
Feb 25, 2025 · Databases

Understanding CPU Allocation Logic in OceanBase 4.x and How to Modify the cpu_count Configuration

This article explains the background of tenant creation failures caused by insufficient CPU resources in OceanBase, details the calculation of usable CPU in version 4.x, shows how to query CPU usage with SQL, describes related configuration parameters, and provides step‑by‑step procedures for modifying cpu_count and testing over‑commit scenarios across different OceanBase versions.

CPUOceanBaseSQL
0 likes · 12 min read
Understanding CPU Allocation Logic in OceanBase 4.x and How to Modify the cpu_count Configuration
DevOps Cloud Academy
DevOps Cloud Academy
Feb 18, 2025 · Operations

How AI Is Transforming DevOps: 10 Key Benefits

AI is reshaping DevOps by enhancing automation, enabling predictive analytics, optimizing CI/CD pipelines, managing resources intelligently, strengthening security, accelerating incident response, driving data-driven decisions, scaling infrastructure, fostering collaboration, and promoting continuous learning, thereby boosting flexibility, scalability, and reliability of software delivery.

AICI/CDDevOps
0 likes · 8 min read
How AI Is Transforming DevOps: 10 Key Benefits
IT Architects Alliance
IT Architects Alliance
Jan 29, 2025 · Cloud Native

Cloud‑Native Architecture vs Traditional Architecture: Benefits, Design, Development, and Migration Strategies

The article compares cloud‑native and traditional architectures, explaining how microservices, containers, and DevOps enable greater flexibility, scalability, resource efficiency, fault tolerance, and faster market response, while outlining migration best practices for enterprises transitioning to the cloud.

ContainerizationDevOpsMicroservices
0 likes · 16 min read
Cloud‑Native Architecture vs Traditional Architecture: Benefits, Design, Development, and Migration Strategies
Architecture & Thinking
Architecture & Thinking
Jan 28, 2025 · Fundamentals

Understanding Java Deadlocks: Causes, Examples, and Prevention Strategies

This article explains the concept of deadlocks in concurrent programming, outlines the four necessary conditions, examines common causes in Java, provides a runnable code example, and presents practical prevention, avoidance, detection, and recovery techniques to keep multithreaded applications running smoothly.

JavaSynchronizationconcurrency
0 likes · 7 min read
Understanding Java Deadlocks: Causes, Examples, and Prevention Strategies
IT Architects Alliance
IT Architects Alliance
Jan 7, 2025 · Cloud Computing

Elastic Architecture: Auto Scaling and Failover for Resilient Systems

The article explains how elastic architecture, through auto‑scaling and failover mechanisms, dynamically adjusts resources and ensures continuous service during traffic spikes and component failures, improving cost efficiency, reliability, and operational stability for modern cloud‑based applications.

Cloud ComputingElastic ArchitectureFailover
0 likes · 16 min read
Elastic Architecture: Auto Scaling and Failover for Resilient Systems
Test Development Learning Exchange
Test Development Learning Exchange
Jan 5, 2025 · Fundamentals

Understanding Python's with Statement and Context Managers with Practical Examples

This article explains Python's with statement as a context management tool, describes the required __enter__ and __exit__ methods, and provides multiple practical examples—including file handling, custom managers, multiple managers, third‑party resources, and automation scenarios—to illustrate reliable resource acquisition and cleanup.

Context ManagerPythonautomation
0 likes · 8 min read
Understanding Python's with Statement and Context Managers with Practical Examples
DevOps
DevOps
Dec 29, 2024 · R&D Management

Understanding Information, Cognition, Execution, and Competition Gaps in Organizations

The article examines how information gaps, cognition gaps, execution gaps, resource gaps, and competition gaps interrelate, explaining that data becomes information with context, information shapes cognition, cognition drives execution, and resources amplify competitive advantage, while highlighting the role of communities and personal development in bridging these gaps.

cognitioncompetitionexecution
0 likes · 12 min read
Understanding Information, Cognition, Execution, and Competition Gaps in Organizations
Code Ape Tech Column
Code Ape Tech Column
Dec 27, 2024 · Backend Development

Object Pool Pattern: Principles, Apache Commons Pool Implementation, and Practical Use Cases

This article explains the object pool design pattern, its working mechanism, advantages and disadvantages, and provides step‑by‑step Java code using Apache Commons Pool along with real‑world examples for web servers and game development to improve performance and resource management.

Apache Commons PoolJavaObject pool
0 likes · 14 min read
Object Pool Pattern: Principles, Apache Commons Pool Implementation, and Practical Use Cases
Deepin Linux
Deepin Linux
Dec 21, 2024 · Fundamentals

Understanding Linux Kernel Bitmap Data Structure and Its APIs

This article explains the Linux kernel bitmap data structure, its definition, macro-based declarations, related assembly instructions, core bitmap APIs such as set_bit and test_bit, various bit‑operation functions, and practical applications ranging from PID allocation to device management and file‑system indexing.

Bit OperationsBitmapData Structure
0 likes · 27 min read
Understanding Linux Kernel Bitmap Data Structure and Its APIs
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Dec 8, 2024 · Backend Development

Designing an Elegant Error‑Handling Framework for Go Applications

This article analyses the pitfalls of traditional error‑checking and panic handling in Go order‑processing code, demonstrates how excessive inline checks and scattered defer statements lead to maintenance nightmares, and proposes a reusable try‑catch‑finally library that cleanly separates business logic, unifies panic recovery, and guarantees resource cleanup.

backenderror handlinggo
0 likes · 19 min read
Designing an Elegant Error‑Handling Framework for Go Applications