Hacker News new | ask | show | jobs
by redinger 4600 days ago
From http://docs.datomic.com/architecture.html

"A Peer is a process that manipulates a database using the Datomic Peer library. Any process can be a Peer - from Web server processes that host sites or services, to a daemon, GUI application or command-line tool. The Datomic-specific application code you write runs in your Peer(s)."

1 comments

OK, thanks. It just clicked.

For anybody wondering what clicked: I'd have Datomic running with one peer, and that peer would serve as many end-users as it could handle. If necessary I could add a second peer and double the read-query power. And that's more than enough for my little web-app.

Given the nature of Datalog (https://www.youtube.com/watch?v=bAilFQdaiHk) I'm getting excited.

Datalog has been revelatory for me and my coworkers.