Hi,

It's difficult to comment usefully without more information. Where do you
get your list from? How is it calculated? How large is it?

-Nick Johnson

On Tue, Dec 15, 2009 at 11:11 PM, killer barney <[email protected]> wrote:

> I have a question that perhaps someone can give me some insight on.
>
> I have a list of thousands of keywords in my website that I am going
> to constantly need to query and iterate through.  So I thought rather
> than querying for every keyword in the datastore everytime, I should
> store it in the memcache.  But even this doesn't seem like a very good
> solution as the memcache gets eliminated and I'm going to have to
> somehow query the whole list and store it back into memcache everytime
> it gets disposed of.
>
> I thought about having the list stored as sharded arrays into
> memcache, so when it does get disposed of, then I only have to update
> the keywords that start with "N", for example, but this still doesn't
> seem like the best solution.
>
> Is there a better way to do this?
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>
>


-- 
Nick Johnson, Developer Programs Engineer, App Engine
Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
368047


-- 
Nick Johnson, Developer Programs Engineer, App Engine
Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
368047

--

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


Reply via email to