hi,

I'm developing an app to be hosted on GAE.Basically my app needs to
connect people randomly.

I did similar app before where i assigned unique id to each user.Once
the user enter the app his ID will be inserted into static
synchronized LinkedHashSet(which acts like global datastore for
app).Similarly second user enters synchronized LinkedHashSet,If he
finds the ID other than his ID then they are connected.The Second user
removes their ID's from LinkedHashSet and Inserts them into Mysql
DataBase as pairs.Note that access to LinkedHashSet is synchronized.

Now i wanted to design a similar app in cloud environment like GAE.But
in GAE static variables are not global since the distributed nature of
app engine.How to write similar code in cloud environment?

regards,
 ravi

-- 
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.

Reply via email to