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

Fix online followers counter #11

Open
miguelfreitas opened this issue Dec 30, 2013 · 1 comment
Open

Fix online followers counter #11

miguelfreitas opened this issue Dec 30, 2013 · 1 comment
Labels

Comments

@miguelfreitas
Copy link
Owner

Current online followers counter is completely wrong.

I've tried using m_policy.num_peers() [aka torrent_status::list_peers] but it doesn't work. This number may get really big with all peers that have been known at some point so it is completely unreliable for this application.

A better estimation is needed.

note: torrent::dht_announce() is where the value is passed to m_ses.m_dht->announce.

@homlett
Copy link

homlett commented Mar 19, 2015

To fix that, I propose to change the paradigm... I explain myself : I'm not sure the followers counter is the most pertinent value. On twitter, we know that someone can have a lot of followers but not a lot of readers or active followers. It's not a very good indicator.

So maybe we can try to do better and to implement a kind of influence indicator (like Klout). It could be a skilful calculation based on peers number, peers activity, twists number, retwists number, last twist date, etc. This could be updated every 24 hours for example.

I don't know twister very well, so there are probably a better way to do that, but it's just a proposition to think together.

What do you think?

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

No branches or pull requests

2 participants