uber-archive / cherami-server

Distributed, scalable, durable, and highly available message queue system. This project is deprecated and not maintained.
https://eng.uber.com/cherami/
MIT License
1.42k stars 102 forks source link

Cache results in ReadDestination and ReadConsumerGroup metadata calls #337

Closed thuningxu closed 6 years ago

thuningxu commented 6 years ago

These are two most common metadata calls that actually hits Cassandra. Since destination and consumer group info does not change, let's cache it at the metadata_cassandra level.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.06%) to 66.859% when pulling 5d16549f805e537f4b55b661018680476f075ec2 on cache into d24994e0a633ee3b6ad725927cfacf64e55f2c83 on master.