This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-02-27
Channels
- # beginners (106)
- # boot (124)
- # cider (11)
- # clojure (105)
- # clojure-poland (2)
- # clojure-russia (28)
- # clojurescript (89)
- # core-async (14)
- # cursive (10)
- # datomic (7)
- # emacs (12)
- # garden (5)
- # hoplon (345)
- # immutant (127)
- # mount (2)
- # off-topic (24)
- # om (24)
- # onyx (8)
- # parinfer (51)
- # proton (2)
- # slack-help (4)
- # spacemacs (1)
What is the typical number of virtual peers on a host? For containerized deployment, would a container run a single virtual peer?
Just found the following in the API documentation: > In a production environment, you should start by booting up N virtual peers for N cores on the physical machine.
@joshg: Yes, roughly number of peers per machine == number of cores. A container should have all the peers inside it, not just 1.
If you have tasks that are rarely used (eg. flow conditions tasks that take error values), then these will be mostly idle, so the peer per core is a rough estimate
I'll improve the docs there a little. I think we could mention that typically this is because it's one main task lifecycle processing thread per task, and that stateful tasks and input tasks often require more
Thanks. Virtual peers are described as processes, but I wasn't sure if that meant process in the abstract sense or actual OS processes.
Yeah, really they're a few threads, which we should do a better job of describing. Mostly of the work is done by one thread