Skip to content

Implement Celery for Automatic Typesense Sync on DB Update #15

@iamrahulroyy

Description

@iamrahulroyy

Set up Celery to handle automatic synchronization between the PostgreSQL database and Typesense whenever a shop or item is created, updated, or deleted. This will decouple the indexing logic from request/response cycles and ensure real-time search accuracy.

Tasks:
Configure Celery with the backend (e.g., Redis as broker)

Create background tasks for syncing shop/item data to Typesense

Trigger sync tasks on DB insert/update/delete

Ensure retry mechanisms and error logging

Metadata

Metadata

Assignees

Labels

FeatureNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions