Logs for #nikola for 2016-09-20

05:43:47 -GitHub[plugins]:#nikola- [plugins] xuhdev pushed 1 new commit to master: https://git.io/viysT
05:43:47 -GitHub[plugins]:#nikola- plugins/master e8965f1 Hong Xu: publication_list: Update README.
05:48:28 -travis-ci:#nikola- [PLUGINS] getnikola/plugins#958 (master - e8965f1 : Hong Xu): The build passed.
05:48:29 -travis-ci:#nikola- [PLUGINS] Change view: https://github.com/getnikola/plugins/compare/f973ff2834e2...e8965f16beda
05:48:29 -travis-ci:#nikola- [PLUGINS] Build details: https://travis-ci.org/getnikola/plugins/builds/161237857
12:17:41 <x1101> Question for folks here. I'm going to be building out a docker container to server my nikola site, and am wondering if anyone has thougts on what the best webserver would be? I want something low memory. Fairly small site, largest files are images, less than 1M each. 
12:24:57 <ToApolytoXaos> NGINX would be just fine
12:30:11 <ralsina> +1 to nginx
12:33:19 <x1101> my plan is to have an Apache server proxying to various web-serving containers (all/mostly nikola), so keeing the actual containers small is kinda a thing I wanna do
12:43:13 <ralsina> well, nikola really doesn't need much, so if you have the Apache doing proxying, you can even use smaller stuff, like gatling ot thttpd
12:43:27 <ralsina> small as in "500KB of RAM used"
12:58:08 <x1101> man, after some reading, it looks like nginx can be reverse proxy too. That might help with resource limits. 
12:58:28 <x1101> I'm trying to 1) learn a new thing and 2) stretch my ec2 instance as far as I can.
12:58:37 <ToApolytoXaos> nginx is mostly used as reverse proxy as far as I know.
12:59:19 <ToApolytoXaos> I run a benchmark test with wrk and nginx can handle nearly 7 million requests in 30 seconds.
12:59:45 <x1101> Seem I'm more concerned with low mem/cpu footprint. Small site(s)
13:00:12 <ToApolytoXaos> nginx consumes very very little mem/cpu with static websites
13:00:25 * x1101 looks a the docker pages
13:00:46 <ToApolytoXaos> something like 0.1% to 10% of CPU usage when you have a low to average traffic respectively
13:00:58 <x1101> ralsina: once I get the setup done, I'll gladly do a blog post for it.
13:01:22 <x1101> its more infrastructure-y, but I'll drop it here and you're welcome to share it if you like, 
13:01:28 <ToApolytoXaos> you can always try caddy
13:01:29 <ToApolytoXaos> https://caddyserver.com/
13:47:14 <ChrisWarrick> x1101: there's one Dockerfile out there already, but IMO itvwould be much easier to put your html files outside of Docker and just run "local" nginx
13:49:01 <ChrisWarrick> x1101: not having to go through Docker is also a way to fix performance and avoid complexity
14:21:52 <ralsina> x1101: awesome!
14:22:06 <ralsina> x1101: writing about how stuff gets done is how other people get it done :-)
15:48:19 <x1101> ChrisWarrick: usually I'd agree, and it could very much be "this is the tool I'm using and I want to play with it" but I want to setup multiple sites and use either apache/nginx as a proxy in w/o doing more locally. 
15:48:56 <x1101> because _some_ of the stuff I want to setup is more than serving static sites. and I'd like a consistent aproach for everything.
15:54:28 <ToApolytoXaos> so what exactly is you are doing that NGINX cannot consistently handle?
15:54:34 <ToApolytoXaos> now I got curious lol
16:30:41 <ChrisWarrick> probably more dynamic stuff
16:52:59 <ToApolytoXaos> I'm sure NGINX can handle dynamic stuff just fine ;)
18:15:46 <KwBot> [plugins] xuhdev opened issue #170: Confusing plugin pages: "Issues? Questions?" https://github.com/getnikola/plugins/issues/170
18:16:03 <x1101> yeah, I want to host mattermost/nextcloud instances
18:16:18 <x1101> and I want to separate them a bit, so that if any of them grow, I could move them later
18:19:45 <KwBot> [plugins] Kwpolska closed issue #170: Confusing plugin pages: "Issues? Questions?" https://github.com/getnikola/plugins/issues/170
18:24:43 -travis-ci:#nikola- [PLUGINS] getnikola/plugins#959 (master - f3d7e2e : Chris Warrick): The build passed.
18:24:44 -travis-ci:#nikola- [PLUGINS] Change view: https://github.com/getnikola/plugins/compare/e8965f16beda...f3d7e2e80dc9
18:24:44 -travis-ci:#nikola- [PLUGINS] Build details: https://travis-ci.org/getnikola/plugins/builds/161411585