Optimize cassandra usage to speed up workflows