All Articles

140380 articles · Page 6985 of 7019
Qunar Tech Salon
Qunar Tech Salon
Mar 21, 2015 · Fundamentals

Understanding Null in Java: Causes, Behaviors, and Best Practices

This article explains the role of the null keyword in Java, its default value for reference types, common pitfalls such as NullPointerException caused by autoboxing, improper primitive assignments, instanceof checks, static method calls on null references, and safe handling techniques to write null‑safe code.

InstanceofJavaNULL
0 likes · 12 min read
Understanding Null in Java: Causes, Behaviors, and Best Practices
Art of Distributed System Architecture Design
Art of Distributed System Architecture Design
Mar 20, 2015 · Backend Development

Design and Architecture of Facebook Haystack Image Storage System

The article analyzes Facebook's massive image storage challenges and explains the Haystack architecture, detailing its components—Directory, Store, and Cache—how it reduces I/O, manages metadata, and handles read/write operations at billions‑scale while also addressing CDN dependency and fault tolerance.

BackendFacebookHaystack
0 likes · 10 min read
Design and Architecture of Facebook Haystack Image Storage System
MaGe Linux Operations
MaGe Linux Operations
Mar 20, 2015 · Operations

Why Skipping Load Balancing Cripples Web Services: Layer‑4 vs Layer‑7 Explained

The article explains how direct connections to a single web server create a single point of failure and limit scalability, then introduces layer‑4 (transport‑level) load balancing that distributes traffic among multiple backend servers, and finally describes layer‑7 (application‑level) load balancing that routes requests based on URL paths such as “/” and “/blog”, highlighting the added complexity and proxy‑like behavior required.

Layer 4Layer 7load balancing
0 likes · 4 min read
Why Skipping Load Balancing Cripples Web Services: Layer‑4 vs Layer‑7 Explained
Practical DevOps Architecture
Practical DevOps Architecture
Mar 20, 2015 · Operations

Common Load Balancing Algorithms and Their Characteristics

This article explains various load‑balancing scheduling algorithms—including Round Robin, Weighted Round Robin, Least Connection, Weighted Least Connection, Adaptive Agent‑Based balancing, Fixed Weighted, Weighted Response, and Source IP Hash—detailing how each distributes traffic and handles server capacity differences.

Round RobinScheduling Algorithmsleast connection
0 likes · 7 min read
Common Load Balancing Algorithms and Their Characteristics
Art of Distributed System Architecture Design
Art of Distributed System Architecture Design
Mar 20, 2015 · Backend Development

Renren’s Middle‑Layer Architecture: Design, Technologies, and Performance Optimizations

The article describes how Renren builds a high‑performance middle‑layer using open‑source components such as MySQL, Tokyo Cabinet/Tyrant, Nginx, Resin, Squid, LVS, Struts, Lucene, Netty, Ganglia, Memcached, and ICE to reduce database load, achieve sub‑20 ms response times, and support massive read/write traffic.

BackendCachingRenren
0 likes · 9 min read
Renren’s Middle‑Layer Architecture: Design, Technologies, and Performance Optimizations
ITPUB
ITPUB
Mar 19, 2015 · Databases

How 360 Secures Massive Data with Custom NoSQL and Open‑Source Backend

In an in‑depth interview, 360’s web platform architect Wang Chao explains the open‑source and proprietary database technologies, multi‑data‑center NoSQL system Bada, and layered security mechanisms that power 360’s search, cloud storage and other high‑traffic services.

DatabasesNoSQLopen-source
0 likes · 11 min read
How 360 Secures Massive Data with Custom NoSQL and Open‑Source Backend
MaGe Linux Operations
MaGe Linux Operations
Mar 19, 2015 · Backend Development

How to Disable Tomcat TLD Scanning for Faster Startup

This guide explains why and how to turn off Tomcat's TLD scanning during startup, shows the necessary context.xml changes, addresses a Tomcat 6 pitfall with a custom JarScanner workaround, and notes that Tomcat 7 handles the setting correctly.

JavaServletTLD
0 likes · 4 min read
How to Disable Tomcat TLD Scanning for Faster Startup
Qunar Tech Salon
Qunar Tech Salon
Mar 18, 2015 · Backend Development

Optimizing Web Server Performance for High Concurrency: Front‑end Techniques and Server‑side Strategies

The article examines the rise of high‑concurrency web connections, explains how richer front‑end interactions increase load, and presents a range of optimization techniques—from caching and request merging to server‑side memory and CPU reductions using Apache MPM modes, Nginx, and sendfile—to improve web service efficiency.

CPU optimizationFrontend OptimizationHigh concurrency
0 likes · 19 min read
Optimizing Web Server Performance for High Concurrency: Front‑end Techniques and Server‑side Strategies
MaGe Linux Operations
MaGe Linux Operations
Mar 18, 2015 · Fundamentals

Unlocking Java Memory: How Garbage Collection Works and Why It Matters

This article explores Java's garbage collection mechanisms, detailing why memory reclamation is essential, the design considerations, various algorithms such as mark‑sweep, copy, and compact, the roles of different collectors like Serial, Parallel, CMS, and G1, and how they impact performance.

GC AlgorithmsGarbage CollectionJVM
0 likes · 8 min read
Unlocking Java Memory: How Garbage Collection Works and Why It Matters
Art of Distributed System Architecture Design
Art of Distributed System Architecture Design
Mar 17, 2015 · Frontend Development

Boost Your Web Page Speed: 18 Proven Front‑End Optimization Techniques

This article compiles practical front‑end performance tips from Google and Yahoo, covering bad request elimination, CSS @import avoidance, script handling, resource merging, image sprites, DNS reduction, caching, compression, and a suite of analysis tools to help developers dramatically improve page load times and user experience.

CSS spritesFrontend OptimizationGoogle PageSpeed
0 likes · 18 min read
Boost Your Web Page Speed: 18 Proven Front‑End Optimization Techniques
Qunar Tech Salon
Qunar Tech Salon
Mar 17, 2015 · Mobile Development

iOS Design Guidelines: Content‑Centric, Clarity, Layout, and Interaction Best Practices

This article outlines comprehensive iOS design best practices, covering content‑centric development, enhancing functional experience, improving visual clarity, using layout to prioritize content, optimizing launch experience, crafting onboarding and modal scenarios, and refining interaction feedback, branding, icons, and standard UI element usage.

InteractionLayoutUI design
0 likes · 16 min read
iOS Design Guidelines: Content‑Centric, Clarity, Layout, and Interaction Best Practices
MaGe Linux Operations
MaGe Linux Operations
Mar 17, 2015 · Databases

Why MySQL Shows Garbled Text and How to Fix It

This article explains the root causes of MySQL character‑set garbling, illustrates the encoding/decoding steps during data insertion and retrieval, and provides practical methods—including dump‑reload and binary conversion—to prevent and repair corrupted text.

SQLcharacter encodinggarbled text
0 likes · 19 min read
Why MySQL Shows Garbled Text and How to Fix It
Art of Distributed System Architecture Design
Art of Distributed System Architecture Design
Mar 16, 2015 · Mobile Development

Why Mobile Platforms Diverge: Lessons from Renren’s Cross‑Platform Journey

The article examines the four stages of mobile terminal evolution, compares six major mobile operating systems, recounts Renren's early JavaME attempts, the development of a custom browser engine, and the eventual adoption of a tab‑plus‑view‑stack architecture backed by a scalable JavaEE server infrastructure.

Cross‑Platform ArchitectureMobile DevelopmentPlatform Evolution
0 likes · 21 min read
Why Mobile Platforms Diverge: Lessons from Renren’s Cross‑Platform Journey
Art of Distributed System Architecture Design
Art of Distributed System Architecture Design
Mar 16, 2015 · Industry Insights

Inside Facebook’s Massive Architecture: How the Social Giant Scales to Billions

The article details Facebook’s LAMP‑based architecture, describing how HipHop compiles PHP to C++, Thrift‑based services in PHP, C++, and Java run on custom servers, and how MySQL, Memcached, Cassandra, HBase, Hadoop, Hive, Scribe, BigPipe, Varnish, Haystack and other components together enable handling over 60,000 servers, 300 TB of cached data, 1 trillion daily clicks and petabytes of storage.

BackendBig DataFacebook
0 likes · 7 min read
Inside Facebook’s Massive Architecture: How the Social Giant Scales to Billions
Qunar Tech Salon
Qunar Tech Salon
Mar 15, 2015 · Artificial Intelligence

Overview of Common Classification Algorithms in Data Mining

This article introduces the concepts of classification and prediction in data mining, outlines their workflow, and provides concise explanations of six widely used classification techniques—decision trees, K‑Nearest Neighbour, Support Vector Machine, Vector Space Model, Bayesian methods, and neural networks—highlighting their principles, advantages, and limitations.

BayesianDecision TreeMachine Learning
0 likes · 9 min read
Overview of Common Classification Algorithms in Data Mining
Art of Distributed System Architecture Design
Art of Distributed System Architecture Design
Mar 14, 2015 · Frontend Development

Understanding Web Front‑End Optimization and Static Site Generation

The article explains how web front‑end optimization, including static site generation, relies on improving browser‑server performance by addressing CPU, storage, and especially network bottlenecks, and argues that front‑end engineers should view themselves as browser‑application experts rather than just HTML/CSS/JS coders.

CPUIONetwork
0 likes · 16 min read
Understanding Web Front‑End Optimization and Static Site Generation
Qunar Tech Salon
Qunar Tech Salon
Mar 14, 2015 · Artificial Intelligence

Common Distance and Similarity Measures in Machine Learning and Data Mining

This article reviews the most frequently used distance and similarity formulas in machine learning and data mining, explaining their definitions, mathematical properties, practical examples, and when each metric is appropriate for measuring differences between data points or probability distributions.

Cosine SimilarityKL divergenceMachine Learning
0 likes · 13 min read
Common Distance and Similarity Measures in Machine Learning and Data Mining