functions-framework-cpp icon indicating copy to clipboard operation
functions-framework-cpp copied to clipboard

Implement example: functions_tips_connection_pooling

Open coryan opened this issue 5 years ago • 1 comments

Line numbers are approximate:

https://github.com/GoogleCloudPlatform/golang-samples/blob/master/functions/http/request.go#L16-L52

https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/functions/tips/main.py#L37-L40

coryan avatar Nov 24 '20 03:11 coryan

Neither libcurl nor Boost.Beast support connection caching.

  • There are some (rather long) blog posts on how to implement them yourself for Boost.Beast
  • libcurl has CURLSH*, but there are serious bugs with it and multi-threaded applications.

I am removing this from the GA milestone.

/cc: @grant @devjgm

coryan avatar Feb 25 '21 02:02 coryan