In this video:
- Jonas Bonér, Founder and CTO, Lightbend
Distributed systems are inherently complex: Slicing an existing system into various REST services and wiring them back together again with synchronous protocols and traditional enterprise tools is a recipe for failure. Jonas Bonér, Founder and CTO of Lightbend, inventor of the Akka project, co-author of the Reactive Manifesto, and Java™ Champion, says
“it’s time to wake up. It’s time to decompose the monolith into discrete services that can fail in isolation, be upgraded in isolation, etcetera, etc.”
“These services,” he continues, “this time we’re calling them ‘microservices’ and each time we create them – for example, DCOM, then SOA, now microservices – we’re getting better at them.”
Jonas thinks that what we need in order to build resilient, elastic, and responsive microservices-based systems is to actually embrace them as systems and re-architect them from the ground up using Reactive principles.
Reactive programming is an asynchronous (signal-based) programming paradigm concerned with data streams and the propagation of change. Using it, you can express static or dynamic data streams (arrays or event emitters, respectively) easily through the programming languages you use. Reactive infers dependency within the associate execution model which makes it easier to achieve the automatic propagation of change you associate with a data flow situation.
In this session, Jonas helps to clear the confusion about the promise of microservices by exploring the first principles and putting them into their true context of distributed systems. Watch as he examines individual microservices and explains why it is important to stay true to the core traits of isolation, single responsibility, autonomy, exclusive state, asynchronous message passing, and mobility. (Single responsibility means every module or class should have responsibility over a single part of the functionality provided by the software and that responsibility should be entirely encapsulated by the class.)
Making Java and Scala the language of cognitive
Developers like Scala because it’s optimized for streaming data and massive scaling; the coolest modern frameworks like Spark, Kafka, and Akka are written in Scala. It’s sort of the language of cognitive development. With that in mind, IBM launched a collaborative development initiative with Lightbend employing the Lightbend Reactive Platform – an appdev solution powered by an open source core and commercial Enterprise Suite for building scalable Reactive systems on the JVM – in order to advance the development of enterprise-level artificial intelligence and cognitive solutions. The results of this venture will provide a complete toolchain for Java and Scala developers so they can easily build and deploy AI and cognitive apps in both on-premise and cloud environments.
developerWorks TV’s Scott Laningham quickly explains the developer benefits of Lightbend and IBM working together – that the platform enables Java and Scala developers to easily build and deploy cognitive applications:
Lightbend is a company founded by Martin Odersky, the creator of the Scala programming language, Jonas Bonér, the creator of the Akka middleware, and Paul Phillips. The Lightbend Reactive Platform consists of the Play Framework, Akka middleware, and Scala programming language, with additional supporting products and development tools such as the Scala IDE for Eclipse, the Slick database query, and access library for Scala, and the sbt build tool.
Resources for you
- Explore The Lightbend Reactive Platform and see how it helps you develop resilient distributed systems
- Introducing Reactive programming at GitHub
- Attend a webcast on Scala and cognitive
- Explore the busy Java developer’s guide to Scala
- Introducing Scala free course
- Data Science with Scala free course
- Explore cognitive computing at developerWorks | on dWTV
- Explore Java development on developerWorks | on dWTV
- See how to run a Scala web app on Bluemix
- See how to publish a sample message in Scala to a sample Watson IoT Platform Service
- See how to create a simple Play application written in Scala and deploy it on Bluemix
- Try Bluemix for free
Boost your Java™ IQ to meet the demands of today’s enterprise.
Get the latest news, trends and tutorials on all things microservices.