buy-something team mailing list archive
-
buy-something team
-
Mailing list archive
-
Message #00011
Re: A roadmap document
Hi
On Wed, 2010-06-23 at 17:54 +0200, Michael Nelson wrote:
> On Wed, Jun 23, 2010 at 4:52 PM, Francis J. Lacoste
> <francis.lacoste@xxxxxxxxxxxxx> wrote:
> > * Given the traffic directed to this request (ie. all clients, not just when
> > purchasing), should this be a simple public url resource, rather than a
> > lazr.restful api? I'm just thinking in terms of the overhead for anonymous
> > access to the LP api - but perhaps that's LP specific. It's not difficult to
> > implement simple restful apis with Django (without lazr.restful).
> >
> > I don't think that's a reason not to use lazr.restful. Anonymous requests to
> > the API can and should be cacheable using a front-end proxy. That will ensure
> > scalability.
>
> Yep, but what I meant is that it sometime takes a long time for
> login_anonymously to return... as I said, maybe that's launchpadlib
> specific and we can use true anon access. I've not looked yet at why
> lp does this, so it could be a red herring.
I'm not aware that we've had any such problems exposing parts of our
APIs without authentication. It does sound like it might be a
lp-specific issue but if not, we'll have to look into solving it.
> > I agree with you that lazr.restful adds an extra layer of complexity. I'll let
> > Stuart makes the final call on that part, since they will be maintaining the
> > agent forward and it's really a question related to ISD technology stack.
> >
>
> Sounds good.
>
> > But if you ask me, I think we should use lazr.restful because: a) it's part of
> > the standard stack of ISD applications (SSO, Payments and CommPrefs API are
> > built using it), b) although doing a simple Restful API is easy, down the road
> > when the API becomes more complex, the functionalities of lazr.restful becomes
> > more compelling (multi-version support for example).
What Francis said... :) I'd like us to use lazr.restful because I'm
very keen to avoid fragmentation in our toolset and any problems we
encounter in this project will help us improve lazr.restful for
everyone.
Thanks
Stu
References