← Back to team overview

launchpad-dev team mailing list archive

Re: Feature flags: beware of anonymous users

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11-06-02 05:56 PM, Robert Collins wrote:
> On Fri, Jun 3, 2011 at 1:56 AM, Gary Poster <gary.poster@xxxxxxxxxxxxx> wrote:
>> Alternatively or in addition, perhaps there's a clever feature flag tweak we can do, like looking for a browser cookie that we insert manually in our browsers, or something.
> 
> Exactly!
> 
> One of the unrealised intentions of flags was allowing soft-launches
> including anonymous users. There are two problems:
>  - our caching story is probably too aggressive
>  - we don't have glue to define stuff yet.
> 
> (sketch)
> 1) Teach apache to let requests with a cookie like LP_FEATURES through
> squid - that is, only treat *other* cookies as needing to bypass
> squid.
> 2)
> Have a scope 'fraction' which takes a %:
> advancedsubscriptions.enabled fraction 0 5%

Hmm, when I saw this, I thought it was a mechanism that would allow for
devs to control features on staging for *themselves*, by setting a cookie.

Perhaps also an interesting idea?

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3o5ZIACgkQ0F+nu1YWqI0QtwCgh9q6xLQ0iuFAaYBGWaFgEtJ3
dmcAn161iHX0PYoXL4M04v3nNFNBtkWJ
=whlZ
-----END PGP SIGNATURE-----


Follow ups

References