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 3. Managing Complexity with Concurrent Programming

In this chapter, we will cover:

  • Managing program complexity with STM

  • Managing program complexity with agents

  • Getting better performance with commute

  • Combining agents and STM

  • Maintaining consistency with ensure

  • Introducing safe side effects into the STM

  • Maintaining data consistency with validators

  • Monitoring processing with watchers

  • Debugging concurrent programs with watchers

  • Recovering from errors in agents

  • Managing large inputs with sized queues