Big data started with an emphasis on batch-oriented architectures, where data is captured in large, scalable stores then processed using batch jobs. To reduce the gap between data arrival and information extraction, these architectures are now evolving to be stream oriented, where data is processed as it arrives. (Fast data is the new buzzword for this process.)
Microservices are inherently message driven, a core tenet of reactive systems, responding to requests for service and sending messages to other microservices in turn. Hence, they are also stream oriented in a sense.
Because it’s trendy, the word “stream” is used in both spheres, because both are concerned with a never-ending sequence of data, but the resemblance is not superficial. Many of the same challenges and design patterns are shared. Hence, the movement to stream-oriented architectures is driving a convergence of data-centric and microservice architectures.
Dean Wampler defines “stream” based on characteristics for such systems, using specific tools as examples, and argues that big data and microservices architectures are converging. Dean begins by quantifying what streaming means in the context of four axes of concern that cross the fast data and microservice divide:
Dean then considers specific examples of streaming tools and explains how they fit on these axes, including heavy hitters in the data world, such as Spark and Kafka, and microservice toolkits, such as Akka and Rx. Dean concludes by speculating on the future of these trends—his belief that fast data and microservice architectures will converge, driven by the ever-growing importance of data and the scalability of fast data streaming.
Dean Wampler is an expert in streaming data systems, focusing on applications of ML/AI. Formerly, he was the vice president of fast data engineering at Lightbend, where he led the development Lightbend CloudFlow, an integrated system for building and running streaming data applications with Akka Streams, Apache Spark, Apache Flink, and Apache Kafka. Dean is the author of Fast Data Architectures for Streaming Applications, Programming Scala and Functional Programming for Java Developers and the coauthor of Programming Hive, all from O’Reilly. He’s a contributor to several open source projects. A frequent Strata speaker, he’s also the co-organizer of several conferences around the world and several user groups in Chicago. He has a Ph.D. in Physics from the University of Washington.
©2017, O'Reilly Media, Inc. • (800) 889-8969 or (707) 827-7019 • Monday-Friday 7:30am-5pm PT • All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. • email@example.com