Files
fn-serverless/docs
Tolga Ceylan c848fc6181 fn: hot container timer improvements (#751)
* fn: hot container timer improvements

With this change, now we are allocating the timers
when the container starts and managing them via
stop/clear as needed, which should not only be more
efficient, but also easier to follow.

For example, previously, if eject time out was
set to 10 secs, this could have delayed idle timeout
up to 10 secs as well. It is also not necessary to do
any math for elapsed time.

Now consumers avoid any requeuing when startDequeuer() is cancelled.
This was triggering additional dequeue/requeue causing
containers to wake up spuriously. Also in startDequeuer(),
we no longer remove the item from the actual queue and
leave this to acquire/eject, which side steps issues related
with item landing in the channel, not consumed, etc.
2018-02-12 14:12:03 -08:00
..
2018-01-12 14:49:03 -08:00
2018-01-12 11:38:28 -08:00

Fn Documentation

For Developers

If you are a developer using Fn through the API, this section is for you.

Getting Started

Examples and Tutorials

Advanced

For Operators

If you are operating Fn, this section is for you.

Getting Started

Advanced

For Contributors

If you are working on the Fn Project, want to work on it or are creating extensions, this section is for you.