Commit Graph

17 Commits

Author SHA1 Message Date
Reed Allman
6306b0ad7b chop up da files 2017-05-22 13:00:27 -07:00
Reed Allman
260a764458 make dash not give seizures 2017-05-22 13:00:27 -07:00
Reed Allman
5e69174523 dash throughput works yay 2017-05-22 13:00:27 -07:00
Reed Allman
277b3a2ef9 works but only one series wtf 2017-05-22 13:00:27 -07:00
Reed Allman
d8ada59911 in a reasonable unworking state 2017-05-22 13:00:27 -07:00
Reed Allman
b25e1e20ae meh add some stat shit not even close yet 2017-05-22 13:00:27 -07:00
Reed Allman
e5f10f5c3c change load to function + node tuple 2017-05-22 13:00:27 -07:00
Reed Allman
0e0486e6b3 seed rng 2017-05-22 13:00:27 -07:00
Reed Allman
a4e20b04c3 add preliminary load shedding algo / plumbing 2017-05-22 13:00:27 -07:00
Reed Allman
a725212327 add unworking speculative load shedding 2017-05-22 13:00:27 -07:00
Reed Allman
d52fa3704f fix buf pool, transport todos 2017-05-22 13:00:27 -07:00
Reed Allman
730e8f9c68 lb round 2
this rewrites the load balancer which was pointed out to be problematic here:
https://github.com/iron-io/functions/issues/570 with a test suite located at
test/fnlb-test-harness -- this test is now 'passing' in the sense that now
when running multiple functions nodes behind 1 load balancer every call goes
to the same functions node. yay. used a different consistent hashing algorithm
and also threw out all the fallback code (all the code, really).

this is basically an mvp and there is some work that needs to be done for
running multiple load balancers, allowing functions to run on more nodes as
load increases and some basic features like http/2 -- also needs some love to
be really robust; most of this is noted in TODOs in the file.

this does basic health checking configurable in the same way as aws elb. I
think we could probably do gossip but this works as a first cut. after N
health checks fail then requests start to go to a different node, meanwhile
all requests to that node will fail (need to fix). this continues to use
consistent hashing, which is great in that we don't need to store anything,
and we may be able to stick with the strategy in the future with some care.
2017-05-22 13:00:27 -07:00
Travis Reeder
9cc12b4b12 Remove iron... 2017-05-18 18:59:34 +00:00
James
e4bb04887e Rewrite imports to use forks files on gitlab not use githubs. 2017-05-16 11:06:32 -07:00
Travis Reeder
4b9bba352d Rename location. 2017-05-15 11:00:15 -07:00
Travis Reeder
615ae5c36f Mass s&r: iron-io -> kumokit 2017-04-19 09:49:12 -06:00
Seif Lotfy سيف لطفي
ee398f0d7d Add initial load balancer (#487)
* lb: library for creation of load balancer

* lb: library for creation of load balancer

* Add balance subcommand to fn

* make fnlb its own command

* Update Changelogg

* Add Makefile for fnlb
2017-01-19 03:11:39 +01:00