jxmot / markdown-hitcounter

A simple, yet silent hit counter intended for Markdown files. Its intended use is in README.md files.
MIT License
0 stars 0 forks source link

Invstigate: the pros / cons of moving the hit counts into a database #3

Closed jxmot closed 3 years ago

jxmot commented 3 years ago

Currently, each individual use of the hit counter creates a simple text file that contains a number.

PROs:

CONs:


Database Candidates:

The choice for a database will follow these criteria:

So far there are two possible candidates:

MySQL

MongoDB Community

Not readily available on most hosting servers.

SleekDB

Found at https://github.com/rakibtg/SleekDB. Seems active.

Looks like a decent flat DB solution for PHP. But may be over complicated for use here.


jxmot commented 3 years ago

Closing this issue for now.

Implemented simple JSON formatted count log files.