All Software Architecture, All the Time
June 10-13, 2019
San Jose, CA
Please log in

Using machine learning in a reactive microservice architecture style

Andrew Bonham (Capital One), Thiagarajan Subramanian (Capital One)
3:55pm–4:40pm Thursday, June 13, 2019
Application architecture
Location: 212
Secondary topics:  Overview
Average rating: ***..
(3.50, 2 ratings)

Who is this presentation for?

  • Software engineers and architects



Prerequisite knowledge

  • Familiarity with application architecture

What you'll learn

  • Understand how to use reactive architecture and microservices, machine learning, H20, Akka, and Kafka


Many companies are experimenting with machine learning to see how they can better predict the future. Supervised learning techniques leverage existing datasets with a target variable and apply algorithms against the features to determine how to predict the target. However, your model will only be as good as your data. Once the model is built, deploying it in a reactive microservice architecture can provide many benefits, including asynchronous processing along with distributed computing.

One way to build this is to leverage the Akka framework. Actors can intercommunicate with each other asynchronously while also publishing and subscribing to external actor systems via an event stream like Kafka. Kafka provides a resilient event stream that also enables back pressure with persistence. Leveraging all of these technologies together can provide a powerful solution that can handle concurrency and scale.

Andrew Bonham and Thiagarajan Subramanian show you the use cases where using this integration pattern makes sense and walk you through a live demo.

Photo of Andrew Bonham

Andrew Bonham

Capital One

Andy Bonham is a distinguished engineer at Capital One with over 18 years of experience building real-time high-transaction decisioning and workflow applications. His application architecture areas of expertise include microservices, reactive architecture, case management, BPMS products, rules engines, imaging solutions, and enterprise common capabilities. He holds both an undergraduate and a master’s degree in computer science with a concentration in information security as well as several industry certifications, including AWS Certified Solutions Architect – Associate, CISSP, and CSSLP. He recently spoke at the Red Hat and Reactive Summit conferences and has written a number of microservice articles for Capital One Tech, published on Medium.

Photo of Thiagarajan Subramanian

Thiagarajan Subramanian

Capital One

Thiagarajan Subramanian is an information technology professional with extensive experience designing and developing applications at Capital One, a Fortune 200 financial service company. A technical manager with a strong focus on results, he leads designers and developers on offshore and onshore projects through the whole software development lifecycle to achieve business goals and has diverse technical experience derived from rapid learning and effective application of technologies.