Tagged articles

resource management

327 articles · Page 4 of 4
360 Quality & Efficiency
360 Quality & Efficiency
May 8, 2017 · Backend Development

Why and How to Manually Close Java Resource Objects

This article explains why Java developers must manually close resource objects such as streams and database connections, discusses the limitations of garbage collection, and presents best‑practice techniques like finally blocks, try‑with‑resources, and utility libraries for proper resource management.

Garbage Collectionbackend developmentjava
0 likes · 5 min read
Why and How to Manually Close Java Resource Objects
Tencent TDS Service
Tencent TDS Service
Apr 27, 2017 · Mobile Development

How to Shrink Your Android APK Size: Practical Tips and Tools

This guide explains how Android developers can understand APK structure and apply a range of techniques—such as removing unused resources, compressing images, using vector drawables, and optimizing native code—to significantly reduce the size of their application packages and improve download and install performance.

APKAndroidmobile development
0 likes · 15 min read
How to Shrink Your Android APK Size: Practical Tips and Tools
Qunar Tech Salon
Qunar Tech Salon
Apr 11, 2017 · Big Data

Implementing Dynamic Scaling for Spark on Mesos Using Marathon and Docker

This article describes how a team migrated Spark 1.6.x running on Mesos to a Marathon‑Docker based architecture that provides dynamic executor scaling, resolves configuration and resource‑allocation issues, and improves monitoring, fault‑tolerance, and upgrade processes for large‑scale streaming workloads.

DockerDynamic ScalingMarathon
0 likes · 17 min read
Implementing Dynamic Scaling for Spark on Mesos Using Marathon and Docker
ITPUB
ITPUB
Sep 5, 2016 · Backend Development

Why a Barrier‑Based Config Swap Still Crashed: Uncovering a Shallow Copy Bug

A seemingly safe configuration swap using barriers caused a crash because a shallow copy duplicated resource pointers, leading to premature freeing of the active configuration; the article explains the bug, shows the faulty code, and presents a corrected approach.

BarrierC programmingbug fix
0 likes · 5 min read
Why a Barrier‑Based Config Swap Still Crashed: Uncovering a Shallow Copy Bug
Tencent Music Tech Team
Tencent Music Tech Team
Aug 20, 2016 · Mobile Development

Android App Internationalization: Problems and Solutions

Android app internationalization involves extracting hard‑coded strings into language‑specific strings.xml files, using Lint and regex to locate text, annotating resources, formatting placeholders, exporting for translation, updating the Resources configuration at runtime, handling UI refresh via onConfigurationChanged, recreate or activity restart, and adjusting layouts for length, dimensions, and caps to ensure a seamless multilingual experience.

AndroidLocalizationStrings.xml
0 likes · 13 min read
Android App Internationalization: Problems and Solutions
ITPUB
ITPUB
Jul 7, 2016 · Databases

How Software Performance Engineering Boosts Database Optimization

The talk explains how systematic software performance engineering, through six optimization patterns such as Fast Path, Batching, Flex Path, First Things First, Coupling, and Alternate Routes, can identify and resolve database performance bottlenecks without merely adding more hardware resources.

OptimizationSoftwareperformance engineering
0 likes · 14 min read
How Software Performance Engineering Boosts Database Optimization
dbaplus Community
dbaplus Community
Jun 5, 2016 · Operations

Mastering Mesos, Zookeeper, and Marathon: A Step‑by‑Step Guide to Building a Docker Cluster

This tutorial introduces Apache Mesos, Zookeeper, and Marathon, explains their core components and coordination mechanisms, and provides detailed, image‑rich step‑by‑step instructions for setting up a pseudo‑cluster, deploying Docker containers, and managing tasks through the Mesos and Marathon web interfaces.

Cluster DeploymentMarathonMesos
0 likes · 13 min read
Mastering Mesos, Zookeeper, and Marathon: A Step‑by‑Step Guide to Building a Docker Cluster
ITPUB
ITPUB
Apr 13, 2016 · Databases

Why Properly Closing Database Connections Is Critical—and How to Do It

Closing database connections promptly is essential for performance and availability, and this guide explains practical rules, connection‑pool benefits, safe coding patterns, exception handling, and how to diagnose lingering connections using MySQL's SHOW PROCESSLIST command.

Connection PoolingMySQLbest practices
0 likes · 6 min read
Why Properly Closing Database Connections Is Critical—and How to Do It
21CTO
21CTO
Feb 20, 2016 · Mobile Development

How Ctrip Scaled Android with Plugin Architecture and Dynamic Loading

This article explains how Ctrip’s Android app adopted a plugin‑based, dynamic‑loading framework to overcome method‑limit, improve build speed, enable hot‑deployment, and support modular A/B testing, detailing the underlying principles, compilation changes, runtime resource and class loading, and the trade‑offs involved.

AndroidBuild OptimizationDynamic Loading
0 likes · 16 min read
How Ctrip Scaled Android with Plugin Architecture and Dynamic Loading
21CTO
21CTO
Dec 4, 2015 · Big Data

Building a Cost‑Effective Real‑Time Stream Processing Platform with Storm

This article details how the e‑commerce company 1号店 selected the Storm framework to create a low‑cost, highly available, and easily scalable distributed stream‑processing system, covering architecture design, resource isolation with CGroup, custom UI improvements, and operational lessons for handling massive traffic spikes.

Stormcgroupresource management
0 likes · 9 min read
Building a Cost‑Effective Real‑Time Stream Processing Platform with Storm
21CTO
21CTO
Nov 15, 2015 · Backend Development

Unveiling PHP’s Core: Architecture, Engine, and Memory Mechanics

This article demystifies PHP’s internal architecture, covering its design philosophy, four‑layer system, SAPI interfaces, execution flow with opcodes, the Zend hash table, variable handling via zval, reference counting, and resource management, providing a comprehensive guide for backend developers.

Hash Tablebackendopcode
0 likes · 16 min read
Unveiling PHP’s Core: Architecture, Engine, and Memory Mechanics
Architect
Architect
Oct 18, 2015 · Cloud Computing

Practices and Reflections on Enterprise Cloud Platforms

The article shares the author’s experience designing and operating enterprise‑grade cloud platforms, covering resource and application management, the Platform EGO architecture, comparisons with Mesos, Yarn and Kubernetes, and practical insights on scaling, scheduling, security, and architectural evolution.

Auto ScalingCloud Computingdistributed systems
0 likes · 18 min read
Practices and Reflections on Enterprise Cloud Platforms
21CTO
21CTO
Aug 29, 2015 · Backend Development

How to Prevent Service Failures: Trust Third‑Party, Guard Users, Master Your Own Code

An experienced backend engineer shares practical strategies to prevent service failures, covering third‑party distrust, user‑side safeguards, robust API design, traffic limiting, resource management, and architectural best practices such as single‑responsibility and avoiding single points of failure.

API designFault ToleranceSingle Responsibility
0 likes · 16 min read
How to Prevent Service Failures: Trust Third‑Party, Guard Users, Master Your Own Code
Hulu Beijing
Hulu Beijing
Aug 14, 2015 · Big Data

How Voidbox Bridges Docker and YARN for Scalable Big Data Workloads

Voidbox integrates Docker containers with YARN to simplify distributed application development, improve deployment, boost cluster efficiency, and provide fault‑tolerant, DAG‑based execution modes, enabling seamless resource management for Hadoop‑based big data jobs.

Big DataCluster ComputingDAG
0 likes · 17 min read
How Voidbox Bridges Docker and YARN for Scalable Big Data Workloads

Boost Application Performance: Algorithm & Resource Optimization Tactics

The article outlines a comprehensive approach to performance tuning by first optimizing algorithms, then enhancing hardware and software environments, and finally improving the interaction between code and resources through load balancing, caching, and I/O reduction, while acknowledging trade‑offs such as consistency and operational complexity.

Load Balancingalgorithm tuningcaching
0 likes · 8 min read
Boost Application Performance: Algorithm & Resource Optimization Tactics
Qunar Tech Salon
Qunar Tech Salon
May 14, 2015 · Operations

Key Takeaways from Google’s Borg Paper: Resource Management and Scheduling Insights

The article reviews Google’s Borg paper, highlighting how Borg distinguishes production and non‑production tasks, manages jobs and containers, improves utilization through mixed‑workload scheduling, enforces isolation via overload and over‑commitment controls, and compares Borg’s approach to other cluster managers.

BorgCluster Schedulingproduction vs non‑production
0 likes · 8 min read
Key Takeaways from Google’s Borg Paper: Resource Management and Scheduling Insights
MaGe Linux Operations
MaGe Linux Operations
Nov 14, 2014 · Operations

Master Linux CPU Scheduling: Using nice, cpulimit, and cgroups

This guide explains how Linux manages CPU scheduling fairness and demonstrates three practical methods—nice, cpulimit, and control groups—to prioritize, limit, or allocate CPU resources for processes, complete with compilation steps, command examples, and performance observations using top.

CPU schedulingLinuxcgroups
0 likes · 10 min read
Master Linux CPU Scheduling: Using nice, cpulimit, and cgroups
Baidu Tech Salon
Baidu Tech Salon
May 20, 2014 · Cloud Computing

How Baidu’s Private Cloud Tackles Resource Management, Tiered Release, and Elastic Services

In a Baidu technical salon, Xu Liqiang detailed the evolution of Baidu’s private‑cloud platform—covering unified resource pooling, performance‑cost balanced resource management, demand‑driven tiered release, and automated elastic services that together support rapid product‑line iteration across services like Tieba, Community, Search, and Mobile Cloud.

cloud architectureelastic servicesprivate cloud
0 likes · 7 min read
How Baidu’s Private Cloud Tackles Resource Management, Tiered Release, and Elastic Services