We have 75 (and growing) servers that need to share data via Redis. All 75 servers would ideally want to write to two fields in Redis with INCRBYFLOAT
operations. We anticipate eventually having potentially millions of daily write operations and billions of daily reads on these two fields. This data must be persistent.
We're concerned that Redis locking might cause write operations to be repeatedly retried with many simultaneous attempts to increment the same field.
Questions:
- Is multiple, simultaneous
INCRBYFLOAT
on a single field a bad idea under a very heavy load? - Should we have an external process "summarize" separate fields and write the two fields instead? (this introduces another failure point)
- Will reads on those two fields block while writing?