mirror of
https://github.com/Seldaek/monolog.git
synced 2026-04-26 08:05:53 +03:00
[GH-ISSUE #1313] Share CURL connection in LogglyHandler #544
Labels
No labels
Bug
Documentation
Feature
Needs Work
Support
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/monolog#544
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @b3nl on GitHub (Apr 9, 2019).
Original GitHub issue: https://github.com/Seldaek/monolog/issues/1313
The LogglyHandler seems to be very slow, one reason could be, that every log entry opens a new curl connection. An easy optimization would be to share the curl connection for every requests to counter i.e. a tcp slowstart (https://www.maxcdn.com/one/visual-glossary/tcp-slow-start/?fbclid=IwAR2aDgazXaH1RQPwlPuA9nQKg4ZVysGIBpBomphI7_s9fNvTba-XHbCjlKE), instead of creating a new connection for every request.
(An example: http://technosophos.com/2012/06/18/connection-sharing-curl-php-how-re-use-http-connections-knock-70-rest-network-time.html)