elmo-net / router

Kademlia implementation for games
MIT License
0 stars 1 forks source link

Version tracking #40

Open HaMster21 opened 9 years ago

HaMster21 commented 9 years ago

Google Flatbuffers employs a version identifier that is automatically tracked when the application is distributed in the Play Store. This collects usage data that should help to improve the library.

When games are using the router, it would be of help to dump usage data if the user whishes to. There should be also an upload mechanism available on a website that crunches the data in order to extract useful metrics from it.

Tracking information should be anonymus. Since the router is an open source projects, users can easily remove the tracking code and build a version without it. The released binaries should include the tracking though.

Implementation hint

The functionality of dumping information may be encapsulated in a function that is only defined if the settings are set to do so. This would be easily expressed with the dts::enable_if template