Re: Clojure STM vs Java Locks dissertation help data structure database connection

2012-03-03 Thread Riccardo
I am new with Functional Programmin and Clojure, so I am not really sure about what to do. Instead of connecting to a database, can I do this? 1 - define initial data, like a matrix of Refs 1 - generate random operations to execute: [ random-account-source-id(0, N_MAX) ,

Clojure STM vs Java Locks dissertation help data structure database connection

2012-03-02 Thread Riccardo
Hi! I am a student at Swansea University (UK), trying to present a Project about Clojure STM performance and Java Locks performance during the simulation of concurrent Banking transactions: I intend to execute a concurrent transfer of (fixed amount of) money from an account A to an account B in a