djeck1432 / spotnet

1 stars 19 forks source link

Add celery[redis] package to the project #106

Open djeck1432 opened 3 hours ago

djeck1432 commented 3 hours ago
  1. Read guidelines.
  2. Set up celery for the project package
  3. Update docker-compose.yaml and docker-compose.dev.yaml with redis for celery
  4. Create simple task function to verify that all works as expected
  5. Update entrypoint.sh file for start up celery workers
  6. Update README.md about celery and how to run/stop/purge

This task for old contributors not for newcomer

akintewe commented 3 hours ago

I've worked extensively with Python, Cairo, and JavaScript and have successfully constructed several Celery-based task queue systems in production situations. My experience includes deploying distributed systems using Redis and Docker containerization. I'd approach this integration methodically. First, celery[redis] is added to the project's requirements while remaining compatible with existing packages. Then, update both Docker compose files to include the Redis settings and suitable networking setup. For verification, I'd create a basic health-check activity that exhibits worker-broker interactions. The tweaks to entrypoint.sh would ensure correct worker initialization and gentle shutdowns. I like Apple :)

Jemiiah commented 3 hours ago

can I please work on this @djeck1432 I want to contribute to this repository I like Orange

PoulavBhowmick03 commented 3 hours ago

I like apple

To resolve this issue, I will begin by adding the celery[redis] package to the project deps, enabling Celery to use Redis as the message broker. Next, I will configure Celery within the project, setting the Redis broker URL and task settings needed for smooth operation. then, update both docker-compose.yaml and docker-compose.dev.yaml to add Redis as a service and connect it to the project network for accessibility. To verify the setup, I’ll create a simple task function that runs an operation, such as a basic calculation or logging, and test it to confirm that Celery and Redis are functioning as expected. I’ll also update entrypoint.sh to start Celery workers on application startup, ensuring tasks are processed automatically. Finally, I’ll update README.md with detailed instructions on running, stopping, and purging tasks, along with development tips for working with Celery. After verifying the complete setup, I’ll submit the PR for review.

ETA - I will create a draft PR in 1 day

tosoham commented 3 hours ago

I am a returning contributor here. Can I handle this task? I like apple

iamnovichek commented 3 hours ago

Greetings. I have extensive experience in crypto development and this task will be completed quickly and efficiently. Can I be assigned? I like apple.

djeck1432 commented 3 hours ago

Guys, please, read guidline before applying, Orange is not any more my favorite fruit

djeck1432 commented 3 hours ago

Again, complex tasks could be done by someone, who is already contributed and showed good result. For server related tasks, if you have done more than 2-3 medium/complex tasks at all.

Jemiiah commented 3 hours ago

Guys, please, read guidline before applying, Orange is not any more my favorite fruit

alright ser noted