Cassandra improvements.

 - Set update TTL.
 - Only 1 reducer writes data to the database.