Django SQLite EFS Backend (AWS, Python, Django)

Andrei Demidov

This is a Django database backend designed for running SQLite on AWS Lambda using Amazon EFS. It mitigates the risk of database corruption from concurrent writes in environments where SQLite’s native file locking is unreliable, such as EFS. This backend implements a distributed locking mechanism with Amazon DynamoDB, ensuring safe database access even when multiple Lambda instances are active.
Ideal for serverless Django apps with infrequent writes, it ensures data integrity while allowing concurrent read access, addressing the limitations of advisory locking in EFS.
Like this project
0

Posted Jan 16, 2025

This is a Django database backend designed for running SQLite on AWS Lambda using Amazon EFS.

Likes

0

Views

5

Clients

SQLite

Secure Authorizer for Amazon API Gateway (AWS, Python)
Secure Authorizer for Amazon API Gateway (AWS, Python)
Django Simple Secrets (AWS, Python, Django)
Django Simple Secrets (AWS, Python, Django)
API Key Rotator for Amazon CloudFront (AWS, Python)
API Key Rotator for Amazon CloudFront (AWS, Python)