Book Image

Building Applications with Scala

By : Diego Pacheco
Book Image

Building Applications with Scala

By: Diego Pacheco

Overview of this book

<p>Scala is known for incorporating both object-oriented and functional programming into a concise and extremely powerful package. However, creating an app in Scala can get a little tricky because of the complexity the language has. This book will help you dive straight into app development by creating a real, reactive, and functional application. We will provide you with practical examples and instructions using a hands-on approach that will give you a firm grounding in reactive functional principles.</p> <p>The book will take you through all the fundamentals of app development within Scala as you build an application piece by piece. We’ve made sure to incorporate everything you need from setting up to building reports and scaling architecture. This book also covers the most useful tools available in the Scala ecosystem, such as Slick, Play, and Akka, and a whole lot more. It will help you unlock the secrets of building your own up-to-date Scala application while maximizing performance and scalability.</p>
Table of Contents (17 chapters)
Building Applications with Scala
Credits
About the Author
Acknowledgments
About the Reviewer
www.PacktPub.com
Preface

Scaling up the infrastructure with Docker and AWS cloud


Scaling up with the AWS cloud is easy, as at any moment, with a simple click on the AWS console, you can change the hardware and use more memory, CPU, or better network. Scale-out is not hard; however, we need to have good automation in place. The key principle to scale is to have the Auto Scaling groups in place with good policies. You can learn more about it at http://docs.aws.amazon.com/autoscaling/latest/userguide/policy_creating.html.

There are other interesting services and components that can help you scale your application. However, you will need to keep in mind that this can lead to coupling. The IT industry is moving toward the container direction because it is faster, and it's easy to deploy in other public clouds.

We can scale out with Docker as well, because there are cluster managers that can help us scale our containers. Currently, there are several solutions. In the sense of capabilities and maturity, the following are...