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

Visitor log: display total number of visits in pagination at bottom of page #9110

Open
hpvd opened this issue Oct 28, 2015 · 7 comments
Open
Labels
c: Usability For issues that let users achieve a defined goal more effectively or efficiently.

Comments

@hpvd
Copy link

hpvd commented Oct 28, 2015

use "result number counting" from #9109, to give on bottom of a page more orientation and a motivation for using next button.
like on other places in real world e.g. within presentations on show "page 4 / 46"

please see attachment
2015-10-28_07h27_39

@mattab
Copy link
Member

mattab commented Nov 26, 2015

Thanks for suggestion! Unfortunately we cannot know the total number of visits in the visitor log and this is why we didn't display it there. we can't fetch this number because of performance reasons.

@mattab mattab closed this as completed Nov 26, 2015
@mattab mattab added answered For when a question was asked and we referred to forum or answered it. wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it. and removed answered For when a question was asked and we referred to forum or answered it. labels Nov 26, 2015
@hpvd
Copy link
Author

hpvd commented Nov 26, 2015

thanks for getting back!

I think "power-demanding" should be not a reason to not think about things any further.
(not only relevant for this relatively small issue)

Some reasons why "performance reasons" it's not always a "killer" and how one can deal with it:

  1. piwik is very often used on pages with very low traffic
  2. one did not need all information on load of a page so one can display it when it's ready
  3. performance of server hardware is growing very fast (Multicore CPU, tons of RAM, SSD, PCIe-NVME SSDs...)
  4. sometimes one do not need the very exact number:
  • so one can "Stop counting" after a special amount of time and show something like "1000+"
  • one can reuse numbers
  • one can preindex values (on times when there is low server load)
  1. data could often be (re-)used on several places
  2. one can implement a switch in settings to activate all things which are great but power consuming
  3. one can cut the worst case: do not show if segment is "all visits"
  4. ...

I'm no developer, but probably there are several more ideas to work with power demanding tasks in general...

btw: is there already a tiny "best practise guide" for developer how to deal with performance demanding tasks within piwik/plugins?

@hpvd
Copy link
Author

hpvd commented Nov 26, 2015

of course not a solution but a demonstration, that others are doing the counting magic with perfect performance too.
Yes of course it looks unfair because google has other "resources", but they also have other amounts of data to deal with ;-)
2015-11-26_06h49_38

@hpvd
Copy link
Author

hpvd commented Nov 26, 2015

I would vote for reopen this issue and give it a new label "performance demanding"
=> with this the idea is not gone, and one know one has to take activities to reduce the impact on performance.

@mattab: What do you think?

@hpvd
Copy link
Author

hpvd commented Nov 26, 2015

just noticed, of course this issue is based on the same data needed for #9109

@tsteur
Copy link
Member

tsteur commented Nov 26, 2015

Would be nice indeed to have this for a good usability :)

@mattab mattab changed the title on bottom of page: more orientation + motivation for next button Visitor log: display total number of visits in pagination at bottom of page Nov 27, 2015
@mattab mattab added c: Usability For issues that let users achieve a defined goal more effectively or efficiently. and removed wontfix If you can reproduce this issue, please reopen the issue or create a new one describing it. labels Nov 27, 2015
@mattab mattab reopened this Nov 27, 2015
@gaumondp
Copy link

  1. piwik is very often used on pages with very low traffic

Define "very often" and where did you get stats about this? ;)

Seriously, I got 1.7 million pageviews this November so far. We need real-life testing and safeguards so features don't kill the server. OTOH I'm always craving for new features...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Usability For issues that let users achieve a defined goal more effectively or efficiently.
Projects
None yet
Development

No branches or pull requests

4 participants