cassandra - best storage place for a temporary string? -


our application generates short-lived string, dozen chars, supposed consumed our clients later once. after consumption gone. or becomes invalid in 10 minutes without consumption. storage of string needs global requests consuming string stateless.

we have been using global cache before storing string. works function-wise. however, not fit semantically. there have been incidents before when cache server down, our application cannot function correctly. searching alternatives global cache storing short temporary string. needs be

global fast write fast read fast delete supports timeout 

update never concern. nosql sounds better place rdbms not totally sure. recommendations/suggestions/hints appreciated

for cassandra:

high availability - yes

global - yes

fast write - yes

fast read - yes

fast delete - yes, beware of creating tombstones. if looking global queue, anti-pattern in cassandra. if want each client latest string (i.e. overwrite last value on insert), you'd okay.

supports timeout - yes if talking data. cassandra can set ttl (time live) when data inserted. again, beware of creating tombstones.


Comments

Popular posts from this blog

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -