Wednesday, July 4

Datomic with examples in Clojure

So for some quick background, Rich Hickey the inventor of Clojure created yet another NoSQL database called Datomic. I was quite skeptical at it's release with the plethora of other NoSQL solutions available, but was converted by a simple question asked during Clojure Conj West. 

"What is faster, a local spinning disk or an SSD connected via a fat pipe?"

Hearing this I suddenly realized that the significant changes that have occurred with large memory, many locally connected machines, and SSD's really have changed the game and that a re-architecture of databases was called for. 

For more details on that topic, I high recommend starting with Jay Kreps blog post here.

Anyways, Datomic's idea of moving much of the read-only query work to the client, and abstracting away data storage, is very attractive. Loads more details here.

Finally jumping in to Datomic, after I started playing with working sets many times larger than available RAM; I ran into a couple issues that I thought I should mention to hopefully help any other "datomic clojure intro howto" googlers.
  1. Grab the latest greatest version of datamic from here.
  2. Second, unzip it and do;
    $ mvn install:install-file -DgroupId=com.datomic -DartifactId=datomic -Dfile=datomic-${VERSION}.jar -DpomFile=pom.xml

  3. Where ${VERSION} is the numbered version of datomic that you download.
  4. Check out some Clojure examples, and project, I extracted from official Datomic tutorial found here.Examples ->

Hope it helps ;)


Unknown said...

The Datomic architecture link has been changed to:

Unknown said...

Likewise, the Datomic download link is now:

lcra8ro85c said...

JackpotCity, 토토사이트 licensed by the Malta Gaming Authority, additionally presents extensive range|a variety} of slots. These include some Canadian favorites which might be} known for his or her great options and design. Some categories include basic slots (3-reel and 5-reel), progressive slots, and the highest-rated slots, other than table video games such as roulette video games and blackjack video games. If you’ve visited comparable casino evaluate pages and websites, you’ve in all probability seen that the problem of playing payouts is commonly in the information. Naturally, avid gamers are interested in one of the best paying on-line casinos or essentially the most accessible video games to win.