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

usage stats? #8

Open
cryptix opened this issue Nov 18, 2016 · 5 comments
Open

usage stats? #8

cryptix opened this issue Nov 18, 2016 · 5 comments

Comments

@cryptix
Copy link

cryptix commented Nov 18, 2016

Hi!

it's hard for me to express how much I love to see this project. I have a couple of questions and/or requests though.

in rough terms: please include a stats view in the UI. According to chromes task manager, wp2p uses 400megs or ram and at leat one up to two cpu cores.

my problem with this is: i can't tell if webrtc is acting up and spinning for no reason or of i'm actually helping to spread content...

also: i'd like to see how much disk space is used and maybe drop some partial content.. I might not want to cache everything.

another thing about disk usage: I might want to export my cached content and transfer it to a more resourcefull node.

linux 4.4.31 / chromium 54.0.2840.90 (64-bit)
i5-2520M / 8gb ram

@cryptix
Copy link
Author

cryptix commented Nov 18, 2016

at the very least, i'd expect the usage to go to zero when clicking the icon to switch it off.

@guerrerocarlos
Copy link
Owner

guerrerocarlos commented Nov 18, 2016

Hello @cryptix

The icon switch was mostly intended for you to disable it and get articles directly from Wikipedia and not from peers, but still keep the cached articles you got from peers. So if turned ON again, all articles obtained previously from peers get's restored for cached use.

I thought was the expected, since was my 'user case', but I guess you are right, most users will expect that turning it OFF will delete everything and stop everything related to it. My apologizes, I will add it to the pending things to add/improve.

@guerrerocarlos
Copy link
Owner

Also the stats view is very important, you are right, thinking how to show it... since wp2p doesn't have much UI right now.

@cryptix
Copy link
Author

cryptix commented Nov 18, 2016

Hey @guerrerocarlos thanks again for doing this!

should delete everything

i'm not so sure about that, at least maybe ask if the user really wants to. Would be quite the churn to resync what you already had.

re stats UI: maybe take some inspiration from syncthing? it's a html based and has a nice overview imho:

i'd maybe take the right side mostly like it is: aggregated and current network traffic, number of peers, ...

the folder view on the left isn't really applicable but could host a view of which article was send out how many times (or transferred in total size) would be interesting maybe? would also give a place for a delete button.

just a thought i'd also be fine with a tabular view which resembles most torrent clients for the peer view.

just to make one point clear: i'm not interessted in a transfer log, i mostly don't care who get's what from me if I have an option to drop specific content and can say "sorry but i need my connection right now for myself, it's really shitty anyways"

@grondilu
Copy link

grondilu commented Nov 24, 2016

I was also expecting that turning the extension OFF would stop all peer traffic and memory usage, but then, reading gerrerocarlos's explanation, I think it's nice to be able to have this option he described, since browsing Wikipedia under WikipediaP2P is a bit confusing at times, especially when we've just made an edit.

Still, WikipediaP2P takes quite a bit of memory and CPU, and for me it is a problem while playing chess online for instance : at that time I need the browser to be as snappy as possible.

I suggest making two options : one to turn the extension off, and one to shut it down. The former being the current behavior, and the latter meaning that all peer traffic and CPU usage is shut down.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants