Scala High Performance Programming (eBook)

eBook Download: EPUB
2016
274 Seiten
Packt Publishing (Verlag)
978-1-78646-708-9 (ISBN)

Lese- und Medienproben

Scala High Performance Programming -  Michael Diamant,  Vincent Theron
Systemvoraussetzungen
39,59 inkl. MwSt
  • Download sofort lieferbar
  • Zahlungsarten anzeigen

Leverage Scala and the functional paradigm to build performant software

About This Book

  • Get the first book to explore Scala performance techniques in depth!
  • Real-world inspired use cases illustrate and support the techniques studied and the language features
  • This book is written by Vincent Theron and Michael Diamant, software engineers with several years of experience in the high-frequency trading and programmatic advertising industries

Who This Book Is For

This book assumes a basic exposure to the Scala programming language and the Java Virtual Machine. You should be able to read and understand moderately advanced Scala code. No other knowledge is required.

What You Will Learn

  • Analyze the performance of JVM applications by developing JMH benchmarks and profiling with Flight Recorder
  • Discover use cases and performance tradeoffs of Scala language features, and eager and lazy collections
  • Explore event sourcing to improve performance while working with stream processing pipelines
  • Dive into asynchronous programming to extract performance on multicore systems using Scala Future and Scalaz Task
  • Design distributed systems with conflict-free replicated data types (CRDTs) to take advantage of eventual consistency without synchronization
  • Understand the impact of queues on system performance and apply the Free monad to build systems robust to high levels of throughput

In Detail

Scala is a statically and strongly typed language that blends functional and object-oriented paradigms. It has experienced growing popularity as an appealing and pragmatic choice to write production-ready software in the functional paradigm. Scala and the functional programming paradigm enable you to solve problems with less code and lower maintenance costs than the alternatives. However, these gains can come at the cost of performance if you are not careful.

Scala High Performance Programming arms you with the knowledge you need to create performant Scala applications. Starting with the basics of understanding how to define performance, we explore Scala's language features and functional programming techniques while keeping a close eye on performance throughout all the topics.

We introduce you as the newest software engineer at a fictitious financial trading company, named MV Trading. As you learn new techniques and approaches to reduce latency and improve throughput, you'll apply them to MV Trading's business problems. By the end of the book, you will be well prepared to write production-ready, performant Scala software using the functional paradigm to solve real-world problems.

Style and approach

This step-by-step guide will help you create high performance applications using Scala. Packed with lots of code samples, tips and tricks, every topic is explained in a detailed, easy-to-understand manner.


Leverage Scala and the functional paradigm to build performant softwareAbout This BookGet the first book to explore Scala performance techniques in depth!Real-world inspired use cases illustrate and support the techniques studied and the language featuresThis book is written by Vincent Theron and Michael Diamant, software engineers with several years of experience in the high-frequency trading and programmatic advertising industriesWho This Book Is ForThis book assumes a basic exposure to the Scala programming language and the Java Virtual Machine. You should be able to read and understand moderately advanced Scala code. No other knowledge is required.What You Will LearnAnalyze the performance of JVM applications by developing JMH benchmarks and profiling with Flight RecorderDiscover use cases and performance tradeoffs of Scala language features, and eager and lazy collectionsExplore event sourcing to improve performance while working with stream processing pipelinesDive into asynchronous programming to extract performance on multicore systems using Scala Future and Scalaz TaskDesign distributed systems with conflict-free replicated data types (CRDTs) to take advantage of eventual consistency without synchronizationUnderstand the impact of queues on system performance and apply the Free monad to build systems robust to high levels of throughputIn DetailScala is a statically and strongly typed language that blends functional and object-oriented paradigms. It has experienced growing popularity as an appealing and pragmatic choice to write production-ready software in the functional paradigm. Scala and the functional programming paradigm enable you to solve problems with less code and lower maintenance costs than the alternatives. However, these gains can come at the cost of performance if you are not careful.Scala High Performance Programming arms you with the knowledge you need to create performant Scala applications. Starting with the basics of understanding how to define performance, we explore Scala's language features and functional programming techniques while keeping a close eye on performance throughout all the topics.We introduce you as the newest software engineer at a fictitious financial trading company, named MV Trading. As you learn new techniques and approaches to reduce latency and improve throughput, you'll apply them to MV Trading's business problems. By the end of the book, you will be well prepared to write production-ready, performant Scala software using the functional paradigm to solve real-world problems.Style and approachThis step-by-step guide will help you create high performance applications using Scala. Packed with lots of code samples, tips and tricks, every topic is explained in a detailed, easy-to-understand manner.
Erscheint lt. Verlag 31.5.2016
Sprache englisch
Themenwelt Informatik Programmiersprachen / -werkzeuge Java
ISBN-10 1-78646-708-9 / 1786467089
ISBN-13 978-1-78646-708-9 / 9781786467089
Haben Sie eine Frage zum Produkt?
EPUBEPUB (Adobe DRM)
Größe: 4 MB

Kopierschutz: Adobe-DRM
Adobe-DRM ist ein Kopierschutz, der das eBook vor Mißbrauch schützen soll. Dabei wird das eBook bereits beim Download auf Ihre persönliche Adobe-ID autorisiert. Lesen können Sie das eBook dann nur auf den Geräten, welche ebenfalls auf Ihre Adobe-ID registriert sind.
Details zum Adobe-DRM

Dateiformat: EPUB (Electronic Publication)
EPUB ist ein offener Standard für eBooks und eignet sich besonders zur Darstellung von Belle­tristik und Sach­büchern. Der Fließ­text wird dynamisch an die Display- und Schrift­größe ange­passt. Auch für mobile Lese­geräte ist EPUB daher gut geeignet.

Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen eine Adobe-ID und die Software Adobe Digital Editions (kostenlos). Von der Benutzung der OverDrive Media Console raten wir Ihnen ab. Erfahrungsgemäß treten hier gehäuft Probleme mit dem Adobe DRM auf.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen eine Adobe-ID sowie eine kostenlose App.
Geräteliste und zusätzliche Hinweise

Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.

Mehr entdecken
aus dem Bereich
Einführung, Ausbildung, Praxis

von Christian Ullenboom

eBook Download (2023)
Rheinwerk Computing (Verlag)
49,90