Category Scala

ApacheSpark

A Foray into Spark and Scala

Apache Spark is a new wave in Big Data computing, an alternative to technologies such as Hadoop. I was recently watching someone analyze log files of image URL requests using shell scripts to create a MySQL database and thought it might be an interesting exercise to try it in Spark as well. Hadoop versus Spark So what […]

Fascinating High Performance Concurrency article

Matthew Farwell sent a note about an article on LMAX by Martin Fowler ( http://martinfowler.com/articles/lmax.html ) to the Java Posse mailing list.  I found it a very interesting read for anyone interested in high performance computing.  Having recently completing a Java project achieving 3 million business operations per second using the Actor model with a […]

Early experiences with serious Scala code

A few quick notes on my first experiences writing serious Scala code. I had heard the IDE plug-ins had some bugs.  For me, understatement of the year!  The Eclipse plugin would not even let me paste in text, frequently would not let me insert text into source code with syntax errors in it – had […]

My first real use of Scala Actors

I have written lots of multi-threaded code in C++ and more recently Java.  I have always found it a bit tricky to get right, but more importantly it was easy for someone else maintaining the code to trip up on some of the subtleties.  All these mutable data structures that got shared between threads.  You […]