This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-03-09
Channels
- # beginners (22)
- # boot (80)
- # cider (6)
- # cljs-dev (5)
- # clojure (190)
- # clojure-berlin (5)
- # clojure-dev (24)
- # clojure-italy (14)
- # clojure-russia (70)
- # clojure-spec (39)
- # clojure-uk (82)
- # clojurescript (121)
- # clojurewest (1)
- # core-logic (2)
- # cursive (25)
- # datascript (186)
- # datomic (33)
- # dirac (266)
- # emacs (9)
- # gsoc (4)
- # hoplon (37)
- # immutant (34)
- # instaparse (22)
- # jobs (4)
- # juxt (6)
- # lambdaisland (2)
- # leiningen (1)
- # liberator (1)
- # luminus (5)
- # lumo (28)
- # off-topic (9)
- # om (23)
- # onyx (26)
- # other-lisps (1)
- # parinfer (39)
- # pedestal (45)
- # proton (1)
- # protorepl (10)
- # re-frame (18)
- # reagent (4)
- # ring-swagger (8)
- # rum (4)
- # specter (13)
- # test-check (14)
- # testing (1)
- # unrepl (164)
- # untangled (10)
- # yada (14)
I'm doing some profiling, and I'm seeing some threads: query-1, query-2, query-3, query-4. They're holding the bulk of our allocations right now. Wanted to know if they're from datomic & what they do, should I be concerned about their usage.
They aren't actually growing, so it may be caches or something. But thought I'd ask.
Hmm, I'm only seeing a single query thread light up allocations at once. Also, all 4 threads (before my job started) were sat at ~25% usage of the memory.
The big job isn't supposed to allocate much (lazy sequence), so I suspect we're doing something wrong there.
Makes sense. I think we're doing enrichment of data from other entities. Inferring certain properties, I'm not overly familiar with the intimate details of the queries we use running over these datoms though
watching google next keynote live stream – spanner looks really cool. i know it's been discussed before, but my next thought was immediately "i wonder if this would work as a datomic backend"
@marshall I don’t have a repro case yet (this was provoked by two µ-services, one writing, one reading) though I would like to put one together. This is with 0.9.5561.
I actually tried (dissoc (d/db conn) :t :next-t)
, and at least couldn’t reproduce the issue
Has anyone integrated Datomic as part of a project that includes a separate GIS system? I'm going to building a PostGIS backed system and I want to see if I can use Datomic as well for as much of the non-spatial data as possible, but I'm not sure exactly where I should be putting those boundaries and if there are any real-life issues that I'll run into that I haven't considered yet.
@shaun-mahood I don't know about GIS specifically, but I do know people have used Datomic alongside other storage/indexing systems.
The general rule is to store things in the system that's optimized for storing that kind of data: small, relational, transactional values in Datomic; geo-spatial data in a geo-spatial system; binary blobs in a blob store; etc.
@stuartsierra: Thanks, that's kind of what I'm leaning towards - good to know there is some success out there for other areas and it's not just a plain old bad idea. In unrelated news, the Lambda Island video on component finally got me over the hump to start using it 🙂