snowplow / snowplow-php-tracker

Snowplow event tracker for PHP. Add analytics into your PHP apps and scripts
http://snowplowanalytics.com
34 stars 36 forks source link

Potential high load crash under Windows with FileEmitter #58

Closed esquire900 closed 8 years ago

esquire900 commented 8 years ago

Windows might crash under high load when using the FileEmitter. Using a simple implementation suggested by the documentation my windows machine slowly degrades when running a high load (in the range of dozens of logs a second) - up to the point where it completely hangs.

As I understood it from a senior dev, php in windows cannot spawn truly seperate processes, and slowly eats more and more resourceses when more processes are spawned.

Just a warning for those implementing this on windows - I managed to crash our servers with it

alexanderdean commented 8 years ago

Thanks for raising! @ihortom can you add a warning to the PHP Tracker documentation about this?

ihortom commented 8 years ago

@alexanderdean - done.

alexanderdean commented 8 years ago

Thanks, closing this ticket...