Skip to content

Implement Prefetching solution with MongoDB, Redis & Celery #11

@deshetti

Description

@deshetti
  • Add Redis, MongoDB to Docker Compose & Python Client
  • Environment variables for Redis parms:
    • for enabling Redis cache use
    • connection params
    • set expiration time. default: 3600 seconds
  • Enable routes for caching based on the env variable
  • Implement Endpoint for /cache/refresh or /cache/prefetch
    • List of URLs
    • Create it as a background job
    • Use Redis for MQ for prefetch tasks
    • Add background task status/updates on redis
  • Implement Redis caching on GET
  • Implement Endpoint for /cache/bust
    • All
    • List of URLs

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions