# Is it a good idea to use celery in combination with Ray?

**URL:** <https://discuss.ray.io/t/is-it-a-good-idea-to-use-celery-in-combination-with-ray/21357>\
**Category:** Ray Client\
**Created:** [January 3, 2025, 10:05am UTC](https://discuss.ray.io/t/is-it-a-good-idea-to-use-celery-in-combination-with-ray/21357 "2025-01-03T10:05:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![durvesh09](https://avatars.discourse-cdn.com/v4/letter/d/e99b99/32.png) [@durvesh09](https://discuss.ray.io/u/durvesh09)\
**Post date:** [January 3, 2025, 10:05am UTC](https://discuss.ray.io/t/is-it-a-good-idea-to-use-celery-in-combination-with-ray/21357/1 "2025-01-03T10:05:17Z")

</div>

Is it a good idea to use ray with celery task scheduling ?  
To be specific, I’m trying to use ray to process some files concurrently to speedup the process where the tasks are being scheduled using celery and fastapi. But somehow the celery and ray doesn’t seem to be working fine together.

Example error:  
[2025-01-03 15:19:27,292: ERROR/MainProcess] Task app.tasks.ray\_test\_endpoint[7f9b3839-bf79-425f-b1b9-91f5ce3bf146] raised unexpected: AttributeError(“‘LoggingProxy’ object has no attribute ‘fileno’”)  
Traceback (most recent call last):
