Provide a brief summary of the planned work
Currently (Apr 2024) there's no caching anywhere in the service. We should consider caching for hot code paths, such as fetching projects.
Detailed overview
Projects are being fetched very frequently, almost on every request. The project structure doesn't change that much, so it may make sense to introduce some caching for projects at least. Even a built-in, service-level cache would significantly improve the amount of fetch request to the database.
Hint/location:
com.appifyhub.monolith.features.creator.repository.CreatorRepository#fetchProjectById
List the acceptance criteria
- Projects are cached for faster access
- Tests are updated to reflect this change, and passing
Include any additional notes (optional)
No response
Provide a brief summary of the planned work
Currently (
Apr 2024) there's no caching anywhere in the service. We should consider caching for hot code paths, such as fetching projects.Detailed overview
Projects are being fetched very frequently, almost on every request. The project structure doesn't change that much, so it may make sense to introduce some caching for projects at least. Even a built-in, service-level cache would significantly improve the amount of fetch request to the database.
Hint/location:
List the acceptance criteria
Include any additional notes (optional)
No response