# Ray Worker Initialiser

**URL:** <https://discuss.ray.io/t/ray-worker-initialiser/11023>\
**Category:** Ray Clusters\
**Created:** [June 13, 2023, 8:50pm UTC](https://discuss.ray.io/t/ray-worker-initialiser/11023 "2023-06-13T20:50:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![neeldug](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/neeldug/32/4581_2.png) [@neeldug](https://discuss.ray.io/u/neeldug)\
**Post date:** [June 13, 2023, 8:50pm UTC](https://discuss.ray.io/t/ray-worker-initialiser/11023/1 "2023-06-13T20:50:07Z")

</div>

**How severe does this issue affect your experience of using Ray?**

- High: It blocks me to complete my task.

Hi all,  
I’ve been trying to get a benchmark whipped up using Ray tasks since everything should be stateless, however, I would like to perform some initialisation on workers, what is the typical pattern for this?  
I.e.  
Worker gets assigned task → if initialised do task → else initialise then do task.

Is there a way to avoid using `Actors` for this behaviour?
