This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-06-02
Channels
- # aleph (5)
- # beginners (112)
- # boot (137)
- # cider (10)
- # cljs-dev (36)
- # cljsrn (2)
- # clojure (118)
- # clojure-argentina (1)
- # clojure-berlin (1)
- # clojure-brasil (3)
- # clojure-dev (4)
- # clojure-italy (2)
- # clojure-nl (13)
- # clojure-russia (23)
- # clojure-spec (5)
- # clojure-uk (53)
- # clojurescript (344)
- # clojutre (1)
- # core-async (65)
- # cursive (9)
- # datascript (7)
- # datomic (28)
- # devops (1)
- # emacs (16)
- # events (1)
- # jobs (5)
- # keechma (18)
- # lumo (56)
- # off-topic (7)
- # om (3)
- # onyx (14)
- # protorepl (21)
- # re-frame (3)
- # reagent (20)
- # ring (12)
- # ring-swagger (9)
- # specter (17)
- # unrepl (14)
- # vim (14)
- # yada (22)
@jdkealy each peer gets one queue.
@ddellacosta yes, i believe you can
@jdkealy Each peer process gets one queue: Every peer will see every message. Within a peer process, there is only one queue, so if there are multiple threads reading from the queue each thread will see only some of the messages.
hello, guys! i’m little bit of frustrated
trying to launching server with postgres, executed all sql scripts in bin/sql/
postgres-db.sql ->> postgres-table.sql ->> postgres-user.sql
After that run transactor
bin/transactor my-transactor.properties
Launching with Java options -server -Xms1g -Xmx1g -XX:+UseG1GC -XX:MaxGCPauseMillis=50
Starting datomic:sql://<DB-NAME>?jdbc:, you may need to change the user and password parameters to work with your jdbc driver ...
System started datomic:sql://<DB-NAME>?jdbc:, you ...
In my-transactor.properties
protocol=sql
host=localhost
port=4334
license-key=+-A...
sql-url=jdbc:
sql-user=datomic
sql-password=datomic
I don’t understand — what is <DB-NAME>?
Where is place in template which build this db-uri and <DB-NAME>?
directly?
datomic:sql://<DB-NAME>?jdbc:
Many thx!@rustam.gilaztdinov <DB-NAME>
is a placeholder for whatever datomic database you create
So, first needed to be create database in repl And then start transactor?
the transactor is telling you the uri "template" by which you can create databases on the storage the transactor has control over
this template may not be correct if your peer is somewhere else on the network, uses a jdbc arg, etc
And where I can substitute <DB-NAME>
? In which file?
But how can I execute this code, if I can not to run my transactor? 😃
eg, that will create the database "my-database", and if it is newly created return the connection object
datomic peers connect to storage first, and an entry in storage (written by the transactor) tells them how to connect to the transactor
so the connection uri for a database is always datomic:<STORAGE-TYPE>://<DATOMIC-DATABASE-NAME>?<STORAGE-SPECIFIC-STUFF>
and transactor.properties host=
and alt-host=
are hostnames the peer should be able to use to get to the transactor (not storage)
host=localhost
means essentially that peers and transactors are always on the same box
yup, thx