This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-07-26
Channels
- # bangalore-clj (1)
- # beginners (12)
- # boot (48)
- # cider (56)
- # clara (1)
- # cljs-dev (15)
- # clojure (455)
- # clojure-austin (2)
- # clojure-dev (33)
- # clojure-italy (26)
- # clojure-nl (6)
- # clojure-poland (10)
- # clojure-russia (23)
- # clojure-spec (33)
- # clojure-uk (62)
- # clojurescript (37)
- # code-art (2)
- # cursive (12)
- # datomic (48)
- # funcool (1)
- # juxt (16)
- # leiningen (13)
- # off-topic (12)
- # om (23)
- # onyx (16)
- # other-lisps (5)
- # parinfer (2)
- # pedestal (28)
- # re-frame (60)
- # reagent (8)
- # ring (1)
- # ring-swagger (15)
- # spacemacs (5)
- # specter (53)
- # test-check (2)
- # unrepl (8)
- # vim (14)
I want split my database to multiple(sharding), What the best practice to alter my type of :db.type/ref
attributes to type :db.type/long
? According the [doc](http://docs.datomic.com/schema.html#Schema-Alteration), I must install a new attributes.
eg.
I have User
& Account
entity, now, I put the User
and Account
to difference db, the attribute :user/accounts
can not still be type of :db.type/ref
Has anyone experienced difficulty getting a transactor running on AWS w/dyanmo db with version 0.9.5561.50
?
@mgrbyte We had no issues with our transactor, we had issues with our peer, but it was a library conflict issue
The only cost is space and indexing time (when the transactor compacts the index), and you can always remove them later
Say, is there anything like a $DATOMIC/bin/transactor status
command? Trying to script some dev tools around the dev transactor and can't see an obvious way to check whether it's running or not
I mean, there's always ps | grep datomic
but I'm hoping for something slightly less janky
I do see a pidFile
system property, but I can't seem to find the pid file in the dev transactor
@timgilbert why not just ask your process manager?
I would do that on my actual transactor server, but locally I'm just running a script to start it (os/x)
Maybe I just need to add a pidfile argument in the config for local, though then I'll need to get the engineers to agree on a path
Hmm, was afraid of that. I suppose for catastrophic failure it couldn't be anyways
Well, I'll mess around with it some
I suppose so, but I'd need to get over my burning hatred of launchd first
Yeah, I can enthusiastically state that I won't be editing any XML to get this little script working. 😉
But I do appreciate the suggestion
I think I would probably attempt to get the dev transactor running in docker before going down that path
I am enjoying my hatred of launchd too much to let go of it, unfortunately
That's true. I wind up doing a lot of my day-to-day work in-memory and then go from there to ddb, typically. But since I can't restore from ddb to in-memory, I'm starting to mess with the dev transactor more
ah. this may interest you then https://gist.github.com/favila/785070fc35afb71d46c9
Oh, interesting. I will definitely check it out
Looks like 0.9.5561.50 added a feature “health check endpoints for transactors and peer servers.” Details: http://docs.datomic.com/transactor.html#sec-1-1