Functional Programming
WebSocket Connections with Akka Streams
The WebSocket protocol provides full-duplex communication channels between web clients and servers. Using Play Framework’s WebSocket class along with Akka Streams provides effective support for WebSockets on the server side. Add an Alpakka connector for the desired data source, and you have all the pieces to create flexible, reliable, and elegant solutions for connecting WebSockets…
Read MoreETL With Scala and Native SQL – Part 2
In part 1 we completed the steps necessary for the extraction and transformation of our operations data. Before proceeding to load our data warehouse, let’s go into more detail on Anorm queries. There is a great deal of consistency in how Anorm handles different types of SQL statements, and having a more general understanding of…
Read MoreETL With Scala and Native SQL – Part 1
For almost as long as software engineers have been using object-oriented programming languages to access relational databases, we have been lamenting the “impedance mismatch” between the two. The lack of straightforward language constructs to allow data to move cleanly back and forth between objects and tables led to the rise of object-relational mapping tools. ORM…
Read More