0%

Massive modern datasets make traditional data structures and algorithms grind to a halt. This fun and practical guide introduces cutting-edge techniques that can reliably handle even the largest distributed datasets.

In Algorithms and Data Structures for Massive Datasets you will learn:

  • Probabilistic sketching data structures for practical problems
  • Choosing the right database engine for your application
  • Evaluating and designing efficient on-disk data structures and algorithms
  • Understanding the algorithmic trade-offs involved in massive-scale systems
  • Deriving basic statistics from streaming data
  • Correctly sampling streaming data
  • Computing percentiles with limited space resources

Algorithms and Data Structures for Massive Datasets reveals a toolbox of new methods that are perfect for handling modern big data applications. You’ll explore the novel data structures and algorithms that underpin Google, Facebook, and other enterprise applications that work with truly massive amounts of data. These effective techniques can be applied to any discipline, from finance to text analysis. Graphics, illustrations, and hands-on industry examples make complex ideas practical to implement in your projects—and there’s no mathematical proofs to puzzle over. Work through this one-of-a-kind guide, and you’ll find the sweet spot of saving space without sacrificing your data’s accuracy.

About the Technology
Standard algorithms and data structures may become slow—or fail altogether—when applied to large distributed datasets. Choosing algorithms designed for big data saves time, increases accuracy, and reduces processing cost. This unique book distills cutting-edge research papers into practical techniques for sketching, streaming, and organizing massive datasets on-disk and in the cloud.

About the Book
Algorithms and Data Structures for Massive Datasets introduces processing and analytics techniques for large distributed data. Packed with industry stories and entertaining illustrations, this friendly guide makes even complex concepts easy to understand. You’ll explore real-world examples as you learn to map powerful algorithms like Bloom filters, Count-min sketch, HyperLogLog, and LSM-trees to your own use cases.

What's Inside
  • Probabilistic sketching data structures
  • Choosing the right database engine
  • Designing efficient on-disk data structures and algorithms
  • Algorithmic tradeoffs in massive-scale systems
  • Computing percentiles with limited space resources


About the Reader
Examples in Python, R, and pseudocode.

About the Authors
Dzejla Medjedovic earned her PhD in the Applied Algorithms Lab at Stony Brook University, New York. Emin Tahirovic earned his PhD in biostatistics from University of Pennsylvania. Illustrator Ines Dedovic earned her PhD at the Institute for Imaging and Computer Vision at RWTH Aachen University, Germany.

Quotes
An accessible and beautifully illustrated introduction to probabilistic and disk-based data structures and algorithms.
- Marcus Young, Prosper Marketplace

Upgrade your knowledge of algorithms and data structures from textbook level to real-world level.
- Rui Liu, Oracle

Excellently explains scalable data structures and algorithms. A must-read for any data engineer.
- Alex Gout, Shopify

A detailed, practical approach to dealing with distributed system and data architectures.
- Satej Kumar Sahu, Honeywell

Table of Contents

  1. title
  2. Copyright
  3. contents
  4. front matter
  5. 1 Introduction
  6. Part 1 Hash-based sketches
  7. 2 Review of hash tables and modern hashing
  8. 3 Approximate membership: Bloom and quotient filters
  9. 4 Frequency estimation and count-min sketch
  10. 5 Cardinality estimation and HyperLogLog
  11. Part 2 Real-time analytics
  12. 6 Streaming data: Bringing everything together
  13. 7 Sampling from data streams
  14. 8 Approximate quantiles on data streams
  15. Part 3 Data structures for databases and external memory algorithms
  16. 9 Introducing the external memory model
  17. 10 Data structures for databases: B-trees, Bε-trees, and LSM-trees
  18. 11 External memory sorting
  19. references
  20. index
  21. inside back cover
3.134.118.95