Scala: All content tagged as Scala in NoSQL databases and polyglot persistence
Monday, 9 July 2012
Reusable Patterns for Riak in Scala
Ray Jenkins sharing some cool Scala code for Riak on the Boundary blog:
I decided that I’d write this service in Scala and use Riak for persistence. I lazy and I can’t stand doing CRUD stuff so I looked around at our code at Boundary and on the internet and I didn’t find any simple reusable persistence layer in Scala for Riak so I decided to write my own.
Original title and link: Reusable Patterns for Riak in Scala (©myNoSQL)
via: http://blog.boundary.com/2012/07/09/reusable-patterns-for-riak-in-scala/
Tuesday, 27 March 2012
Introducing Scoobi and Scalding: Scala DSLs for Hadoop MapReduce
After posting Impressions About Hive, Pig, Scalding, Scoobi, Scrunch, Spark, I’ve found myself wondering why so many of these libraries are built in Scala and what’s their main purpose. A day later and I’ve found Age Mooij‘s presentation about Scoobi and Scalding which provide an answer to my question. Plus a quick intro to Scoobi1 and Scalding2. Check the slides after the break.
Thursday, 8 March 2012
Scala Client for Cassandra From Twitter: Cassie
Staying in the land of recent open source data-related projects from Twitter, Ryan King:
Cassie is a Finagle and Scala-based client originally based on Coda Hale’s library.
While it is certainly stable— we use it in production to talk to a dozen clusters and over a thousand Cassandra machines— it is currently limited to the features we use in production and has a few rough edges.
For the JVM there’s also Netflix’s Cassandra client (Astyanax) available on GitHub.
Original title and link: Scala Client for Cassandra From Twitter: Cassie (©myNoSQL)
via: https://dev.twitter.com/blog/cassie-scala-client-for-cassandra
Monday, 19 December 2011
MongoDB in Scala Using Casbah and Salat Object Document Mapping
This is a simple example on using MongoDB in Scala using the Casbah driver for MongoDB and Salat as the ODM (Object Document Mapping) as a Maven project and generating the eclipse project files to work with.
What’s wrong with us Java people to consider simple something that requires over a hundred lines of configurations just to be able to do an insert and find?
Original title and link: MongoDB in Scala Using Casbah and Salat Object Document Mapping (©myNoSQL)
Thursday, 8 September 2011
Resolving Some CouchDB-Record Inconsistencies in Scala
Aleksa Vukotic:
While the REST interface to Documents and Views in Couch does not require a rich mapping layer (as opposed to the richness of SQL ORM frameworks), I still found it cumbersome to work directly with HTTP all the time in order to store/query my model objects to/from CouchDB.
Currently the Lift-Record framework has a Record implementation for relational databases (Squeryl), as well as Mongo-Record and CouchDB-Record implementations which gained prominence with recent increased interest in NoSQL storage. While the CouchDB-Record implementation is not complete, it has enough features to make it useful when working with CouchDB and Lift. Using CouchDB-Record I could easily map my domain model to the underlying database, and abstract the HTTP layer when I wanted to. The CouchDB-Record implementation did not offer everything that you might expect from a typical O(R)M framework - specifically there are some missing features such as associations mapping, lazy loading, caching.
Two remarks:
- When building your next tool or product never ignore the power of habits
- How much less time would be spend hacking (and writing about) CouchDB libraries, if there would be a set of official or at least officially-backed CouchDB drivers and libraries.
Original title and link: Resolving Some CouchDB-Record Inconsistencies in Scala (©myNoSQL)
via: http://www.aleksavukotic.com/2011/09/starting-with-lift-and-couchdb.html
Sunday, 3 April 2011
Riak and Scala at Yammer
Coda Hale and Ryan Kennedy[1] presented recently about Riak and Scala usage at Yammer providing details about choosing Riak and sharing some of the leassons learned while using Riak for building Streamie.
Slides of the talk are available in PDF format here. And this post on Basho’s blog covers the Q&A part that isn’t included in the video.
Original title and link: Riak and Scala at Yammer (NoSQL databases © myNoSQL)
Wednesday, 26 January 2011
Scala, MongoDB, Scalatra and Casbah: A Quick WebApp with
If you are into Scala with a bit of MongoDB:
Here’s a nice way to get a web service up and running quickly using Scala, Scalatra, SBT and MongoDB.
Original title and link: Scala, MongoDB, Scalatra and Casbah: A Quick WebApp with (NoSQL databases © myNoSQL)
via: http://janxspirit.blogspot.com/2011/01/quick-webb-app-with-scala-mongodb.html
Friday, 21 January 2011
Rogue: Type-Safe Scala DSL for MongoDB
Foursquare’s post about Rogue:
Rogue is our newly open-sourced, badass (read: type-safe) library for querying MongoDB from Scala.
Rogue is available on Github.
Original title and link: Rogue: Type-Safe Scala DSL for MongoDB (NoSQL databases © myNoSQL)
via: http://engineering.foursquare.com/2011/01/21/rogue-a-type-safe-scala-dsl-for-querying-mongodb/
Monday, 17 January 2011
Rogue: MongoDB Scala-based Query DSL
Rogue is a type-safe internal Scala DSL for constructing and executing find and modify commands against MongoDB in the Lift web framework. It is fully expressive with respect to the basic options provided by MongoDB’s native query language, but in a type-safe manner, building on the record types specified in your Lift models
Open sourced by Foursquare.
Original title and link: Rogue: MongoDB Scala-based Query DSL (NoSQL databases © myNoSQL)
Tuesday, 5 October 2010
Neo4j Example with Scala
I just converted the little Neo4j example (coming with the distribution) .
So, when will we get a complete case study or at least a more complete/complex example? — question is not only for Neo4j, but for all graph databases.
Original title and link: Neo4j Example with Scala (NoSQL databases © myNoSQL)
via: http://blog.fakod.eu/2010/10/04/neo4j-example-written-in-scala/
Tuesday, 21 September 2010
MongoDB and Scala Presentation
Brendan Mc.Adams’ presentation on MongoDB with Scala:
Original title and link: MongoDB and Scala Presentation (NoSQL databases © myNoSQL)
Thursday, 1 July 2010
NoSQL Databases Adoption: Support for MongoDB and CouchDB in Lift 2.0
NoSQL databases adopted everywhere:
This version adds in-built support for MongoDB and CouchDB, and support for JSON, REST, JTA and LDAP. This release also improves Lift support for Comet and testing, including dependency injection and run-mode injection.
Most Popular Articles
- Translate SQL to MongoDB MapReduce
- Tutorial: Getting Started With Cassandra
- CouchDB vs MongoDB: An attempt for a More Informed Comparison
- Cassandra @ Twitter: An Interview with Ryan King
- A Couple of Nice GUI Tools for MongoDB
- NoSQL benchmarks and performance evaluations
- Ehcache: Distributed Cache or NoSQL Store?
- Document Databases Compared: CouchDB, MongoDB, RavenDB
- Quick Review of Existing Graph Databases
- NoSQL Data Modeling