GAE runs multiple instances which means your code would be run on
multiple JVMs as well which means the static field will be multiple as
well. A lot of "as wells" here but I hope you get the point.

Use statics for constants that do not change. For everything else
persist either in memcache or datastore.

-N

On Oct 26, 4:17 pm, yoyo <yoyomo...@gmail.com> wrote:
> Thanks for your answear.
>
> So, GOE discard instances in cases of low usage. I didn't know.
>
> My app is an image board, like 4chan.org.
>
> The blowstore api in only available for billing account.
> I can't use the blowstore because my app isn't commercial. I write it
> only for fun and i don't want to pay for it.
>
> I'll use the memcache service. It's not important if some of pictures
> are lost. There is no guarantee, but I hope keep most of pictures into
> it.
> Else... well I'll see.
>
> I've some refactoring to do. Thanks again for your answear.

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

Reply via email to