Files
fn-serverless/api/agent
Tolga Ceylan 584e4e75eb Experimental Pre-fork Pool: Recycle net ns (#890)
* fn: experimental prefork recycle and other improvements

*) Recycle and do not use same pool container again option.
*) Two state processing: initializing versus ready (start-kill).
*) Ready state is exempt from rate limiter.

* fn: experimental prefork pool multiple network support

In order to exceed 1023 container (bridge port) limit, add
multiple networks:

    for i in fn-net1 fn-net2 fn-net3 fn-net4
    do
            docker network create $i
    done

to Docker startup, (eg. dind preentry.sh), then provide this
to prefork pool using:

    export FN_EXPERIMENTAL_PREFORK_NETWORKS="fn-net1 fn-net2 fn-net3 fn-net4"

which should be able to spawn 1023 * 4 containers.

* fn: fixup tests for cfg move

* fn: add ipc and pid namespaces into prefork pooling

* fn: revert ipc and pid namespaces for now

Pid/Ipc opens up the function container to pause container.
2018-04-05 15:07:30 -07:00
..
2018-03-26 11:19:36 -07:00
2018-03-28 10:16:40 -07:00
2018-03-26 11:19:36 -07:00
2018-04-03 15:04:21 +01:00
2018-03-28 10:16:40 -07:00
2018-03-28 10:16:40 -07:00
2017-12-05 08:22:03 -08:00
2018-03-13 18:38:47 -07:00
2018-03-26 11:19:36 -07:00