manasouza/sfin-bills

Cache mechanism

Closed this issue · 5 comments

Plan the creation of a cache mechanism to keep processed files

Planning:

  • Choose cache provider (Redis, Memcache, Hazelcast, etc.)
  • PoC
  • Configuration plan (TTL, dependency configuration, etc.)
  • Verify Openshift compatibility
  • Implementation

Given the idea to use GCP, the implementation could be done at GCP Cloud Datastore
=> Validate direct integration with the Node.js app

Implemented with Google Cloud Firestore

Latest run didn't work

Run a local test and compare cached data with ID generated from files

Fixed by ffcf357