[google-appengine] Re: Design feasibility

2020-01-15 Thread 'Aref Amiri (Cloud Platform Support)' via Google App Engine
App Engine instances are scaled based on the incoming requests and 
therefore it is not possible to assign them the user ID. This can be 
reported as a Feature Request and I would suggest posting it on the Public 
Issue Tracker 
 
so that the engineering team could review it for future implementation.
 
For system architecture, you may be better served in dedicated forums such 
as Stackoverflow , where experienced 
programmers are within reach and ready to help to propose solutions in 
accomplishing such tasks.

-- 
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-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/daae5c6b-0f6f-4002-a22a-8de257d30a2f%40googlegroups.com.


[google-appengine] Re: Design feasibility

2020-01-13 Thread 'Olu' via Google App Engine
On App Engine, there is no way to restrict specific Instance to particular 
Users. Instances are spun up based on configurations on the Application's 
App.yaml file[1][2]. Also, depending on the Scaling Options, it is possible 
to scale App Engine Standard applications[3] to Zero Instances whenever 
there are no incoming requests to be handled. I believe this would simulate 
your design to scale to zero whenever your user disconnects, however, the 
scaling would only scale to zero based on availability(or unavailability) 
of incoming requests, rather than the connection or disconnection from a 
specific User. 

Also, App Engine applications can connect with CloudSQL Instances(if you 
plan to have a relational DB) and you can choose to create databases within 
a single Cloud SQL Instance, however, these Databases could not be shut 
down in response to connection or disconnection from a specific User[4]. 

[1]https://cloud.google.com/appengine/docs/standard/python/config/appref
[2]https://cloud.google.com/appengine/docs/flexible/python/configuring-your-app-with-app-yaml
[3]https://cloud.google.com/appengine/docs/the-appengine-environments#comparing_high-level_features
[4]https://cloud.google.com/sql/docs/mysql/start-stop-restart-instance#stop

-- 
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-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/a33098d5-ac21-4936-935c-2ed28244e9cf%40googlegroups.com.