This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-03-15
Channels
- # arachne (6)
- # aws-lambda (3)
- # beginners (14)
- # boot (56)
- # cider (8)
- # cljs-dev (5)
- # cljsrn (11)
- # clojure (240)
- # clojure-dusseldorf (3)
- # clojure-greece (165)
- # clojure-italy (5)
- # clojure-romania (1)
- # clojure-russia (24)
- # clojure-uk (30)
- # clojure-ukraine (3)
- # clojurescript (29)
- # core-async (6)
- # css (1)
- # cursive (25)
- # datascript (6)
- # datomic (61)
- # dirac (1)
- # events (3)
- # hoplon (1)
- # instaparse (3)
- # jobs (4)
- # juxt (28)
- # lein-figwheel (7)
- # leiningen (19)
- # luminus (1)
- # lumo (2)
- # nyc (1)
- # off-topic (19)
- # om (25)
- # onyx (4)
- # parinfer (2)
- # pedestal (23)
- # perun (20)
- # re-frame (44)
- # reagent (20)
- # remote-jobs (3)
- # ring (3)
- # ring-swagger (5)
- # rum (12)
- # slack-help (3)
- # spacemacs (25)
- # specter (62)
- # sql (16)
- # unrepl (313)
- # yada (4)
any bidi
users here that use swagger or other auto generated api documentation? im writing a new service and would like to use swagger-ui or similar with bidi, not sure how hard that would be.
@kenbier https://github.com/juxt/yada/blob/master/doc/swagger.adoc I'd take a look at how yada does it, it is dependent on bidi
hmm maybe ill just use yada anyway 🙂. looks like i can add my existing ring middleware to yada, is that true @dominicm?
@dominicm let's say I have 2 pieces of state that might get refreshed: 1/ code from a git repo 2/ an edn file coming into the system through some other means (a config ala chef) but they need to be synchronized.
i'm not using skip yet, but I was mapping out the pieces of state in one of our backend applications to see if it is feasible to use it
another question that I have is, how do you deal with code updates in practice? use the reloaded pattern? what about downtime in that case - rolling-update across instances? I can't figure out how that would 'easily' fit into the model of skip and the infrastructure you're running on
@stijn I thought not, just wanted to confirm! In that case, I'd say that the stale of the config is whether either: the git repo is stale OR there's something stale according to the remote config?
The downtime is extremely minimal when using reset. Particularly if you use the hibnerate stuff from weavejester. I also notice that mount only reloads components where the code has changed
on the downtime, we're starting to use weavejester's integrant and have to try out resume/suspend. the example even talks about holding requests in queue in the server while you swap the handler
You can hotload dependencies. But I think generally if project.clj has changed, shutdown is appropriate, then let a process manager auto-restart you.
I think you're taking this further than @malcolmsparks has actually done so in practice so far. A lot of the ideas were theoretical.