Ah, I didn't realize that id was the puid! Let me try that out!

So just curious, if the puid is what we're using to uniquely identify
servers, why can't we update the name dynamically? It seems like
use-server and the like should use these puids rather than the names?

-Joey

On Tue, Jul 11, 2017 at 8:51 AM, Baptiste <[email protected]> wrote:
> Hi Joseph,
>
> A quick and stupid question: can't Synapse enforce the server's PUID? (you
> can do that using the server 'id' parameter)
> I mean, when genrating the backend configuration, you can enforce it.
> IE:
>   backend b_myapp
>   [...]
>     server s1 1.0.0.1:80 id 1
>     server s2 1.0.0.2:80 id 2
>     server s3 1.0.0.3:80 id 3
>
> And then, when rotating, the servers will keep their PUID.
> IE:
>   backend b_myapp
>   [...]
>     server s3 1.0.0.3:80 id 3
>     server s1 1.0.0.1:80 id 1
>     server s2 1.0.0.2:80 id 2
>
> Baptiste

Reply via email to