Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reports for today will be processed every 150 seconds instead of previous default 10s (real time reports) #6089

Closed
quba opened this issue Aug 29, 2014 · 6 comments
Labels
Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Milestone

Comments

@quba
Copy link
Contributor

quba commented Aug 29, 2014

The goal of this ticket is to make default setting universal for different kinds of users.

Background:
Users would like to have their data available in Piwik as soon as possible. It's no problem when there's really small traffic. With about 500 visits daily it can take a few seconds to complete archiving on poor machines. So in that case it is very likely, that Piwik will run archiving almost during every request. This could affect people's opinion regarding Piwik's performance. Users are usually lazy to read and would like to have things working out of the box.

Suggestion:
Set default TTL to 60 secs to allow to get the data quickly and to avoid archiving during almost every request.

@tsteur
Copy link
Member

tsteur commented Aug 29, 2014

+1 for this. Thought this already a few times. Would probably even set it to about 150 secs. Compared to archiving hourly (or only once daily) this should be still acceptable as a default. People who wan't it differently can still change it.

@mattab mattab added this to the Piwik 2.6.0 milestone Aug 31, 2014
@mattab mattab added the Task label Aug 31, 2014
@mattab
Copy link
Member

mattab commented Aug 31, 2014

It makes sense. 150s sounds OK too!

tsteur added a commit that referenced this issue Sep 1, 2014
… nearly every request. Makes Piwik faster
@tsteur
Copy link
Member

tsteur commented Sep 1, 2014

Changed it to 150. Should we create an update script for this? Or leave it like this only for new installations?

@mattab
Copy link
Member

mattab commented Sep 2, 2014

I like it that it's only for new installs, a gradual release of the feature. It will be an interesting experiment and I'm now convinced that it will really help minimising frustration worldwide ;-)

@mattab mattab closed this as completed Sep 2, 2014
@tsteur
Copy link
Member

tsteur commented Sep 2, 2014

As this will make Piwik much faster for many installations maybe we can mention this in the release blog post and link to FAQ or whatever which explains existing users how to easily make Piwik faster without having to setup a cron. I'm sure for many users archiving even every 10minutes is ok.

@mattab mattab modified the milestones: Piwik 2.6.0, Piwik 2.7.0 Sep 2, 2014
@mattab
Copy link
Member

mattab commented Sep 2, 2014

TODO: update FAQs and user guides where this is mentioned, mention in 2.6.0 changelog.

@mattab mattab reopened this Sep 2, 2014
@mattab mattab changed the title Increase default TTL for new installations Reports for today will be processed every 150 seconds instead of previous default 10s (real time reports) Sep 5, 2014
@mattab mattab closed this as completed Sep 5, 2014
mattab added a commit that referenced this issue Nov 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Projects
None yet
Development

No branches or pull requests

3 participants