{"action":"created","issue":{"url":"https://api.github.com/repos/cosmir/open-mic/issues/38","repository_url":"https://api.github.com/repos/cosmir/open-mic","labels_url":"https://api.github.com/repos/cosmir/open-mic/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/cosmir/open-mic/issues/38/comments","events_url":"https://api.github.com/repos/cosmir/open-mic/issues/38/events","html_url":"https://github.com/cosmir/open-mic/issues/38","id":193303107,"number":38,"title":"pybackend to support cloud backends","user":{"login":"ejhumphrey","id":926379,"avatar_url":"https://avatars.githubusercontent.com/u/926379?v=3","gravatar_id":"","url":"https://api.github.com/users/ejhumphrey","html_url":"https://github.com/ejhumphrey","followers_url":"https://api.github.com/users/ejhumphrey/followers","following_url":"https://api.github.com/users/ejhumphrey/following{/other_user}","gists_url":"https://api.github.com/users/ejhumphrey/gists{/gist_id}","starred_url":"https://api.github.com/users/ejhumphrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ejhumphrey/subscriptions","organizations_url":"https://api.github.com/users/ejhumphrey/orgs","repos_url":"https://api.github.com/users/ejhumphrey/repos","events_url":"https://api.github.com/users/ejhumphrey/events{/privacy}","received_events_url":"https://api.github.com/users/ejhumphrey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"ejhumphrey","id":926379,"avatar_url":"https://avatars.githubusercontent.com/u/926379?v=3","gravatar_id":"","url":"https://api.github.com/users/ejhumphrey","html_url":"https://github.com/ejhumphrey","followers_url":"https://api.github.com/users/ejhumphrey/followers","following_url":"https://api.github.com/users/ejhumphrey/following{/other_user}","gists_url":"https://api.github.com/users/ejhumphrey/gists{/gist_id}","starred_url":"https://api.github.com/users/ejhumphrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ejhumphrey/subscriptions","organizations_url":"https://api.github.com/users/ejhumphrey/orgs","repos_url":"https://api.github.com/users/ejhumphrey/repos","events_url":"https://api.github.com/users/ejhumphrey/events{/privacy}","received_events_url":"https://api.github.com/users/ejhumphrey/received_events","type":"User","site_admin":false},"assignees":[{"login":"ejhumphrey","id":926379,"avatar_url":"https://avatars.githubusercontent.com/u/926379?v=3","gravatar_id":"","url":"https://api.github.com/users/ejhumphrey","html_url":"https://github.com/ejhumphrey","followers_url":"https://api.github.com/users/ejhumphrey/followers","following_url":"https://api.github.com/users/ejhumphrey/following{/other_user}","gists_url":"https://api.github.com/users/ejhumphrey/gists{/gist_id}","starred_url":"https://api.github.com/users/ejhumphrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ejhumphrey/subscriptions","organizations_url":"https://api.github.com/users/ejhumphrey/orgs","repos_url":"https://api.github.com/users/ejhumphrey/repos","events_url":"https://api.github.com/users/ejhumphrey/events{/privacy}","received_events_url":"https://api.github.com/users/ejhumphrey/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-12-03T17:40:13Z","updated_at":"2016-12-21T22:28:56Z","closed_at":null,"body":"GCP client wrappers have been punted on so far, need to update with\r\n- Datastore: key creation, better harmonization between how database types are handled\r\n- Storage: make sure this actually works as intended"},"comment":{"url":"https://api.github.com/repos/cosmir/open-mic/issues/comments/268660135","html_url":"https://github.com/cosmir/open-mic/issues/38#issuecomment-268660135","issue_url":"https://api.github.com/repos/cosmir/open-mic/issues/38","id":268660135,"user":{"login":"ejhumphrey","id":926379,"avatar_url":"https://avatars.githubusercontent.com/u/926379?v=3","gravatar_id":"","url":"https://api.github.com/users/ejhumphrey","html_url":"https://github.com/ejhumphrey","followers_url":"https://api.github.com/users/ejhumphrey/followers","following_url":"https://api.github.com/users/ejhumphrey/following{/other_user}","gists_url":"https://api.github.com/users/ejhumphrey/gists{/gist_id}","starred_url":"https://api.github.com/users/ejhumphrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ejhumphrey/subscriptions","organizations_url":"https://api.github.com/users/ejhumphrey/orgs","repos_url":"https://api.github.com/users/ejhumphrey/repos","events_url":"https://api.github.com/users/ejhumphrey/events{/privacy}","received_events_url":"https://api.github.com/users/ejhumphrey/received_events","type":"User","site_admin":false},"created_at":"2016-12-21T22:28:56Z","updated_at":"2016-12-21T22:28:56Z","body":"**Update:** There are two datastore interfaces for Google AppEngine (GAE), `db/ndb` and `google-cloud (neé gcloud)`. The former is optimized for GAE (roughly 3-5x, says [this post](http://stackoverflow.com/a/28095663/528187)), but (1) uses a significantly different paradigm (ORM) for interacting with datastore and (2) is _much_ harder to develop and test locally. \r\n\r\nSo. Until a compelling reason motivates optimization, we're going to support only `local` and `gcloud` backends; we'll eat the loss of efficiency at the application level for the ease / efficiency of development. \r\n\r\nAdded pain in the ass -- the GAE \"flexible\" environment, which runs python3 is not yet supported in European clusters.\r\n\r\nNotes:\r\n- Running `google-cloud` on Google AppEngine (GAE) hasn't always been easy. See [#1893: Using gcloud-python on appengine standard](https://github.com/GoogleCloudPlatform/google-cloud-python/issues/1893)\r\n- An older version of a `google-cloud==0.22.1` python library (`gcloud==0.18.3`) is still floating around the Internet. **DO NOT USE IT**, [see this for more info](https://github.com/GoogleCloudPlatform/google-cloud-python/issues/2748). It has been superseded by a more modern (and hopefully final) library, google-cloud. [github](https://github.com/GoogleCloudPlatform/google-cloud-python), [home](https://googlecloudplatform.github.io/google-cloud-python/), [docs](https://googlecloudplatform.github.io/google-cloud-python/stable/)."}}
{"actor":{"display_login":"ejhumphrey"}}