#4511·tilt

feat: parallel sync with live update

Author: MasayaAoyamaCreated May 4, 2021Updated Jun 18, 2026
Labelsenhancement

Describe the Feature You Want

tilt sync files in parallel using the same image.

Current Behavior

tilt sync files in serial using the same image.

Why Do You Want This?

In our environment, a container image is used for several deployments (e.g. 1. single binary for multi apps, 2. each-namespace apps). We use tilt with live sync, but tilt sync files in serial to several deployments using the same image. Do you have any idea or plan to sync files in parallel using the same image?

test result

Run Deployments test1 and test2 with the same image nginx:1.18 by tilt.

bash
cd tilttest
tilt up &

And then, trigger live sync for both Deployments test1 test2.

touch ./testdata

and then, show live sync progress from the logfile.

  • tilt have synced to test1 pod between 17:37:29 - 17:37:36.
  • tilt have synced to test2 pod between 17:37:36 - 17:37:43.
# kubectl exec -it test1-5786f6b9d6-vgwc5 -- cat /root/log
Tue May  4 17:37:28 UTC 2021
0
Tue May  4 17:37:29 UTC 2021
9
Tue May  4 17:37:30 UTC 2021
55
Tue May  4 17:37:31 UTC 2021
90
Tue May  4 17:37:32 UTC 2021
132
Tue May  4 17:37:33 UTC 2021
175
Tue May  4 17:37:34 UTC 2021
211
Tue May  4 17:37:35 UTC 2021
251
Tue May  4 17:37:36 UTC 2021
255
Tue May  4 17:37:37 UTC 2021
255
# kubectl exec -it test2-56ccc6b89f-bbjs6 -- cat /root/log
Tue May  4 17:37:28 UTC 2021
0
Tue May  4 17:37:29 UTC 2021
0
Tue May  4 17:37:30 UTC 2021
0
Tue May  4 17:37:31 UTC 2021
0
Tue May  4 17:37:32 UTC 2021
0
Tue May  4 17:37:33 UTC 2021
0
Tue May  4 17:37:34 UTC 2021
0
Tue May  4 17:37:35 UTC 2021
0
Tue May  4 17:37:36 UTC 2021
43
Tue May  4 17:37:37 UTC 2021
91
Tue May  4 17:37:39 UTC 2021
136
Tue May  4 17:37:40 UTC 2021
184
Tue May  4 17:37:41 UTC 2021
228
Tue May  4 17:37:42 UTC 2021
243
Tue May  4 17:37:43 UTC 2021
255