Multiple instance with multiple JVMs?

47 views
Skip to first unread message

Carl Emmoth

unread,
Aug 3, 2018, 10:50:37 AM8/3/18
to Google App Engine
Hello,

I've always wondered how the infrastructure works with Java App Engine. At multiple requests there can be several instances with a web server each. If there are too many instances for a single JVM, are new instances created on a different JVM? I wonder if this could affect static fields (singletons) which might not be shared between the instances.

Correct me if I'm wrong!

Thanks,
Carl 

Stefano Ciccarelli

unread,
Aug 3, 2018, 10:55:41 AM8/3/18
to GAE Group
Every instance *is* a different JVM! Don't even think to share data using static fields.

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/64bf661a-14db-4da7-8a14-cd9dd19a21e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

Stefano Ciccarelli 
GAE Application Division 
/ Director 
stefano.c...@mmbsoftware.it 

M.M.B. s.r.l. 
via Granarolo, 177/7 - 48018 Faenza (RA) - Italy 
tel. +39.0546.637711 - fax +39.0546.46077 
www.mmbsoftware.it - in...@mmbsoftware.it

Le informazioni contenute in questa comunicazione sono riservate e destinate esclusivamente alla/e persona/e o all'ente sopra indicati. E' vietato ai soggetti diversi dai destinatari qualsiasi uso, copia, diffusione di quanto in esso contenuto sia ai sensi dell'art. 616 c.p., sia ai sensi del DL n. 196/03. Se questa comunicazione Vi e' pervenuta per errore, Vi preghiamo di rispondere a questa e-mail e successivamente cancellarla dal Vostro sistema.

Carl Emmoth

unread,
Aug 3, 2018, 11:13:42 AM8/3/18
to Google App Engine
Thanks! Could you reference to documentation about this? I don't think I've seen it explicitly...

Stefano Ciccarelli

unread,
Aug 3, 2018, 11:17:22 AM8/3/18
to GAE Group

Il giorno ven 3 ago 2018 alle ore 17:13 Carl Emmoth <carl....@gmail.com> ha scritto:
Thanks! Could you reference to documentation about this? I don't think I've seen it explicitly...

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages