On Wed, Jul 16, 2014 at 7:04 PM, Jonathan Matthews <[email protected]> wrote: > On 16 Jul 2014 16:56, "Zuoning Yin" <[email protected]> wrote: >> >> We later also got the help from Willy. He provided us a configuration >> which solved our problem. To benefit other people, I just posted it here. > > I had meant to chime in on this thread earlier. > > What happens when your HAProxy layer loses state - be it reboot, service > restart or data centre power cut? Are you risking resetting the counter and > overwriting existing data on the backend? Are you in fact treating HAP as a > single point of truth? > > J
That's why I propose to use the unique-id format as well. You can combine a timestamp with your unique id. So going back to 0 is not a problem anymore. Baptiste

