When working with data storage and manipulation, it is necessary to answer three questions: where is the data going to be stored, how is the data stored and why those decisions are proper for the data manipulation.
To decide where the data is going to be stored, it is necessary to think what is the purpose of the database. As the main application for this database is to analyze campaign visits through its records in a fast way, it is reasonable to choose a database that can compute the queries fast. For that, a key-value storage would be very efficient as, first, the inputs are already in some sort of tuple, and second because with the right schema, all the data needed can be accessed with only one key, as it will be shown with the proposal schema. Redis is the choice in this case because it is very simple to setup and is the leading of the Key-Value storages in the Market.
The first module in the schema is the Tailer, this module will simply decide, d