News for hackers. Stuff that matters.
Re:Self-host analytics for better privacy and accuracy by shermozle on Monday May 09, 2016 @05:16PM (#11663281)
Piwik has the problem that it writes directly to MySQL as the activity happens. If your database is down, you lose data. If you have a spike of traffic above what your DB can handle in writes, you lose data.

Snowplow doesn't have this problem.

Re:Self-host analytics for better privacy and accuracy by moehm on Monday May 09, 2016 @05:21PM (#11663333)
You can query your writes in Redis, so it won't be lost if your database goes down.

https://piwik.org/faq/how-to/faq_19738/

Re:Self-host analytics for better privacy and accuracy by JohnBooty on Monday May 09, 2016 @10:19PM (#11664775)
Note to anybody reading this but not following the link: parent poster means "queue your writes in Redis" and not "query."
Re:Self-host analytics for better privacy and accuracy by moehm on Tuesday May 10, 2016 @05:34AM (#11666030)
I'm sorry, I am not a native speaker and it was already late.
Re:Self-host analytics for better privacy and accuracy by shermozle on Monday May 09, 2016 @06:24PM (#11663705)
Cos your Redis will never go down? Or need to be upgraded? Patched?
Re:Self-host analytics for better privacy and accuracy by educar on Monday May 09, 2016 @06:34PM (#11663765)
How does snowplow solve this problem? By writing to disk?
Re:Self-host analytics for better privacy and accuracy by alexatkeplar on Monday May 09, 2016 @07:31PM (#11664120)
Snowplow is implemented as a unidirectional data pipeline:

    tracking -> collection -> enrichment -> storage
Between each step there is typically some kind of persistent queue (mostly S3/Kinesis), and data won't be lost if a downstream component is not operational. Examples:

* If your event collector is unavailable, raw events will be cached in the tracker in localStorage, SQLite or similar

* If your Redshift database is read-only for maintenance, enriched events will be held back until Redshift is writeable again

Re:Self-host analytics for better privacy and accuracy by shermozle on Monday May 09, 2016 @08:27PM (#11664376)
There is of course the opportunity for a collector to be down, but the aim is to keep those components super simple and rely on really durable storage (Kinesis, S3) managed by someone else.
Re:Self-host analytics for better privacy and accuracy by dsp1234 on Monday May 09, 2016 @05:58PM (#11663544)
They also have a problem that their password hashing method is still md5[0].

[0] - https://developer.piwik.org/api-reference/Piwik/Auth

Re:Self-host analytics for better privacy and accuracy by smt88 on Tuesday May 10, 2016 @12:01AM (#11665073)
Piwik started in 2007. It was inexcusable to use md5 then. The problem is that it was ever md5, not that it is still md5.

That really doesn't inspire confidence that they know what they're doing. md5 is a canary in the coal mine for me, and I definitely won't use Piwik now.

Re:Self-host analytics for better privacy and accuracy by lucb1e on Tuesday May 10, 2016 @02:42AM (#11665535)
To be fair, they aren't an encryption service or something. They INSERT INTO visitor_count. So far as "inspiring confidence" needs to go for such a thing, I wouldn't write them off just yet.
Re:Self-host analytics for better privacy and accuracy by mattab on Tuesday May 10, 2016 @07:27AM (#11666399)
It looks like it's scheduled to be fixed in Piwik 3.0.0: https://github.com/piwik/piwik/issues/5728
Re:Self-host analytics for better privacy and accuracy by karussell on Tuesday May 10, 2016 @07:44AM (#11666503)
I love piwik but this is no excuse, sorry :) Privacy also means data protection!