I recently checked out Memcached for using it as an in-memory transient database.
However, I was wondering why can't we use something like a ConcurrentMap
(if I were using Java, for example)or something on the lines of a BST/Java HashSet
/C++ std::set
. Would there particularly be any disadvantages if I used standard datastructures from a given language's standard library over something like Memcached/Redis?