suggestions

Forum > Suggestions > Clan EPH
Reply To Thread (login)
Shoegazer [87]
Moderator
2012-05-24 12:38:00 🔗
[12 years, 217 days ago]

I think it would be nice to be able to see a clan's overall EPH on the clan rankings page.


 
Leveled Again [39]
2012-05-24 12:59:05 🔗
[12 years, 217 days ago]

Would be another useless neat addition. :)


 
Ender [1]
Administrator
2012-05-25 00:42:01 🔗
[12 years, 217 days ago]

This would be difficult/impossible without significant changes because EPH values are calculated on the fly and this is a relatively expensive operation. Showing a clan's EPH requires calculating the EPH for each bot, so showing every clan's EPH would require calculating the EPH for every bot in a clan.


 
Draoi [53]
2012-05-25 12:09:56 🔗
[12 years, 216 days ago]

What if you did something that just summed all the current values that get displayed on the clan page instead of recalculating all the values twice?


 
Nosferatu [50]
2012-05-25 14:51:18 🔗
[12 years, 216 days ago]

Or going with what you stated earlier in the month where you only calculate and show the EPH of each bot on the hour rather than having it be a constantly moving number.


 
Alan [19]
2012-05-25 16:28:55 🔗
[12 years, 216 days ago]

Then you have to store it for each bot.

He could store it in the database for each hour. Just update each bot. That's 20,000 updates per hour. Not a lot, but still a few to many.


 
Ender [1]
Administrator
2012-05-26 19:37:53 🔗
[12 years, 215 days ago]

The ones on the clan page are calculated on the fly. In fact, EPH is not cached anywhere. Implementing this idea would require caching, but I'm hesitant to do it because of the extra complexity of maintaining the cache (or in the case of only updating the cache every hour, the potentially confusing user experience of seeing EPH values that are sometimes current and sometimes stale).


 
Forum > Suggestions > Clan EPH
Reply To Thread (login)