Welcome! Please see the About page for a little more info on how this works.

+2 votes
in On-Prem by

Hi,

Is it possible to run a transactor from within a Clojure application? I'm trying to gain more control over/feedback about the state of the transactor, and simply shelling out to bin\transactor doesn't seem like a neat solution. I'd also prefer that the end user doesn't have to provide and maintain their own transactor.

PS, I understand concerns about contention for resources, but what I envision is a simple wrapper application that runs in its own JVM process separate from the rest of my application logic.

1 Answer

0 votes
by

Hi Tom,

It's possible, but not recommended for the reasons you highlight around concerns for resource contention and more importantly the ability to reason about performance and reliability. At scale you're going to want to have these things separated out. Here are our docs:

https://docs.datomic.com/pro/operation/deployment.html#process-isolation?

Cheers,
Jaret

...