# JuliaDB w/ Workers on Remote Machine

**URL:** <https://discourse.julialang.org/t/juliadb-w-workers-on-remote-machine/25412>\
**Category:** Data\
**Created:** [June 18, 2019, 4:01pm UTC](https://discourse.julialang.org/t/juliadb-w-workers-on-remote-machine/25412 "2019-06-18T16:01:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![versipellis](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/versipellis/32/7878_2.png) [@versipellis](https://discourse.julialang.org/u/versipellis)\
**Post date:** [June 18, 2019, 4:01pm UTC](https://discourse.julialang.org/t/juliadb-w-workers-on-remote-machine/25412/1 "2019-06-18T16:01:00Z")

</div>

I have a workflow set up right now where I want to use my laptop as the master process, with `addprocs(machine_spec)` pointing to a remote machine I’m SSHing to (with Julia and all dependencies installed). The data is stored locally on my machine, and my expected behavior was that the master process would transfer the data that needed processing to the remote machine.

However, `loadtable()` looks for the data on-disk on the remote machine with the child processes. Is there a way to avoid needing to have my data duplicated on my remote machine?

---

<div class="post-metadata">

**Author:** ![daniel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/daniel/32/6480_2.png) [@daniel](https://discourse.julialang.org/u/daniel)\
**Post date:** [June 18, 2019, 4:43pm UTC](https://discourse.julialang.org/t/juliadb-w-workers-on-remote-machine/25412/2 "2019-06-18T16:43:47Z")

</div>

Depending on your specific application, the easiest way is probably to remotely mount your local data on the remote machine via sshfs. For that, ssh into your remote machine and mount the local directory via sshfs username@localip:/dir/to/datafile /mountpoint/on/remote/machine (adapt the file paths of course).

I don’t think there is a way to automatically transfer data between workers.

---

<div class="post-metadata">

**Author:** ![jpsamaroo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jpsamaroo/32/46804_2.png) [@jpsamaroo](https://discourse.julialang.org/u/jpsamaroo)\
**Post date:** [June 18, 2019, 6:25pm UTC](https://discourse.julialang.org/t/juliadb-w-workers-on-remote-machine/25412/3 "2019-06-18T18:25:36Z")

</div>

I use NFS for any data sharing among workers since it will generally perform better than sshfs when I’m at home; however, its performance on a remote connection (like over the internet) is apparently not great, and I use sshfs in such situations.
