Replies: 1 comment 12 replies
-
Nice analysis of the current state. With current Have you tried to route all non The The Do you still have any of the tracebacks you got when you ran several |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm aware of the discussion in #539 about scaling Devpi Server through replicas and requests-only nodes as well as official limitations of the requests-only mode.
In short:
Currently we have a single master + a few replicas in different datacenters (scenario replicas were designed for) with the default (sqlite) storage used.
I'm testing a kubernetes setup for Devpi instead. In this case
devpi-postgresql
is used for storage. Each pod has its own server directory with only the secret file being shared. LDAP is used for authentication.What I've observed till now:
--debug
right now) when files are uploaded (or synced from PyPI) by another instance. Currently running in debug and for some reason it didn't crash despite crashing each time a package was changed by another node when running in non-debug mode.I've tried to check the implementation but I'm still not sure what exactly is the full master responsible for besides replication. What would I lose by running all masters in the
requests-only
mode? In this setup I don't need devpi-powered replication at all as all instances can access the same database and replication for disaster recovery can be handled on the database level. Would setting UUID of all requests-only masters to the same value help?Yes, I'm aware of devpi not supporting read-only replicas for postgres (which is unfortunate but fixable to a degree - I see there are already connection requests explicitly stating
write=False
that is just ignored). It would still be much easier for me to have all data stored in a separate database.Beta Was this translation helpful? Give feedback.
All reactions