Data Engineering
Big Data is a hot topic these days, and one aspect of that problem space is
processing streams of high velocity data in near-real time. Here we're going
to look at using Big Data-style techniques in Scala on a stream of data from
a WebSocket.
Betamax is a tool to help with testing
applications that consume web services by allowing the developer to record
responses and then replay them. In this post we look at how we can use it in Scala.
In the final article in the series, we take the RESTful API we've created and integrate it with MongoDB for persistence using the Salat library.
Taking a macro that can extract path elements from a query string and turning it into a fully fledged RESTful API, backed by an in-memory database.
In this article we'll look at ways to overcome one of the main restrictions of def macros - the ability to only generate functions.
Diving in head first into Scala Macros, generating code using the language's abstract syntax tree. I'll be looking at how to create a function that in subsequent articles we can turn into a generated RESTful API.