Is the storage concurrency-safe? #3907
-
Is it possible for multiple verdaccio application to safely share disk-based storage? Specifically, I'm looking to run multiple verdaccio docker containers which share a bind-mounted |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Nop, the storage files are locked while are written, thus disk based with multiple instances is not supported. |
Beta Was this translation helpful? Give feedback.
-
Thanks! Could it work when a load balancer split reads from writes based on HTTP method and then:
This is assuming GET and HEAD do not lock, is this a correct assumption? |
Beta Was this translation helpful? Give feedback.
Nop, the storage files are locked while are written, thus disk based with multiple instances is not supported.