Practical TLA+
Planning Driven Development
Seiten
2018
|
1st ed.
Apress (Verlag)
978-1-4842-3828-8 (ISBN)
Apress (Verlag)
978-1-4842-3828-8 (ISBN)
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+.
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+.
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.
Part I: The Semantics of TLA+ and PlusCal.- 1. An Example.- 2. PlusCal.- 3. Operators and Functions.- 4. Constants, Models, and Imports.- 5. Concurrency.- 6. Temporal Logic.- Part II: Applying TLA+.- 7. Algorithms.- 8. Data Structures.- 9. State Machines.- 10. Ambiguity and Feature Interation.- 11. Case Study: MapReduce.- Appendix A: Mathematics.- Appendix B: PT library.- Appendix C: PlusCal to TLA+.
Erscheinungsdatum | 24.10.2018 |
---|---|
Zusatzinfo | 22 Illustrations, black and white; XXIII, 221 p. 22 illus. |
Verlagsort | Berkley |
Sprache | englisch |
Maße | 178 x 254 mm |
Themenwelt | Mathematik / Informatik ► Informatik ► Programmiersprachen / -werkzeuge |
Mathematik / Informatik ► Informatik ► Software Entwicklung | |
Informatik ► Theorie / Studium ► Compilerbau | |
Schlagworte | Architecture • Concurrency • Design • Engineering • formal methods • Model Checking • PlusCal • programming • Software • source code • Specification • temporal logic • Testing • TLA+ |
ISBN-10 | 1-4842-3828-1 / 1484238281 |
ISBN-13 | 978-1-4842-3828-8 / 9781484238288 |
Zustand | Neuware |
Haben Sie eine Frage zum Produkt? |
Mehr entdecken
aus dem Bereich
aus dem Bereich
Buch | Hardcover (2012)
Westermann Schulbuchverlag
34,95 €
Schulbuch Klassen 7/8 (G9)
Buch | Hardcover (2015)
Klett (Verlag)
30,50 €
Buch | Softcover (2004)
Cornelsen Verlag
25,25 €