Don’t miss it—Apress Access is only $99 for the holiday season! Subscribe now >>

Practical TLA+

Planning Driven Development

Authors: Wayne, Hillel

Download source code
  • Use TLA+ to uncover complex bugs before you code
  • Practical, useful examples in distributed systems, threading, business logic, and more
  • Three case studies that teach the real-world experience
see more benefits

Buy this book

eBook $24.99
price for USA (gross)
  • ISBN 978-1-4842-3829-5
  • Digitally watermarked, DRM-free
  • Included format: EPUB, PDF
  • ebooks can be used on all reading devices
  • Immediate eBook download after purchase
Softcover $32.99
price for USA
  • ISBN 978-1-4842-3828-8
  • Free shipping for individuals worldwide
  • Usually dispatched within 3 to 5 business days.
About this book

Learn how to design complex, correct programs and fix problems before writing a single line of code. This book is a practical, comprehensive resource on TLA+ programming with rich, complex examples. Practical TLA+ shows you how to use TLA+ to specify a complex system and test the design itself for bugs. 
You’ll learn how even a short TLA+ spec can find critical bugs. Start by getting your feet wet with an example of TLA+ used in a bank transfer system, to see how it helps you design, test, and build a better application. Then, get some fundamentals of TLA+ operators, logic, functions, PlusCal, models, and concurrency. Along the way you will discover how to organize your blueprints and how to specify distributed systems and eventual consistency. 

Finally, you’ll put what you learn into practice with some working case study applications, applying TLA+ to a wide variety of practical problems: from algorithm performance and data structures to business code and MapReduce. After reading and using this book, you'll have what you need to get started with TLA+ and how to use it in your mission-critical applications.  
What You'll Learn

  • Read and write TLA+ specs
  • Check specs for broken invariants, race conditions, and liveness bugs
  • Design concurrency and distributed systems
  • Learn how TLA+ can help you with your day-to-day production work

Who This Book Is For
Those with programming experience who are new to design and to TLA+.  

About the authors

Hillel Wayne is a software consultant who specializes in formal methods and specification. He also writes on empirical engineering, software history, and education. In his free time, he juggles and makes chocolate. He lives in Chicago. You can find his other work at hillelwayne.com or on Twitter at @hillelogram.

Table of contents (11 chapters)

Buy this book

eBook $24.99
price for USA (gross)
  • ISBN 978-1-4842-3829-5
  • Digitally watermarked, DRM-free
  • Included format: EPUB, PDF
  • ebooks can be used on all reading devices
  • Immediate eBook download after purchase
Softcover $32.99
price for USA
  • ISBN 978-1-4842-3828-8
  • Free shipping for individuals worldwide
  • Usually dispatched within 3 to 5 business days.

Services for this book

Loading...

Bibliographic Information

Bibliographic Information
Book Title
Practical TLA+
Book Subtitle
Planning Driven Development
Authors
Copyright
2018
Publisher
Apress
Copyright Holder
Hillel Wayne
Distribution Rights
Standard Apress distribution
eBook ISBN
978-1-4842-3829-5
DOI
10.1007/978-1-4842-3829-5
Softcover ISBN
978-1-4842-3828-8
Edition Number
1
Number of Pages
XXIII, 221
Number of Illustrations
22 b/w illustrations
Topics