[google-appengine] Re: I've just found that the app.yaml file won't allow more than 100 handlers...

2009-04-15 Thread Larry

Thanks for the idea! Quite a few URLs are similar so it seems most
sensible.

I also should have noted in my OP that I noticed this on the
development server and not on the production server. Either or both
means I'll need the work around.

On Apr 15, 1:56 am, Gopal Vaswani  wrote:
> Hi Larry,
>
> I hope you are talking about the number of handlers in the handler script.
> Its strange that GAE does not allow more than 100 handlers. it should not be
> the case normally.
> Anyway, one way you can overcome this issue is to use regex groups to
> capture URL specific parameters and process the request based on the
> parameter. This should bring down the number of handlers as I am assuming
> that many of your urls would be similar.
>
> Vaswani
>
> On Tue, Apr 14, 2009 at 2:44 PM, Larry  wrote:
>
> > Hi
>
> > I've just found that the app.yaml file won't allow more than 100
> > handlers. I know this seems plenty but using handlers quite
> > conservatively I have found myself requiring slightly more than 100
> > handlers for my forum. I could just map every URL into one handler and
> > have that search a dictionary for the correct class to handle the
> > request but that is rather irritating to recode.
>
> > Are there any better plans? Should I file a bug report requesting a
> > larger number of handlers. I personally think it should be dynamic
> > (IE: not limited) or at least be mentioned in the documentation. I
> > could have avoided this situation had I known about the restriction.
>
> > Thanks!
>
> > Larry
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: I've just found that the app.yaml file won't allow more than 100 handlers...

2009-04-14 Thread Gopal Vaswani
Hi Larry,

I hope you are talking about the number of handlers in the handler script.
Its strange that GAE does not allow more than 100 handlers. it should not be
the case normally.
Anyway, one way you can overcome this issue is to use regex groups to
capture URL specific parameters and process the request based on the
parameter. This should bring down the number of handlers as I am assuming
that many of your urls would be similar.

Vaswani


On Tue, Apr 14, 2009 at 2:44 PM, Larry  wrote:

>
> Hi
>
> I've just found that the app.yaml file won't allow more than 100
> handlers. I know this seems plenty but using handlers quite
> conservatively I have found myself requiring slightly more than 100
> handlers for my forum. I could just map every URL into one handler and
> have that search a dictionary for the correct class to handle the
> request but that is rather irritating to recode.
>
> Are there any better plans? Should I file a bug report requesting a
> larger number of handlers. I personally think it should be dynamic
> (IE: not limited) or at least be mentioned in the documentation. I
> could have avoided this situation had I known about the restriction.
>
> Thanks!
>
> Larry
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---