# @Distributed: On worker 2 UndefVarError {{Module}}

**URL:** <https://discourse.julialang.org/t/distributed-on-worker-2-undefvarerror-module/42773>\
**Category:** General Usage\
**Tags:** question\
**Created:** [July 9, 2020, 6:32am UTC](https://discourse.julialang.org/t/distributed-on-worker-2-undefvarerror-module/42773 "2020-07-09T06:32:57Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [July 14, 2020, 10:07am UTC](https://discourse.julialang.org/t/distributed-on-worker-2-undefvarerror-module/42773/16 "2020-07-14T10:07:29Z")

</div>

If you want to beat `sum` you will have a hard time.  
Have a look at

```julia
@edit sum(a)

```

And you may want to read this discussion: [Implementing parallel sum](https://discourse.julialang.org/t/implementing-parallel-sum/31097)  
There are others also about `sum` and performance, just search for sum.

---

_[View the full topic](https://discourse.julialang.org/t/distributed-on-worker-2-undefvarerror-module/42773)._
