Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

A simple Django app to sync file caches over all nodes.

Project description

# Django Distributed File Based Cache
The Django Distributed File Based Cache is a library that I developed for myself to use in my small projects.

## How it works?
Thanks to my other library([Django Serviceless Distributor]( I can distribute any functions easily across nodes so I wrote a cache backend if you wonder how it works you should definitely see [Django Serviceless Distributor](

## Is it efficient to use?
The answer is depends on how many nodes you have in your environment. If it is over 5 that maybe useless because you know if you can pay for 5 why not 1 for the cache. Also replicating data across request processing servers not the best approach.

## Quick Start
Install library
pip install django-distributed-file-based-cache

Configure your ``
path("", include("distributed_file_based_cache.urls")),

Configure your ``
# Set as cache backend
"default": {
"BACKEND": "distributed_file_based_cache.cache.DistributedFileBasedCache",
"LOCATION": "cache",

# Nodes IPs (Do not use load balancer IP, we couldn't know
# if all nodes affected if you use load balancer IP)

### (Not) Frequently Asked Questions
Most of the answers can be found on [Django Serviceless Distributor]( but I'll update if I'll receive specific question about this library.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-distributed-file-based-cache, version 1.0.3
Filename, size File type Python version Upload date Hashes
Filename, size django_distributed_file_based_cache-1.0.3-py3-none-any.whl (4.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size django-distributed-file-based-cache-1.0.3.tar.gz (3.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page