# Invoking a function of remote actor in parallel

**URL:** <https://discuss.ray.io/t/invoking-a-function-of-remote-actor-in-parallel/4633>\
**Category:** Ray Core\
**Created:** [January 9, 2022, 6:35am UTC](https://discuss.ray.io/t/invoking-a-function-of-remote-actor-in-parallel/4633 "2022-01-09T06:35:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![marsupialtail](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/marsupialtail/32/1950_2.png) [@marsupialtail](https://discuss.ray.io/u/marsupialtail)\
**Post date:** [January 9, 2022, 6:35am UTC](https://discuss.ray.io/t/invoking-a-function-of-remote-actor-in-parallel/4633/1 "2022-01-09T06:35:53Z")

</div>

Say I have a remote actor class A, which has a remote function f. Other remote actors might go ahead and call f, sometimes in parallel. How do I make sure that those invocations can actually happen in parallel? Do I need to set up multiple remote actor As?

---

<div class="post-metadata">

**Author:** ![rliaw](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/rliaw/32/24_2.png) [@rliaw](https://discuss.ray.io/u/rliaw)\
**Post date:** [January 10, 2022, 8:19am UTC](https://discuss.ray.io/t/invoking-a-function-of-remote-actor-in-parallel/4633/2 "2022-01-10T08:19:44Z")

</div>

Consider using a ActorPool? [Using Actors — Ray v1.9.1](https://docs.ray.io/en/latest/actors.html#actor-pool)
