Deploying with JRuby 9k
Deliver Scalable Web Apps Using the JVM
Seiten
2016
Pragmatic Bookshelf (Verlag)
978-1-68050-169-8 (ISBN)
Pragmatic Bookshelf (Verlag)
978-1-68050-169-8 (ISBN)
- Titel ist leider vergriffen;
keine Neuauflage - Artikel merken
Deploy using the JVM's high performance while building your apps in the language you love. This book introduces you to three JRuby deployment strategies that give you the performance and scalability you need, while you use a language designed for rapid development. Explore common deployment scenarios, including consolidating an MRI-based Ruby deployment onto a single JVM process and porting a Rails application to JRuby, getting it into production, and keeping it running. This new edition has new chapters on Puma, performance tuning, and Java integration, and is updated to the latest versions of JRuby 9k, Rails 4, and JDK 8.
JRuby is a fast, scalable, and powerful JVM language with all the benefits of a traditional Ruby environment. JRuby deployments have fewer moving parts and consume less memory than traditional Ruby. With this book, you can now use JRuby in the real world to build high-performance, scalable applications.
Deploying your apps on the JVM requires some new approaches. Start by creating a JRuby microservice that takes advantage of the JVM's native concurrency. Then use Docker to build a virtual production environment that's a stable, reproducible place to explore JRuby deployment. Next, port an existing Rails application to JRuby, preparing the app to take advantage of the JVM platform--all while keeping everything that's friendly and familiar to Ruby developers. Deploy the Rails app to Docker with a multi-threaded Puma server to Heroku or your own private cloud.
Take advantage of powerful Java libraries. See how JRuby fits into the enterprise by switching your app to use TorqueBox, an all-in-one JRuby environment that includes built-in support for messaging, scheduling, and daemons--perfect for handling the big jobs. Finally, take a deep dive into JVM performance tuning and set up a continuous deployment environment with Travis CI.
What You Need:
To run the examples in this book, you'll need a computer that can run the Java Virtual Machine and a connection to the Internet.
JRuby is a fast, scalable, and powerful JVM language with all the benefits of a traditional Ruby environment. JRuby deployments have fewer moving parts and consume less memory than traditional Ruby. With this book, you can now use JRuby in the real world to build high-performance, scalable applications.
Deploying your apps on the JVM requires some new approaches. Start by creating a JRuby microservice that takes advantage of the JVM's native concurrency. Then use Docker to build a virtual production environment that's a stable, reproducible place to explore JRuby deployment. Next, port an existing Rails application to JRuby, preparing the app to take advantage of the JVM platform--all while keeping everything that's friendly and familiar to Ruby developers. Deploy the Rails app to Docker with a multi-threaded Puma server to Heroku or your own private cloud.
Take advantage of powerful Java libraries. See how JRuby fits into the enterprise by switching your app to use TorqueBox, an all-in-one JRuby environment that includes built-in support for messaging, scheduling, and daemons--perfect for handling the big jobs. Finally, take a deep dive into JVM performance tuning and set up a continuous deployment environment with Travis CI.
What You Need:
To run the examples in this book, you'll need a computer that can run the Java Virtual Machine and a connection to the Internet.
Joe Kutner has been building JRuby applications since 2007 for clients including IBM and NASA. Today, he is the JVM Platform Owner at Heroku, a Platform as a Service support for JRuby and Rails. Joe also contributes to several JRuby projects, including Warbler and Torquebox.
Erscheinungsdatum | 31.08.2016 |
---|---|
Zusatzinfo | black & white illustrations |
Verlagsort | Raleigh |
Sprache | englisch |
Maße | 192 x 235 mm |
Gewicht | 342 g |
Einbandart | kartoniert |
Themenwelt | Informatik ► Programmiersprachen / -werkzeuge ► Java |
Informatik ► Programmiersprachen / -werkzeuge ► Ruby | |
Mathematik / Informatik ► Informatik ► Web / Internet | |
Schlagworte | Cloud • Docker • Heroku • Java • Java Virtual Machine (JVM) • Ruby • Skalierbarkeit • Web Apps • Web Development • Webentwicklung |
ISBN-10 | 1-68050-169-0 / 1680501690 |
ISBN-13 | 978-1-68050-169-8 / 9781680501698 |
Zustand | Neuware |
Haben Sie eine Frage zum Produkt? |
Mehr entdecken
aus dem Bereich
aus dem Bereich
mit über 150 Workouts in Java und Python
Buch (2023)
Carl Hanser (Verlag)
CHF 41,95
Einführung, Ausbildung, Praxis
Buch | Hardcover (2023)
Rheinwerk (Verlag)
CHF 69,85