This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-08-13
Channels
- # announcements (10)
- # aws (1)
- # babashka (8)
- # babashka-circleci-builds (1)
- # beginners (67)
- # calva (4)
- # cljs-dev (42)
- # clojars (4)
- # clojure (213)
- # clojure-dev (4)
- # clojure-europe (18)
- # clojure-nl (1)
- # clojure-uk (8)
- # clojurescript (13)
- # conjure (6)
- # cursive (63)
- # data-science (5)
- # datomic (11)
- # events (1)
- # graalvm (2)
- # graalvm-mobile (1)
- # honeysql (4)
- # kaocha (3)
- # leiningen (19)
- # lsp (32)
- # malli (3)
- # meander (13)
- # news-and-articles (3)
- # off-topic (8)
- # polylith (5)
- # re-frame (47)
- # reitit (2)
- # shadow-cljs (28)
- # sql (3)
- # tools-build (4)
- # tools-deps (51)
- # uix (9)
- # xtdb (3)
Random one, but I just discovered that YourKit (which I regularly use) has a handy jdbc integration. So, for example you visualize the relationship between the threads in your app and their emitted/executed SQL. Which can ease a bit the detection of bottlenecks. One can also see all SQL events under a single table so you can quickly assess the slowest-running queries etc. Wondering if someone has more experience with this or similar tools.
enabling the jdbc integration required a tweak btw https://github.com/reducecombine/.lein/blob/4d9a0b142d667e224a79e3aeb0592a99e699f2ef/profiles.clj#L74
next.jdbc provides an API to log queries and their result, we use that to`tap>` to debug queries / do some performance work. I.e. we have a delayed-explain-analyze query in the tapped value so we get some idea of the characteristics of the query too when rebling through. The YourKit integration sure sounds nice, I don't use it as often as I should