wrhunt0 / appengine-devappserver2-experiment

Automatically exported from code.google.com/p/appengine-devappserver2-experiment
0 stars 0 forks source link

version in app.yaml ignored #50

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I don't know if this is a bug or not implemented yet, but the version in 
app.yaml is ignored and the server name always set to "default". This does also 
prevent running multiple versions simultaneously.

../../dev_appserver.py 1/app.yaml 2/app.yaml

google.appengine.tools.devappserver2.errors.InvalidAppConfigError: Duplicate 
server: default

Original issue reported on code.google.com by pdknsk on 7 Mar 2013 at 5:39

GoogleCodeExporter commented 8 years ago
Could you explain your use case for having multiple simultaneous versions?

Original comment by bquin...@google.com on 14 Mar 2013 at 5:55

GoogleCodeExporter commented 8 years ago
I put tasks on a different version named "task" to separate incoming requests 
and frequent but short background tasks, like reading a value from a website 
and updating the corresponding db entry. I also send each mail as a separate 
task on version "mail". This is mostly to keep separate logs and not spam the 
default version.

Original comment by pdknsk on 14 Mar 2013 at 3:10

GoogleCodeExporter commented 8 years ago
Another bonus is separate charts in the dashboard. I considered this common 
practice actually.

Original comment by pdknsk on 14 Mar 2013 at 3:13