Random thoughts on concurrency, databases and distributed systems