Fork me on GitHub
#datomic
<
2016-08-02
>
yonatanel07:08:17

@shinych: from http://docs.datomic.com/storage.html#sql-database it seems that if it has a jdbc driver, you can use it, but this is software, so nothing is certain.

shinych07:08:00

exactly 🙂 interested if anyone is using (has tried it) with DB2 we have kind of an enterprise hell here, and it is quite possible that DB2 would be the only option in production deployment

marshall12:08:10

@shinych: you should be able to use DB2. any jdbc compliant SQL store. You’ll need to bring your own jdbc driver

marshall12:08:44

you’ll also have to adapt the sql provisioning scripts included with the datomic distribution for postgres

yonatanel13:08:02

Does transactor serializes transactions per database or is it a global queue? Is it possible to manually "shard" the DB and have parallel writes that way (ignoring the underlying storage limitations since it's all on the same DB table)?

marshall13:08:30

per database, but you should have only one DB of any substance per transactor

yonatanel13:08:49

@marshall: because of the underlying storage provisioning?

marshall13:08:10

@yonatanel: there are multiple reasons. storage throughput is one, but process isolation is another, particulars of how indexing behaves and is triggered is another

yonatanel13:08:42

So when the license refers to 5 processes in http://www.datomic.com/pricing.html it means I can have 5 transactors?

marshall13:08:23

@yonatanel: a Datomic system can only have a single transactor; the process count is the sum of your transactor and all your peers. you can have as many peers as you need/want on the system

marshall13:08:01

so, a 5 process license will let you run a transactor and up to 4 peers

yonatanel13:08:03

In one of the Nubank talks they mentioned maybe sharding/partitioning on customers. I wonder how they're going to do that.

marshall13:08:14

multiple transactors. each peer can connect to multiple separate databases (and even query across them). they’ll simply need to handle traffic sharding upstream (i.e. at the load balancer or at the peer application)

yonatanel13:08:07

Which means multiple licenses or a special license I suppose.

marshall13:08:04

in general, yes, if you’re considering needing multiple transactors we’d prefer you gave us a call so we can discuss your system and work out an appropriate licensing option

kenny18:08:25

What is the recommended amount of disk space the the transactor needs?

bostonaholic19:08:54

@kenny: probably not a straight up answer, but this resource should help you http://docs.datomic.com/capacity.html

bostonaholic19:08:56

you will probably adjust your transactor.properties file several times to get it just right

bostonaholic19:08:10

it’s a living system, not a “set it an forget it”

kenny19:08:14

I saw that. I am talking about actual disk space, not RAM. That article has one small section about storage size but does not make any recommendations for the amount to allocate.

bvulpes20:08:02

transactor doesn't need much disk space.

bvulpes20:08:37

kennyjwilli: are you planning to run the transactor on a very storage-constrained vm or the like?

kenny20:08:35

@bvulpes: No. Will be running as a marathon app in Mesos. Just wondering how much disk space I should allocate for the app.

bvulpes20:08:56

i've run it handily with 8g on an aws t2 micro

kenny20:08:10

@bvulpes: Ok. Will start with that then

bvulpes21:08:50

kennyjwilli: it never came close to needing that, but if you can overprovision...

zentrope23:08:51

I’m running datomic in a script (http://inlein.org): is there a way to suppress debug logging?