googlearchive / cloud-functions-go

Unofficial Native Go Runtime for Google Cloud Functions
Apache License 2.0
423 stars 44 forks source link

How is lifecycle #11

Closed albertog closed 7 years ago

albertog commented 7 years ago

I have read how work this piece of code and it is very powerfu. I would like know how work lifecycle of instance, connection, reuse objects etc.

Thanks in advance

iangudger commented 7 years ago

The lifecycle is basically the same as Node.js on GCF. A single run can serve multiple requests.

albertog commented 7 years ago

ok thanks