Regarding the kubernetes environment of deckard that connects to mongo and redis as storage and cache respectively, I was thinking that it might be useful to make the ADD operation more like an HTTP PUT im more ways, in this case I mean it to be able to change a message's score with an ADD operation, something that is currently not possible as I detail below.
In the mongo_storage.go file, we have the following code:

which result in the end in this following operation on mongo

And then we would probably need to change the redis (cache) script too

According to the docs, Redis also would support this:

Regarding the kubernetes environment of deckard that connects to mongo and redis as storage and cache respectively, I was thinking that it might be useful to make the ADD operation more like an HTTP PUT im more ways, in this case I mean it to be able to change a message's score with an ADD operation, something that is currently not possible as I detail below.
In the mongo_storage.go file, we have the following code:
which result in the end in this following operation on mongo

And then we would probably need to change the redis (cache) script too

According to the docs, Redis also would support this:
