Category Archives: Scala

Why and How we are using Scala at journi

Last year we started building our web/mobile startup journi (called miavia back then), and I considered 3 different backend languages before finally settling on Scala: PHP. I didn’t want to continue working with a language that had grown into a … Continue reading

Posted in Play framework, Scala, Startups | 2 Comments

Scala Akka Workshop – Evolving a Robot in an Actor Cluster

It is quite extraordinary what is possible nowadays with a group of interested developers and powerful tools such as Scala and Akka. Three months ago we had our first Akka Workshop here at the Vienna Scala User Group (VSUG), in … Continue reading

Posted in Akka, Play framework, Scala, Slick | 6 Comments

Play Framework Evolutions with Slick 2.0 Code Generator

The new Slick 2.0 database library comes with a simple code generator that generates Scala code for all your tables so you can quickly start coding against your database. It takes into consideration not only the tables and columns, but also primary … Continue reading

Posted in Play framework, Slick, Web Development | Tagged , , , , , | 6 Comments

3 Things Learned from using Akka in a Coding Workshop

Here are 3 learnings from last weeks Akka coding session, in which all participants connected their Actors in order to participate in a Prisoner’s Dilemma competition.

Posted in Akka | Tagged , , , | 4 Comments

Scala coding competition: Akka and the Prisoner’s Dilemma

More than 20 people with no prior Akka experience, 10 minutes preparation talk, one idea: getting everyone to write Actors participating in a realtime competition to beat others in the game of Prisoner’s Dilemma. Sounds challenging? Yes, it is. Did … Continue reading

Posted in Akka, Play framework | Tagged , , , , , , | 2 Comments

Using Play Framework 2 in production

Even though Play Framework 2 is a young framework, we found it to be quite stable for production use. Still, here are some points you may want to consider when working on a serious web project using Play 2.2. This … Continue reading

Posted in Play framework, Slick | Tagged , , , , , | 3 Comments

Play Framework 2 in production: HTTPS using nginx

If you provide some sort of user login on your page, you’ll probably want to use HTTPS/SSL. Play Framework 2 supports secure connections using the recommended setup with a reverse proxy such as nginx. This means your application server will … Continue reading

Posted in Play framework | Tagged , , , , , | 6 Comments

Real-world performance of the Play framework on EC2

Recently there have been discussions about the performance of the play framework, after a large collection of web framework test results has been posted on TechEmpower. Play does well on these tests, but it’s not exceptionally fast. In the article, simple JSON responses … Continue reading

Posted in Play framework | Tagged , | 8 Comments