{"push_id":888342797,"size":7,"distinct_size":1,"ref":"refs/heads/master","head":"83df337b6c05a7345f289c8ea170cb65481f20ed","before":"b4cc76ab3b2d0ae0736273e0a1ff1250c04363ed","commits":[{"sha":"87e15dd8265d2560c008130212ac6c49013f449b","author":{"email":"3c2e9133e272cb489e2fea0c4328cf56b08e4226@me.com","name":"Thibault Charbonnier"},"message":"hotfix(mashape-analytics) improve ALF buffer under load\n\nAs reported by #750, the buffer is vulnerable to a heavy load because of\nits `sending_queue` of batches pending for sending. It also does not\nhandle the new 207 HTTP status code returned by the collector in case of\ninvalid ALFs.\n\nChanges:\n- handle 207 HTTP status code by discarding the batch. Some ALFs in it\n  will have been saved, and the invalid one(s) should not be retried.\n- implement a maximum size (in MB) for the sending_queue, as suggested\n  by #750. Originally, I was about to implement such a size limitation\n  by \"number of batches pending\", but it would not be intuitive for\n  users to know what fits best their use case, because ALF sizes varies\n  from one API to another, and one endpoint to another. By defining it\n  in MB it is easier for users to chose a value. The default value of\n  10MB has been chosen after performing some benchmarking, and should\n  handle from 300 to 500 req/s depending on the ALFs sizes.\n  When the `sending_queue` has reached its limit, the current ALFs in\n  the buffer will be **discarded**.\n- implement a retry policy. Instead of insisting on retrying to send batches\n  when the collector cannot be reached, a delay is computed an\n  exponentially increases on each failure to connect to the collector.\n  That delay is shared by all workers. This avoids to load the collector\n  when it is having difficulties and saves up bandwidth on Kong's side.\n  As soon as the collector can be reached again, the delay is reset.\n  Currently, the minimum retry delay is 1s and the maximum is 60s. Those\n  values cannot be configured.\n- no more line jumps in logs printing responses from the collector.","distinct":false,"url":"https://api.github.com/repos/Mashape/kong/commits/87e15dd8265d2560c008130212ac6c49013f449b"},{"sha":"bd3035ed47a6e24b38330de53178fc5aea2c00f8","author":{"email":"3c2e9133e272cb489e2fea0c4328cf56b08e4226@me.com","name":"Thibault Charbonnier"},"message":"specs(mashape-analytics) unit test for sending_queue_size","distinct":false,"url":"https://api.github.com/repos/Mashape/kong/commits/bd3035ed47a6e24b38330de53178fc5aea2c00f8"},{"sha":"83e9034f20711134fa056e00a9ba1bafb4ce1155","author":{"email":"3c2e9133e272cb489e2fea0c4328cf56b08e4226@me.com","name":"Thibault Charbonnier"},"message":"refactor(mashape-analytics) some polishing and renamings","distinct":false,"url":"https://api.github.com/repos/Mashape/kong/commits/83e9034f20711134fa056e00a9ba1bafb4ce1155"},{"sha":"5c26056f718317018aa2aea51a84f1f9b69417c1","author":{"email":"3c2e9133e272cb489e2fea0c4328cf56b08e4226@me.com","name":"Thibault Charbonnier"},"message":"chore(mashape-analytics) bump agent to 1.1.0","distinct":false,"url":"https://api.github.com/repos/Mashape/kong/commits/5c26056f718317018aa2aea51a84f1f9b69417c1"},{"sha":"3cafb45e087a23adfff89623f43271ce76f35355","author":{"email":"3c2e9133e272cb489e2fea0c4328cf56b08e4226@me.com","name":"Thibault Charbonnier"},"message":"perf(alf_serializer) cache global functions and version bump","distinct":false,"url":"https://api.github.com/repos/Mashape/kong/commits/3cafb45e087a23adfff89623f43271ce76f35355"},{"sha":"bef58703aaedf24f1e1e7b5a9b0343b0d2dbaf49","author":{"email":"3c2e9133e272cb489e2fea0c4328cf56b08e4226@me.com","name":"Thibault Charbonnier"},"message":"hotfix(alf_serializer) do not include JSON body in params\n\nJSON bodies need to be present in the text field but not included in\n`postData.params`.\n\nThis also avoids reading the request body if not configured so in the\nplugin.\n\nSadly there is no unit test for this part of the ALF serializer.\n\nFix #762","distinct":false,"url":"https://api.github.com/repos/Mashape/kong/commits/bef58703aaedf24f1e1e7b5a9b0343b0d2dbaf49"},{"sha":"83df337b6c05a7345f289c8ea170cb65481f20ed","author":{"email":"3c2e9133e272cb489e2fea0c4328cf56b08e4226@me.com","name":"Thibault Charbonnier"},"message":"Merge branch 'hotfix/alf-serializer-json-body'","distinct":true,"url":"https://api.github.com/repos/Mashape/kong/commits/83df337b6c05a7345f289c8ea170cb65481f20ed"}]}