Skip to content

Commit

Permalink
doc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonmoo committed Aug 9, 2015
1 parent ad51af7 commit d0649c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ lambda_proc

This is experimental and passes tests but should be considered experimental.

Leverages container reuse in aws api gateway with aws lambda functions by starting go proc as companion process, communicating via stdin/stdout with parent nodejs process. Run takes a handler function and runs it once per json payload received from the parent nodejs process. Lambda containers may be frozen and thawed between invocations. This allows a go proc to live for many requests, allowing memoization, startup cost elimination, and performance benefits. Observed lambda run times between .5ms-15ms after first invocation.
Leverages container reuse in aws lambda by starting go proc as companion process, communicating via stdin/stdout with parent nodejs process. Run takes a handler function and runs it once per json payload received from the parent nodejs process. Lambda containers may be frozen and thawed between invocations. This allows a go proc to live for many requests, allowing memoization, startup cost elimination, and performance benefits. Observed lambda run times between .5ms-15ms after first invocation.

index.js has much more robust error handling than typical examples and will restart the go companion process when it dies, syscall writes to it fail, or other error scenarios.

Expand Down

0 comments on commit d0649c1

Please sign in to comment.