This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-08-02
Channels
- # announcements (3)
- # aws (2)
- # babashka (60)
- # beginners (21)
- # cljs-dev (35)
- # cljsrn (3)
- # clojure (53)
- # clojure-android (2)
- # clojure-australia (3)
- # clojure-europe (45)
- # clojure-france (4)
- # clojure-nl (4)
- # clojure-uk (6)
- # clojurescript (33)
- # core-typed (1)
- # cursive (13)
- # datomic (6)
- # duct (1)
- # emacs (2)
- # fulcro (10)
- # introduce-yourself (3)
- # jobs (2)
- # jobs-discuss (13)
- # leiningen (1)
- # malli (19)
- # missionary (63)
- # music (1)
- # off-topic (21)
- # pathom (3)
- # polylith (18)
- # practicalli (12)
- # proletarian (1)
- # reagent (40)
- # reitit (23)
- # releases (1)
- # remote-jobs (1)
- # ring (14)
- # ring-swagger (1)
- # shadow-cljs (13)
- # sql (30)
- # testing (27)
- # tools-deps (31)
- # vim (10)
- # xtdb (4)
did the 884-9095 upgrade happen to somehow override the /ping
REST resource for a deployed HTTP ion? prior to the upgrade my API had a /ping route with a custom response. after the upgrade i just get back Healthy Connection
Seems so! Here, our custom ping resource is behing an e.g. /some-path/custom-ping
URL so I didn't remark the potential change, but I now see that /ping
responds just like you do.
thanks for confirming @U0514DPR7. i'm glad i wasn't using our custom response for anything important 😉
That’s interesting that this wasn’t an issue until after you upgraded to the new release.
AWS documents the /ping
path as reserved for API Gateway for their own health checks. https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-known-issues.html
(Although, they don’t mention the HTTP API in that page, it is also the case they use that path there as well)
I’m curious how other Datomic users handle the need for aggregating counts of entities efficiently. I’m thinking of things like “I want to know the number of albums in every category”, where the numbers of both albums and categories are large and can grow without bound. Do you just do aggregation and count from scratch every time you need to report this info? Do you store it? If you store it, do you use something like transaction functions to keep it up-to-date? We are finding that where there are many possible state transitions it can become costly in engineering time to ensure that these aggregate values are always updated correctly.