This document discusses techniques for improving global web performance and content delivery networks (CDNs). It begins by explaining how internet speeds vary globally and within Korea. It then discusses how CDNs work by caching content at the edge to reduce latency. Both national and global CDNs are described, with global CDNs having points of presence around the world. Metrics for measuring website performance like waterfall charts are also presented. Methods for optimizing websites through techniques like initializing TCP connections and front-end optimizations are then covered. The document concludes by discussing some advanced topics like mobile network latency.
MongoDB: Scaling write performance | Devon 2012Daum DNA
This document discusses strategies for scaling write performance in MongoDB. It begins by noting that while MongoDB is easy to install and use for simple data models, scaling write performance becomes challenging, especially with secondary indexes. Maintaining high insert throughput requires careful consideration of the shard key to ensure even data distribution and avoid overloading indexes. Techniques discussed include partitioning collections by time, upgrading hardware with more RAM and IOPS, and choosing a low-cardinality hash prefix plus sequential field as the shard key. The key lessons are to understand how indexes impact performance, test shard key choices thoroughly, and recognize that linear scalability requires significant hardware resources.
This document discusses techniques for improving global web performance and content delivery networks (CDNs). It begins by explaining how internet speeds vary globally and within Korea. It then discusses how CDNs work by caching content at the edge to reduce latency. Both national and global CDNs are described, with global CDNs having points of presence around the world. Metrics for measuring website performance like waterfall charts are also presented. Methods for optimizing websites through techniques like initializing TCP connections and front-end optimizations are then covered. The document concludes by discussing some advanced topics like mobile network latency.
MongoDB: Scaling write performance | Devon 2012Daum DNA
This document discusses strategies for scaling write performance in MongoDB. It begins by noting that while MongoDB is easy to install and use for simple data models, scaling write performance becomes challenging, especially with secondary indexes. Maintaining high insert throughput requires careful consideration of the shard key to ensure even data distribution and avoid overloading indexes. Techniques discussed include partitioning collections by time, upgrading hardware with more RAM and IOPS, and choosing a low-cardinality hash prefix plus sequential field as the shard key. The key lessons are to understand how indexes impact performance, test shard key choices thoroughly, and recognize that linear scalability requires significant hardware resources.