Fork me on GitHub
#datomic
<
2015-12-09
>
joseph12:12:36

Hello, does anyone have some knowledge about the cooperation among multiple peers? for query and transact?

joseph12:12:53

after searching google, I only found lan eslick's gist codes about peer reservation: https://gist.github.com/eslick/4122604

joseph12:12:02

does anyone know some doc?

joseph13:12:14

or that's what we can get with paid version?

Lambda/Sierra13:12:37

@joseph The only differences among the Free, Pro Starter, and Pro editions are those described here http://www.datomic.com/pricing.html

joseph14:12:22

@robert-stuttaford @stuartsierra thanks for replying, I have checked the datomic api sync, but do you have some detail tutorial or examples to show how to use it for peers to coordinate

joseph14:12:54

like how to query a large datasets with two peers

robert-stuttaford14:12:49

breaking query up across peers is more something you’d need to do yourself

robert-stuttaford14:12:08

you might look at http://onyxplatform.org or #C051WKSP3 on here

joseph14:12:56

many thanks, that's what I am looking for

robert-stuttaford14:12:48

we use Onyx, so i can likely answer many questions you might have simple_smile

Lambda/Sierra14:12:31

@joseph: Datomic's transactional capabilities are sufficient to coordinate any activity across multiple Peers, but Datomic just gives you the primitives. You will either have to write the coordination code yourself or use a library/framework that provides it.

a.espolov15:12:38

I run datomic on a remote server

a.espolov15:12:33

I try to create a database, but catch an exception

joseph15:12:36

@a.espolov: in my experiences, after you create a new database, it seems like you have to wait around 1 minute for inserting data, it sounds unreasonable, maybe other guys know more about it

a.espolov15:12:33

@joseph: there is another problem

a.espolov15:12:09

running datomic repl on the remote machine

joseph15:12:47

@a.espolov: have you started the transactor with right configuration?

a.espolov15:12:31

I created a database(using public IP for VPS in the connection string)

robert-stuttaford15:12:40

@a.espolov: your peer can not connect to your transactor. are the ports open? 4334 and 4335 if i’m not mistaken?

robert-stuttaford15:12:32

@joseph: creating a new database should not take a minute to ‘work'

joseph15:12:53

@robert-stuttaford: my experience about it is after I delete and create a database, it seems I need to wait around 1 minute to be able to insert the data into datomic

joseph15:12:28

in this post, http://permalink.gmane.org/gmane.comp.db.datomic.user/6873, it says "At some point in the last few months they changed the internals of the transactor such that a database name is not available for reuse for up to a minute after it is deleted."

robert-stuttaford16:12:55

@joseph they fixed that in the second-to-last release simple_smile

joseph17:12:35

@robert-stuttaford: yes, that’s right, thanks

laforge4919:12:22

Newbie datomic question. Getting started. C:\datomic-pro\datomic-pro-0.9.5344>bin\groovysh.cmd Dec 09, 2015 2:01:15 PM java.util.prefs.WindowsPreferences <init> WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5. Groovy Shell (1.8.9, JVM: 1.8.0_31) Type 'help' or '\h' for help. ----------------------------------------------------------- groovy:000>

laforge4919:12:52

Ignore the warning?

robert-stuttaford20:12:53

what does google say about it?

domkm23:12:55

Cognitects, would you be open to providing official (non-implementation) versions of datomic.impl.Exceptions$IllegalArgumentExceptionInfo and datomic.impl.Exceptions$IllegalStateExceptionInfo? They are very useful for transactor functions but I am wary of relying on implementation details.