As a child (I think I was around 6 at that time), I wanted to become an inventor, much like Gyro Gearloose. My father wisely pointed out that this wasn’t a job that existed on the job market, but that the closest thing was likely to become an engineer of some kind. And so I… Continue reading
TL;DR: Play applications are not automagically performant. I’m writing a book that shows how to use Play correctly, especially when used to working with threaded web-servers such as Tomcat or Jetty. Save 50% with the code mlbernhardt.
I’ve been using Akka for 3 years in a variety of projects and by now, I have a hard time imagining to deal with some of the parts of my work without it. Sure, Scala provides other powerful paradigms for dealing with concurrency, but I find Actors to be one of the most elegant concept… Continue reading
Update: Added Squeryl, thanks to @JoeZulli for the heads-up Update 2: Added link to latest Squeryl release for Scala 2.10 and 2.9.2 I recently started working with relational databases again from within Scala, after a while in JSON-land (mostly MongoDB and elasticsearch). During that time, I’d been happily working with lightweight libraries / DSLs that… Continue reading
Two weeks ago, I went to speak about Scala at the Java2Days conference in Sofia, Bulgaria. This was the 5th edition of the conference, and my first time there. A small group of speakers (to the extent of my knowledge, Josh Long, John Willis and Andrew Lombardi) has been flying overseas every year to attend… Continue reading
Here are the slides from my talk at Devoxx 2013 in Antwerp: The sample application built in the slides is also available on GitHub. Devoxx was great, as always! A huge thank to Stephane and his crew for making it happen, year after year!
In part 1 and 2 we’ve seen how to build a completely reactive chain to fetch a large stream of data from a REST API, transform it on the fly and send it over to indexing to ElasticSearch. Now one question remains: does it actually work, and does it help solve a real problem? In… Continue reading
A bit late, but nonetheless: my slides from the Java Klassentreffen 2013 in Vienna and Linz. Introduction to Scala from Manuel Bernhardt
Last week, we saw how to get data from a REST API and modify it to our liking in order to send it off for indexing to ElasticSearch. Now, let’s see how to get the data into ElasticSearch in a resource-friendly manner. Indexing with ElasticSearch and elastic4s ElasticSearch has a RESTful index API through which… Continue reading