-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support GZIP encoded POSTs/GETs via CURL #20
Comments
Thanks for opening the ticket. The ways for achieving higher throughput will be:
Both can by done by Recombee support, so please contact [email protected]. |
please see https://blackfire.io/profiles/6d579fdc-bb0a-4c92-aebe-bde02484ee61/graph for a in-depth look into our cronjob. the curl requests take the most of the time. not sure whether the time is spent in-transit or at your computational end. I will contact the suppport for now and see what I can achieve. thx for the fast feedback |
it seems we are again running into this problem.
was GZIP support activated on your end since then? |
Ping @OndraFiedler. Is there something new? |
we use the API and send between 15k and 40k requests per hour.. things get pretty slow..
we aleady batch the requests to reduce the overhead.
after a bit of investigation it looks like requests/responses are not compressed/gzip-encoded. we only see
Accept-Encoding: deflate, gzip
but noContent-Encoding: gzip
also when posting items to the webservice it seems things went across the wire in plain text.
see the following output, after hacking
curl_setopt($this->handle, CURLOPT_VERBOSE, 1);
into the cURL.php of the http-client:The text was updated successfully, but these errors were encountered: