Commit Graph

344 Commits

Author SHA1 Message Date
Ubuntu
40f0d014aa functions: 0.1.35 release [skip ci] 2016-11-29 11:35:12 +00:00
Pedro Nasser
2c56e7975d Improve listeners and handlers (#350)
* improve listeners and handlers

* add to route handlers

* separate create/delete/update events

* removed useless interface
2016-11-29 00:00:12 +01:00
Ubuntu
a088690293 functions: 0.1.34 release [skip ci] 2016-11-28 22:58:06 +00:00
C Cirello
a7a466f968 functions: fix route timeout (#349)
* functions: add route-level timeout configuration options

* functions: harmonize defaults
2016-11-28 20:53:11 -02:00
Ubuntu
73075cc605 functions: 0.1.33 release [skip ci] 2016-11-28 21:50:27 +00:00
Ubuntu
cee09cbb83 functions: 0.1.32 release [skip ci] 2016-11-28 18:21:32 +00:00
Ubuntu
02c7a79cbd functions: 0.1.31 release [skip ci] 2016-11-28 17:50:25 +00:00
C Cirello
ac0044f7d9 functions: hot containers (#332)
* functions: modify datastore to accomodate hot containers support

* functions: protocol between functions and hot containers

* functions: add hot containers clockwork

* fn: add hot containers support
2016-11-28 15:45:35 -02:00
Ubuntu
d0429c3dfd functions: 0.1.30 release [skip ci] 2016-11-28 10:56:49 +00:00
Pedro Nasser
867eb4b176 Changes on function/metric loggers (#343)
* initial fix logger

* dix DefaultFuncLogger

* fix runner and tests

* reverting: sending async task stdout to func logger
2016-11-27 16:36:40 -02:00
Ubuntu
b62a2304b0 functions: 0.1.29 release [skip ci] 2016-11-25 17:05:19 +00:00
Ubuntu
90bc744e57 functions: 0.1.28 release [skip ci] 2016-11-24 17:33:38 +00:00
Ubuntu
af149045f1 functions: 0.1.27 release [skip ci] 2016-11-24 05:51:06 +00:00
Ubuntu
c307c9375b functions: 0.1.26 release [skip ci] 2016-11-23 22:21:27 +00:00
Ubuntu
3788c968eb functions: 0.1.25 release [skip ci] 2016-11-23 20:34:06 +00:00
C Cirello
aa70f2e6ef api: improve app create error message (#331)
api: improve app create error message
2016-11-23 18:18:53 -02:00
Ubuntu
f1fe2660e3 functions: 0.1.24 release [skip ci] 2016-11-23 20:05:00 +00:00
Ubuntu
539d5a09c6 functions: 0.1.23 release [skip ci] 2016-11-22 17:25:32 +00:00
Ubuntu
cc1f2974ab functions: 0.1.22 release [skip ci] 2016-11-22 16:42:18 +00:00
Ubuntu
0d38b59ee9 functions: 0.1.21 release [skip ci] 2016-11-22 05:40:16 +00:00
Pedro Nasser
c14bc323f9 added ctx to datastore and improve mock (#329)
Added ctx to datastore and improved mock
2016-11-22 03:33:44 -02:00
Ubuntu
5e61d2b055 functions: 0.1.20 release [skip ci] 2016-11-22 00:42:56 +00:00
Ubuntu
b3fe6e9b18 functions: 0.1.19 release [skip ci] 2016-11-22 00:14:08 +00:00
C Cirello
da96ef471a api: add support for deleting apps (#327)
* api: add support for deleting apps

Fixes #274

* functions: improve error name and description

* functions: fix test regression
2016-11-22 01:07:30 +01:00
Ubuntu
be6685b361 functions: 0.1.18 release [skip ci] 2016-11-21 23:33:18 +00:00
C Cirello
fe845e1886 fn: improve UX (#325)
* fn: make UX more consistent with regards to app name position

* fn: improve detection of missing routes

* fn: fix update operations

- No longer delete-than-add for configuration updates
- Path cleaning before most of routes operations
2016-11-22 00:27:48 +01:00
Ubuntu
e2e82086c5 functions: 0.1.17 release [skip ci] 2016-11-21 22:17:00 +00:00
Ubuntu
8935c26951 functions: 0.1.16 release [skip ci] 2016-11-21 18:53:44 +00:00
C Cirello
f6d19c3cc9 functions: performance improvements - LRU & singleflight DB calls (#322)
* functions: add cache and singleflight to ease database load

* runner: upgrade

* deps: upgrade glide files

* license: add third party notifications

* functions: fix handling of implicitly created apps

* functions: code deduplication

* functions: fix missing variable
2016-11-21 19:48:11 +01:00
Ubuntu
a4d360fb2e functions: 0.1.15 release [skip ci] 2016-11-21 16:48:59 +00:00
Pedro Nasser
0343c4990c server.New signature changes and test fixes. (#324)
* ctx middleware should always be the first added to router

* plugable enqueue func, changed server.New signature

* fix tests

* remove ctx/ctx.Done from server
2016-11-21 17:11:01 +01:00
Ubuntu
bc0f0c8b42 functions: 0.1.14 release [skip ci] 2016-11-20 15:11:07 +00:00
Ubuntu
9d93bea28c functions: 0.1.13 release [skip ci] 2016-11-18 17:28:55 +00:00
C Cirello
9d06b6e687 functions: common concurrency stream for sync and async (#314)
* functions: add bounded concurrency

* functions: plug runners to sync and async interfaces

* functions: update documentation about the new env var

* functions: fix test flakiness

* functions: the runner is self-regulated, no need to set a number of runners

* functions: push the execution to the background on incoming requests

* functions: ensure async tasks are always on

* functions: add prioritization to tasks consumption

Ensure that Sync tasks are consumed before Async tasks. Also, fixes
termination races problems for free.

* functions: remove stale comments

* functions: improve mem availability calculation

* functions: parallel run for async tasks

* functions: check for memory availability before pulling async task

* functions: comment about rnr.hasAvailableMemory and sync.Cond

* functions: implement memory check for async runners using Cond vars

* functions: code grooming

- remove unnecessary goroutines
- fix stale docs
- reorganize import group

* Revert "functions: implement memory check for async runners using Cond vars"

This reverts commit 922e64032201a177c03ce6a46240925e3d35430d.

* Revert "functions: comment about rnr.hasAvailableMemory and sync.Cond"

This reverts commit 49ad7d52d341f12da9603b1a1df9d145871f0e0a.

* functions: set a minimum memory availability for sync

* functions: simplify the implementation by removing the priority queue

* functions: code grooming

- code deduplication
- review waitgroups Waits
2016-11-18 18:23:26 +01:00
Ubuntu
c1f361dd0c functions: 0.1.12 release [skip ci] 2016-11-18 17:15:59 +00:00
Ubuntu
39123899f0 functions: 0.1.11 release [skip ci] 2016-11-16 21:51:18 +00:00
Pedro Nasser
7593480d4b fix route update (#295)
Fix route update, ensure image exists
2016-11-16 19:46:56 -02:00
Ubuntu
e180bdc2b9 functions: 0.1.10 release [skip ci] 2016-11-16 18:08:41 +00:00
Ubuntu
89cacac533 functions: 0.1.9 release [skip ci] 2016-11-16 16:29:09 +00:00
Ubuntu
dcfd95196a functions: 0.1.8 release [skip ci] 2016-11-16 16:11:48 +00:00
Ubuntu
420fc6c72a functions: 0.1.7 release [skip ci] 2016-11-15 21:01:09 +00:00
Ubuntu
d65a84dac2 functions: 0.1.6 release [skip ci] 2016-11-15 18:24:44 +00:00
C Cirello
02d3b18497 all: drop CONFIG_ prefix for configuration (#297)
Fixes #251
2016-11-15 19:19:21 +01:00
Ubuntu
6e58321928 functions: 0.1.5 release [skip ci] 2016-11-15 18:00:48 +00:00
Ubuntu
3f6b095586 functions: 0.1.4 release [skip ci] 2016-11-15 16:25:32 +00:00
Ubuntu
f7fce5ff85 functions: 0.1.3 release [skip ci] 2016-11-15 16:19:01 +00:00
Ubuntu
f1c890d8d1 functions: 0.1.2 release [skip ci] 2016-11-15 15:31:05 +00:00
Ubuntu
2ca0c08a6e functions: 0.1.1 release [skip ci] 2016-11-15 15:24:25 +00:00
Travis Reeder
d4cdff9174 Bumped version numbers. (#291) 2016-11-15 16:14:02 +01:00
Ubuntu
8c320a380a functions: 0.0.81 release [skip ci] 2016-11-15 15:11:39 +00:00