UStAEnts / uems-hub

A hub project containing all microservices and frontend files for Union Event Management System (uems)
2 stars 0 forks source link

API Caching #42

Open Lan2u opened 4 years ago

Lan2u commented 4 years ago

Is your feature request related to a problem? Please describe. We don't do any caching of responses, this means every single request generates a call to at least 1 backend microservice and database.

Describe the solution you'd like We should look into setting up a system for caching at the gateway with some benchmarking/testing done of various timeout / TTL values or mechanisms. This should hopefully reduce the number of messages that need to be sent internally and improve API response times.

This isn't a priority as the number of requests is expected to be extremely low but once the front-end starts to gain in complexity I can easily see an exponential increase in requests happening.