When I make a REST call to my lambda endpoint, what happens? Does the call pass through ELB and then terminate right in my instance? Or is there another instance in the middle that terminates the http request and then converts the REST call to stdin - like Function Watchdog does with OpenFAAS?
Or is something like Function Watchdog running inside the wrapper AWS puts around my lambda code?
This is in reference to direct lambda invokes, not via API Gateway.
I guess I’m confused about how the TCP session from my client to AWS terminates when I’m making calls to different endpoints. Is there a session to each endpoint or is it shared somehow?
I’m wondering if lambda functions could be Docker images. The concept of Docker images as lambda functions is kind of neat since you can put bare binaries into a Docker image which are quite small. For example here is a Docker image that is 83KB in size.
https://spotinst.com/ is very close to this. They are pooling Docker images, and they are offering FASS. But they aren’t combining the two.