Cache service #34

Open
opened 2026-02-14 14:51:44 +00:00 by aniram · 1 comment
Owner

Food for thought:
i) Use in-memory cache(redis, memcached) for user's favorites.
ii) Use a caching layer -> on a dedicated service retrieve projects, authors and related data from the API as CSV files*, transform and store them as my own entity with the properties as I need them(aggregate information scattered across requests into one entity) to my DB and fetch from there. Depending how fresh the data needs to be, retrieve from the API accordingly.

*their website reclaims they would provide CSV files updated daily with whole tables. I could use those files instead of making requests timed by a cronjob which could overload their system unnecessarily.

Originally posted by @aniram in #6 (comment)

Food for thought: i) Use in-memory cache(redis, memcached) for user's favorites. ii) Use a caching layer -> on a dedicated service retrieve projects, authors and related data from the API as CSV files*, transform and store them as my own entity with the properties as I need them(aggregate information scattered across requests into one entity) to my DB and fetch from there. Depending how fresh the data needs to be, retrieve from the API accordingly. *their website reclaims they would provide CSV files updated daily with whole tables. I could use those files instead of making requests timed by a cronjob which could overload their system unnecessarily. _Originally posted by @aniram in https://git.marinabsa.com/aniram/cidadon/issues/6#issuecomment-6_
aniram added this to the 2026.1 milestone 2026-02-14 14:51:53 +00:00
Author
Owner

Checkout #24 on how I could verify when to update the cache.

Checkout #24 on how I could verify when to update the cache.
aniram changed title from Cache system to Cache service 2026-02-14 14:54:29 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aniram/cidadon#34
No description provided.