Tracking API speed improvement: cache parsed yaml in tracker cache (DevicesDetection) #4683

Closed
mattab opened this Issue Feb 15, 2014 · 2 comments

1 participant

@mattab
Piwik Open Source Analytics member

Parsing YML files from DevicesDetection plugin takes up to 100ms per Tracking API request. This was rather unacceptable performance... We want to move DevicesDetection to first class citizen in #3962

Stefan implemented a clever fix, to cache the parsed YML arrays in the tracker cache.

This was done in:

a3c01d6

662178b

@mattab
Piwik Open Source Analytics member

Now it takes 1 ms or less to load in memory the cached files. good caching FTW

@mattab
Piwik Open Source Analytics member

In 96cb532: Refs #4683 Refactor this little bit

@mattab mattab added this to the 2.1 - Piwik 2.1 milestone Jul 8, 2014
@sabl0r sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
@mattab mattab Refs #4683 Refactor this little bit 96cb532
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment