# Is This Efficient? Local CRUD + Cloud Sync with Django, Celery & Redis

**URL:** <https://forum.djangoproject.com/t/is-this-efficient-local-crud-cloud-sync-with-django-celery-redis/42742>\
**Category:** Deployment\
**Created:** [September 2, 2025, 3:33am UTC](https://forum.djangoproject.com/t/is-this-efficient-local-crud-cloud-sync-with-django-celery-redis/42742 "2025-09-02T03:33:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![KennethAaron](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kennethaaron/32/29746_2.png) [@KennethAaron](https://forum.djangoproject.com/u/KennethAaron)\
**Post date:** [September 2, 2025, 3:33am UTC](https://forum.djangoproject.com/t/is-this-efficient-local-crud-cloud-sync-with-django-celery-redis/42742/1 "2025-09-02T03:33:24Z")

</div>

Currently running an app with **both local and cloud DBs** :

- **Local DB** handles all **CRUD** for real-time display and fast user interactions.

- **Sync button** pushes changes to **Azure cloud DB** via **Redis-Celery** for background processing.

**Is this approach efficient?** Any pitfalls or better ways to handle syncing? We mainly store OCR data and images (bytea)

---

<div class="post-metadata">

**Author:** ![KennethAaron](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kennethaaron/32/29746_2.png) [@KennethAaron](https://forum.djangoproject.com/u/KennethAaron)\
**Post date:** [September 2, 2025, 3:34am UTC](https://forum.djangoproject.com/t/is-this-efficient-local-crud-cloud-sync-with-django-celery-redis/42742/2 "2025-09-02T03:34:31Z")

</div>

I replicated both databases, so the database in my local PostgreSQL with the fields/models is the exact same on my Azure Cloud Database

---

<div class="post-metadata">

**Author:** ![KenWhitesell](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kenwhitesell/32/280_2.png) [@KenWhitesell](https://forum.djangoproject.com/u/KenWhitesell)\
**Post date:** [September 3, 2025, 9:52pm UTC](https://forum.djangoproject.com/t/is-this-efficient-local-crud-cloud-sync-with-django-celery-redis/42742/3 "2025-09-03T21:52:56Z")

</div>

Welcome @KennethAaron !

> [@KennethAaron](#):
>
> Is this approach efficient?

Efficiency isn’t a binary value - it’s not a question of whether or not it’s efficient, the question is whether it’s efficient enough to satisfy your requirements.

If what you have is working for you, and is completing the work within an acceptable window of time, then it’s “efficient”. If it’s not, then you should be looking at alternative approaches - and the options you would evaluate would be those that address the reasons why the current solution is considered inadequate.
