News for hackers. Stuff that matters.
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.