Image for post
Image for post

Introduction

As Web frameworks evolve, more layers of complexity are starting to develop — especially when it comes to managing state. As the creators of Redux put it:

“If a model can update another model, then a view can update a model, which updates another model, and this, in turn, might cause another view to update. At some point, you no longer understand what happens in your app as you have lost control over the when, why, and how of its state.”

At Hootsuite, React has become an integral part our front-end stack, and we’ve recently moved towards using Redux for managing the state of our front-end. Redux is built upon the Flux pattern. Flux emphasizes application state being abstracted into stores, and unidirectional data flow through an application. Unidirectional data flow discourages mutation of state, while encouraging individual components to subscribe to state changes from a store. …


Image for post
Image for post

Introduction

At Hootsuite the Play framework has been an important part of our Scala based microservices. As we refined our practices, however, we began to experiment at a lower level of abstraction than the Play framework provides. In fact, since version 2.5, Play’s streaming API has been based on Akka Streams. Since our newer microservices skeletons come with Akka dependencies built in, we decided to use Akka Streams directly for all our streaming needs.

What is Streaming?

“Big Data” is a buzz word that’s been thrown around a lot in recent memory. With the growth of landscapes such as Social Media and the IoT, an increased emphasis has been placed in reacting to large amounts of data in real time. In order to analyze data in real time we need a way to stream this data. …

Get the Medium app