sinopia
sinopia copied to clipboard
Running multiple Sinopia nodes behind a load balancer, keep local data in sync
I have made a change to the get request method. It will sync the local data folder on each GET request. This functionality is needed to ensure that all Sinopia nodes are presenting the correct state for the data storage folder.
I have multiple Sinopia node all sharing a NFS share as it's local data storage folder.
Would be great to get this included in master branch.
@ckloppers - Unrelated but how is your setup working? I am trying it out as multiple nodes behind haproxy and I am getting 'EBAD, Bad file decriptor' errors when npm publish-ing
@kodypeterson - its wrong , not sure how s ur setup , im using haproxy with 3 nodes, which works fine. My only feeling is , eventhough its resides in FS ( i can able to publish / unpublish / install ) im not able to see in UI ( for some nodes only ) , as a LB will hook a connection with single node and publish the packages , it will be visible in that node UI , but not with others. But its good if someone merge this fix with master. My appreciation to @ckloppers - Cheers buds
@ckloppers Seems like you should remove https://github.com/rlidwka/sinopia/pull/241/files?diff=unified#diff-65ac49d6e45d41aa25eff783fe855295L33.
@victortrac @ckloppers - When can we expect next release ?