Book Image

Clojure Data Analysis Cookbook - Second Edition

By : Eric Richard Rochester
Book Image

Clojure Data Analysis Cookbook - Second Edition

By: Eric Richard Rochester

Overview of this book

Table of Contents (19 chapters)
Clojure Data Analysis Cookbook Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 4. Improving Performance with Parallel Programming

In this chapter, we will cover the following topics:

  • Parallelizing processing with pmap

  • Parallelizing processing with Incanter

  • Partitioning Monte Carlo simulations for better pmap performance

  • Finding the optimal partition size with simulated annealing

  • Combining function calls with reducers

  • Parallelizing with reducers

  • Generating online summary statistics for data streams with reducers

  • Using type hints

  • Benchmarking with Criterium