All Articles

140647 articles · Page 6907 of 7033
21CTO
21CTO
Dec 14, 2015 · Fundamentals

How to Write Bulletproof Code: Mastering If Statements, Error Handling, and Null Safety

This article explores practical programming philosophies for writing robust, maintainable code by using exhaustive two‑branch if statements, proper error handling, disciplined null‑pointer management, and avoiding over‑engineering, offering concrete examples and guidelines for Java and other languages.

Best PracticesError handlingNull Safety
0 likes · 21 min read
How to Write Bulletproof Code: Mastering If Statements, Error Handling, and Null Safety
Efficient Ops
Efficient Ops
Dec 13, 2015 · Databases

Strategic DBA Insights: Managing MySQL Upgrades, Multi‑DB Skills, and Automation

This article explores practical DBA strategies for painless MySQL version upgrades, balancing specialization versus breadth across multiple databases, effective participation in automation platforms, choosing horizontal or vertical management models for multi‑DB environments, and fostering collaborative learning practices within DBA teams.

DBA SkillsDatabase AdministrationMySQL
0 likes · 12 min read
Strategic DBA Insights: Managing MySQL Upgrades, Multi‑DB Skills, and Automation
21CTO
21CTO
Dec 13, 2015 · Backend Development

Why PHP7+Swoole Beats Nginx and Go in High‑Concurrency Benchmarks

A benchmark using ApacheBench compares Nginx static serving, a Golang HTTP server, and a PHP7+Swoole server under 100‑concurrent connections for one million requests, showing PHP7+Swoole achieving roughly 75 % higher QPS than both Nginx and Golang, along with detailed environment, code, and resource usage data.

BenchmarkGolangPerformance
0 likes · 16 min read
Why PHP7+Swoole Beats Nginx and Go in High‑Concurrency Benchmarks
21CTO
21CTO
Dec 13, 2015 · Fundamentals

Master Essential Git Commands: A Complete Cheat‑Sheet for Daily Use

This article provides a comprehensive list of the most commonly used Git commands, organized by tasks such as repository creation, configuration, file handling, committing, branching, tagging, inspection, remote synchronization, and undoing changes, helping developers work efficiently with version control.

software developmenttutorial
0 likes · 12 min read
Master Essential Git Commands: A Complete Cheat‑Sheet for Daily Use
Architect
Architect
Dec 13, 2015 · Databases

Redis Partitioning: How to Store Data Across Multiple Redis Instances

This article explains the concept, benefits, methods, and practical considerations of partitioning data across multiple Redis instances, covering range and hash partitioning, consistent hashing, implementation options, drawbacks, and recommended tools such as Redis Cluster and Twemproxy.

Consistent HashingPartitioningRedis
0 likes · 11 min read
Redis Partitioning: How to Store Data Across Multiple Redis Instances
dbaplus Community
dbaplus Community
Dec 12, 2015 · Backend Development

How Memcached and Redis Work: Architecture, Protocols, and Memory Management

This article breaks down the core architecture, request protocols, and memory management mechanisms of Memcached and Redis, comparing their server models, highlighting their strengths and trade‑offs, and offering practical guidance for selecting and tuning these distributed caching solutions.

MemcachedRedisbackend
0 likes · 8 min read
How Memcached and Redis Work: Architecture, Protocols, and Memory Management
Architects Research Society
Architects Research Society
Dec 12, 2015 · Artificial Intelligence

Personalized Recommendation Best Practices

This article explains the fundamentals and business value of personalized recommendation systems for e‑commerce, outlines practical implementations on homepages, list pages, and search result pages, and provides case studies showing how tailored product suggestions improve conversion rates, user experience, and sales performance.

AIRecommendation Systemse-commerce
0 likes · 11 min read
Personalized Recommendation Best Practices
Qunar Tech Salon
Qunar Tech Salon
Dec 12, 2015 · Fundamentals

Linux Kernel Architecture Overview and Design Principles

This article explains why the Linux kernel has succeeded, describing its layered position in a computer system, the roles of virtualization and multitasking, the overall modular architecture, key data structures, and the design of core subsystems such as the process scheduler, memory manager, virtual file system, and network interface.

LinuxProcess schedulerkernel
0 likes · 19 min read
Linux Kernel Architecture Overview and Design Principles
Architect
Architect
Dec 12, 2015 · Databases

Understanding Redis Master‑Slave Replication and Its Configuration

This article explains how Redis master‑slave replication works, covering asynchronous copying, partial resynchronization, disk‑less replication, safety considerations when persistence is disabled, read‑only slaves, authentication, and configuration options such as slaveof and write‑restriction based on slave count.

DatabaseMaster‑SlaveRedis
0 likes · 10 min read
Understanding Redis Master‑Slave Replication and Its Configuration
dbaplus Community
dbaplus Community
Dec 11, 2015 · Databases

Master MySQL Performance Testing: Methodology, Metrics, and Tool Guide

This article presents a comprehensive overview of MySQL performance testing, covering testing methodology, reasons for testing, influencing factors across DB, OS, and storage layers, key metrics, popular open‑source tools, practical considerations, and suggestions for more automated testing solutions.

MySQLToolsbenchmarking
0 likes · 14 min read
Master MySQL Performance Testing: Methodology, Metrics, and Tool Guide
Architect
Architect
Dec 11, 2015 · Backend Development

Implementing Distributed Locks with Redis: The RedLock Algorithm

This article explains how to build reliable distributed locks using Redis, introduces the official RedLock algorithm, discusses safety properties, compares it with simple failover approaches, and provides implementation details, performance considerations, and lock‑extension techniques.

ConcurrencyDistributed LockRedis
0 likes · 16 min read
Implementing Distributed Locks with Redis: The RedLock Algorithm
Architect
Architect
Dec 11, 2015 · Information Security

Detailed Analysis of a Targeted Trojan Distributed via a Fake Interview Outline

The article presents a comprehensive technical analysis of a sophisticated Windows trojan that masquerades as a Word document, detailing its delivery method, file extraction process, registry modifications, remote‑control capabilities, and the organized, targeted attack infrastructure behind it.

C2 infrastructureMalware AnalysisRemote access
0 likes · 10 min read
Detailed Analysis of a Targeted Trojan Distributed via a Fake Interview Outline
Qunar Tech Salon
Qunar Tech Salon
Dec 11, 2015 · Backend Development

Performance Optimization Patterns for High‑Scale Backend Systems

This article presents a pattern‑based approach to performance optimization, describing common degradation anti‑patterns and corresponding optimization patterns—such as horizontal and vertical partitioning, runtime 3NF, data locality, and degradation—to help engineers improve response time, throughput, and availability in large‑scale backend services.

ConcurrencyOptimizationPerformance
0 likes · 43 min read
Performance Optimization Patterns for High‑Scale Backend Systems
Baidu Intelligent Testing
Baidu Intelligent Testing
Dec 11, 2015 · Operations

Quality Assurance and Testing Practices in Baidu Cloud Storage

The article outlines Baidu Cloud's comprehensive quality assurance framework—including testing technologies, specialized safeguards, and a multi‑stage QA evolution—demonstrating how data integrity, performance, and user experience are continuously measured, monitored, and improved for a cloud storage service serving hundreds of millions of users.

Baidu CloudTestingcloud storage
0 likes · 11 min read
Quality Assurance and Testing Practices in Baidu Cloud Storage