Multiple insertions of the same key-value pairs are prevented. This is accomplished using python built-in sets and redis sets