[google-appengine] Re: Unknown project in GCP Console

2021-09-06 Thread Vitaly Bogomolov
Thanks for the explanation. понедельник, 6 сентября 2021 г. в 11:18:17 UTC+4, Jofre Riba Sánchez: > This is working as intended. This was previously reported on this same > group and other similar ones [1]. This has also been reported on our issue > tracker in [2], [3] (and a bunch more

[google-appengine] Re: Unknown project in GCP Console

2021-09-05 Thread Vitaly Bogomolov
+1 Two unknown projects in the list. воскресенье, 5 сентября 2021 г. в 14:31:16 UTC+4, Tapir: > Totally same for me. > > On Saturday, September 4, 2021 at 1:11:06 PM UTC-4 guana...@gmail.com > wrote: > >> Hi there. >> >> I have noticed recently that I have in my GCP console 2 projects

[google-appengine] Re: Looking for App Engine Expert

2021-05-11 Thread Vitaly Bogomolov
Hi. You can use 'X-Appengine-Inbound-Appid' http header for solving a problem "allow only local traffic to app engine services". According documentation "Requests coming from other App Engine

Re: [google-appengine] Re: Appengine Dashboard broken?

2020-10-10 Thread Vitaly Bogomolov
Hi. project: telegram-email [image: 1.PNG] суббота, 10 октября 2020 г. в 22:54:28 UTC+4, yananc: > Hello, > > We have received reports of the similar issue recently. The issue seemed > to be transient and disappeared after a while. Does the issue still persist > in your case? If so, would

Re: [google-appengine] Re: Appengine Dashboard broken?

2020-10-08 Thread Vitaly Bogomolov
Same issue. Also: Client Errors This app has not received any client errors in the last 24 hours. четверг, 8 октября 2020 г. в 21:08:56 UTC+4, linus@epspot.com: > Works again for me now.magic. > > Den tor 8 okt. 2020 10:19troberti skrev: > >> We have the same issue, for all our

[google-appengine] Re: Spending LImits Going Away :(

2020-09-02 Thread Vitaly Bogomolov
Canceling a simple and straightforward option "daily spending limit" is a very cruel action for beginners just starting to learn the platform. A separate warning should be given in the starter guide: In order not to go bankrupt when using GCP, you first need to carefully study the

[google-appengine] Re: Minimize Frontend Instance Hours

2020-04-06 Thread Vitaly Bogomolov
Hi Matt > automatic_scaling: > max_instances: 1 > min_instances: 0 > automatic_scaling: max_idle_instances: 1 min_idle_instances: 1 WBR, Vitaly -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and

[google-appengine] Re: Diving into App Engine is soooooooooooo hard now - My analysis

2020-03-15 Thread Vitaly Bogomolov
+1. GCP.AppEngine.StandardEnvironment.SecondGeneration looks like a terminal point for me. You must stop using GAE. 10+ years of GAE use. WBR, Vitaly. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and

[google-appengine] Re: Allow app engine access only from a specific website?

2020-01-07 Thread Vitaly Bogomolov
Hi John. We want to set up our app engine to only allow access from specific public > domain like www.whatever.com ( it is an external public available > website), how can I do that which is not by IP range level so I can't do it > using the app engine firewall setting. > > Our app is written

Re: [google-appengine] Controlling costs

2019-12-30 Thread Vitaly Bogomolov
> > Seems I celebrated too soon. Looking at the logs for the past few days, it > seems I have a pretty consistent 2 idle instance, despite my > max_idle_instances set to zero. > > My app.yaml has: > > runtime: python27 > api_version: 1 > threadsafe: yes > > automatic_scaling: >

[google-appengine] Re: Controlling costs

2019-12-20 Thread Vitaly Bogomolov
Hi, Joshua. try to change automatic_scaling section to: automatic_scaling: max_idle_instances: 1 min_idle_instances: 1 max_concurrent_requests: 20 BTW, I have the apps, that three times more load, that I see at your image. These apps fit to free quota. WBR, Vitaly > A big cost driver

[google-appengine] Re: 2 questions regarding migration from Flex to Standard

2019-09-30 Thread Vitaly Bogomolov
Hi, Nicholas. 1. Let's say I have an AppEngine Standard service who's sole job is to pull > from a PubSub subscription and do some work. Let's say some time has gone > by and no work has been posted to that PubSub topic so my worker has scaled > to 0. If something new has been posted to that

[google-appengine] Re: Changing StringProperty to TextProperty of existing AppEngine DataStore entity without losing data

2019-05-18 Thread Vitaly Bogomolov
Hi. The key thing is usage an Expando subclass. For example, as described here: Change IntegerProperty to FloatProperty of existing AppEngine DataStore https://stackoverflow.com/questions/4742875/change-integerproperty-to-floatproperty-of-existing-appengine-datastore Also, these links may be

[google-appengine] Re: How long will the original App Engine SDK (Python 2.7) be supported?

2019-04-09 Thread Vitaly Bogomolov
Hi, Mark If Google declare GAE Standard Python 2.7 as immutable (no development and improvement) and available in long term, I will start my new GAE projects at this platform with pleasure. WBR, Vitaly -- You received this message because you are subscribed to the Google Groups "Google App

[google-appengine] Re: GAE python 2.7 end of life

2019-01-10 Thread Vitaly Bogomolov
Hi. George > Is there a special reason you can't re-program your app? Do you absolutely > need to use GAE Mail service? The Mail service is not available in Python > 3. You need to use a third-party mail provider such as SendGrid, Mailgun, > or Mailjet to send email. All of these services

[google-appengine] Re: GAE python 2.7 end of life

2019-01-10 Thread Vitaly Bogomolov
Hi, George require effort to re-program your app in an alternative manner. > For example, I can't re-program my app, that receives emails, using GAE Mail service. Also, most of suggestions in this document (https://cloud.google.com/appengine/docs/standard/python3/python-differences) offers

[google-appengine] Re: GAE python 2.7 end of life

2019-01-08 Thread Vitaly Bogomolov
Yes, it is important Please send us google oficial clarifications. -- 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] Re: Is it possible to detect when a Google App Engine Instance starts (via a method, API, or some call or event to monitor)

2019-01-05 Thread Vitaly Bogomolov
Hi, NP. You can use warmup requests for this task: https://cloud.google.com/appengine/docs/standard/go/configuring-warmup-requests WBR, Vitaly. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop

Re: [google-appengine] Re: How to delete 800 mln records from Datastore?

2018-11-26 Thread Vitaly Bogomolov
something like this. code not tested and constants may be different. except 800M ;) from google.appengine.api.taskqueue import Queue, Task from google.appengine.ext import ndb QUEUE = Queue('default') def backend_function(): for j in xrange(8 / (100 * 20)):

[google-appengine] Re: How to delete 800 mln records from Datastore?

2018-11-26 Thread Vitaly Bogomolov
Hi Kuba. Free quota per day for entity deletes is 20K records. So for free you will deletes data for 80K days Or you can delete this data in one day and will be charged $1.6K ($0.02 for every 20K deletes over quota) + additional costs for running instanses.

[google-appengine] Re: gcloud app deploy, uploads whole root directory even though app.yaml only specifics 1 upload directory

2018-11-19 Thread Vitaly Bogomolov
Hi, Nikos You can use skip_files directive to reduce number of uploaded files https://cloud.google.com/appengine/docs/standard/python/config/appref#skip_files WBR, Vitaly -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe

[google-appengine] Re: dev_appserver in 1.9.76 switched import resolution from relative to absolute?

2018-10-12 Thread Vitaly Bogomolov
> This behavior is indeed unusual. As Amit mentioned above, there seems to > be a known issue which is > currently under investigation by our Cloud SDK Engineering Team. I would > recommend adding a comment to the Issue Thread providing your

[google-appengine] Re: dev_appserver in 1.9.76 switched import resolution from relative to absolute?

2018-10-11 Thread Vitaly Bogomolov
> hi all! i'm debugging a dev_appserver problem that seems to have been > introduced in google cloud sdk 219 / app-engine-python 1.9.76: imports are > now all resolved as absolute instead of relative. does that sound familiar? > Same issue. Some days ago I was update Cloud SDK to latest

[google-appengine] Re: using 3rd party libraries on GAE standard with Python

2018-09-25 Thread Vitaly Bogomolov
My five cents. I think, that real power of Google Cloud is a Standard Environment. But, in other hand, it is a sandbox with strong restrictions. You must use rules of this sanbox (vendor.add and so on). And, you must forgot about Python3 on Standard Environment. If you care about Python3, you

[google-appengine] Re: GAE Search API - Python

2018-09-07 Thread Vitaly Bogomolov
Hi Raphaël from google.appengine.api import search > index = search.Index(name='productsearch1') > > The problem is the google.appengine.api package does not exist... > (ModuleNotFoundError: No module named 'google.appengine'). > GAE Search API can be accessed in several contexts of Standard

[google-appengine] Re: Flex vs Standard - Feature Comparison

2018-07-04 Thread Vitaly Bogomolov
https://cloud.google.com/appengine/docs/the-appengine-environments WBR, Vitaly -- 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

Re: [google-appengine] Re: zigzag merge

2018-07-03 Thread Vitaly Bogomolov
> This is a well-known and popular feature request, and Engineering is > already working on its eventual implementation. No estimated time to > implementation has been set. Meanwhile, you may follow developments in this > thread in the Public Issue

Re: [google-appengine] Re: zigzag merge

2018-07-03 Thread Vitaly Bogomolov
Hello George. > "google.appengine.ext.testbed package" documentation page > defines init_datastore_v3_stub(enable=True, datastore_file=None, > use_sqlite=False, auto_id_policy='sequential', **stub_kw_args). The > signature does not specifically mention the "require_index" parameter. This >

Re: [google-appengine] Re: zigzag merge

2018-07-02 Thread Vitaly Bogomolov
> > In fact the "bingo" info is amply documented on the "Local Development > Server Options" documentation page > , > > where usage for the --require_indexes=yes|no options are described in > detail. > I

Re: [google-appengine] Re: zigzag merge

2018-06-30 Thread Vitaly Bogomolov
> > - There is an optional parameter to init_datastore_v3_stub which you can > use to require indexes: require_indexes=True. > Bingo! :) Thanks alot for your advice. testbed.init_datastore_v3_stub(require_indexes=True, root_path=project_dir) also works with default in-memory datastore. But

Re: [google-appengine] Re: zigzag merge

2018-06-29 Thread Vitaly Bogomolov
> What would be the use-case for the new feature? How would you use it, > exactly? A good use-case, well-formulated in step-by-step manner might > prove a great help for Developers to determine the importance of the new > feature and the urgency level for its implementation. > There is a

Re: [google-appengine] Re: zigzag merge

2018-06-28 Thread Vitaly Bogomolov
> > It would be indeed nice, if the production system kept metrics for index > usage, that way, it would be obvious which indexes are needed or not > +++ WBR, Vitaly -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from

[google-appengine] Re: scheduling job using cron.xml in google app engine

2018-06-24 Thread Vitaly Bogomolov
Hi. You can't implement this task directly, according cron rules. But you can use some tricks with AppEngine abilities. For example. Add cron rule, that will be called at 09:00 in weekdays In the handler of this rule put 30 tasks to appengine taskqueue with appropriate delay. You can use one

[google-appengine] Re: dev_appserver now compatible with Cloud Datastore Emulator.

2018-05-17 Thread Vitaly Bogomolov
Hi, Steren Our goal is to enable it by default in the future. > Good news. What about google.appengine.ext.testbed.init_datastore_v3_stub() ? Is it also will be touched by these changes? WBR, Vitaly > -- You received this message because you are subscribed to the Google Groups "Google App

Re: [google-appengine] Re: did App Engine change instance scheduler algorithm in the past month?

2018-05-08 Thread Vitaly Bogomolov
Hi, Steren. What is default value for new "target_throughput_utilization" parameter? WBR, Vitaly. -- 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] Re: Suggestions for autocomplete feature providing real-time low-latency suggestions......using product catalogue DB

2017-12-08 Thread Vitaly Bogomolov
> FYI, I think that the search service is either deprecated or soon to be > deprecated > Hmm. Are you can point to a source of this information? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop

[google-appengine] Re: Suggestions for autocomplete feature providing real-time low-latency suggestions......using product catalogue DB

2017-12-03 Thread Vitaly Bogomolov
Hi, Vik. I think this may be helpful: https://cloud.google.com/appengine/training/fts_intro/lesson2 WBR, Vitaly. -- 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

[google-appengine] Re: Migrating a project/site from GCE to GAE?

2017-12-03 Thread Vitaly Bogomolov
Hi, Torsten. Your Django project uses Cloud SQL as a database backend, so its ready to transfer from Compute Engine VM to GAE Standard Environment project. In fact, you can be faced only one problem on this transfer: user upload files facility. If your site allows your users upload files,

[google-appengine] Re: Why is GAE not popular?

2017-10-31 Thread Vitaly Bogomolov
Hi, Torsten, My 5 cents. GAE allows measure "quality of code" in money. If the code is "bad", you need a lot of GAE resources -> lot of money for serving your app. This thing for some reason not liked by most developers. :) WBR, Vitaly. -- You received this message because you are

[google-appengine] Re: Deploying with one command, not three

2017-08-06 Thread Vitaly Bogomolov
gcloud app deploy --quiet --project $(PROJECT) -v $(VERSION) app.yaml backend.yaml cron.yaml index.yaml queue.yaml works fine -- 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

[google-appengine] Re: appengine and OS environment variables

2017-05-29 Thread Vitaly Bogomolov
Hi, George. done: https://issuetracker.google.com/issues/62172664 > You are encouraged to open a corresponding issue on issuetracker, so all > developments and eventual solution may be easily followed. > WBR, Vitaly. -- You received this message because you are subscribed to the Google

[google-appengine] Re: appengine and OS environment variables

2017-05-25 Thread Vitaly Bogomolov
Hi, George. if this proposal wil be implemented, the answer for topic starter may be somthing like this: 1. create secret.yaml with content: env_variables: CLIENT_SECRET: you_secret_key 2. add 'secret.yaml' line to you .gitignore file 3. add to you app.yaml: includes: - secret.yaml it's

[google-appengine] Re: appengine and OS environment variables

2017-05-24 Thread Vitaly Bogomolov
Hi, All. In my opinion, the best solution would be allow "env_variables" into "includes" files. Now only builtins, includes, handlers and skip_files may be in "includes", according this: https://cloud.google.com/appengine/docs/standard/python/config/appref WBR, Vitaly -- You received this

[google-appengine] Re: !!!URGENT!!! Billing Error in App Engine Instance Hours, charges skyrocketing

2017-04-03 Thread Vitaly Bogomolov
Same issue. Incorrect charges for several app id for Mar 2017. For example: $11.84 for app with daily spending limit $0.01 -- 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,

[google-appengine] Re: a problem with the charge

2017-03-19 Thread Vitaly Bogomolov
Hi Same issue. Daily spending limit set to $0.10. But approximate charges so far this month are $4.85 today. Project id: clan-panel-ru.appspot.com -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop

[google-appengine] Re: Switching from Backends to Modules

2017-02-24 Thread Vitaly Bogomolov
Hi Joshua. > Anyway, I found the article that told me how to generate a .yaml for my > module based on my old backends.yaml and my app.yaml. My module is called > “reporting” so I have reporting.yaml. > > I used to do this with: appcfg.py backends update > > What command should I issue to

[google-appengine] Re: How to remove custom domain from project

2017-01-26 Thread Vitaly Bogomolov
> I want to remove custom domain from project and to add it in another > project. > Can anyone help out in this, i need to resolve asap. > console.cloud.google.com -> your project dashboard -> settings -> custom domains tab WBR, Vitaly -- You received this message because you are

[google-appengine] Re: NDB dictionary

2017-01-23 Thread Vitaly Bogomolov
> If I delete the entity 'West Coast' station entity, will all existing > shifts with "ancestor == ndb.Key(Station, 'West Coast')" automatically get > deleted? > > GAE Datastore don't have any automatic triggers. You can create your own triggers and remove redundant records. Google for "GAE

[google-appengine] Re: NDB dictionary

2017-01-22 Thread Vitaly Bogomolov
Hi, Ryan. > I'm working on a server project for a petrol station company. > I have this station class. > > class Station(modelpy.Model): > shifts = ndb.JsonProperty() > > The Station's key's id is the name of a station. > Here are the names of the actual stations: "West Coast", "Woodlands",

[google-appengine] Re: NDB dictionary

2017-01-22 Thread Vitaly Bogomolov
> > Then, access to shifts: > > west_coast_shifts = Station.query(ancestor=ndb.Key(Station, 'West Coast')) > oops west_coast_shifts = Shifts.query(ancestor=ndb.Key(Station, 'West Coast')) -- You received this message because you are subscribed to the Google Groups "Google App Engine" group.

[google-appengine] Re: NDB dictionary

2017-01-19 Thread Vitaly Bogomolov
Hi Ryan Ang Wei En class Fruit(ndb.Model): > name = ndb.StringProperty(required=True) > color = ndb.StringProperty(required=True) > taste = ndb.StringProperty(required=True) > Dont use a 'name' field for ID. There is a 'id' keyword for this purpose. ... class Fruit(ndb.Model): color

[google-appengine] Re: Monitoring Datastore Read / Write Time in Google App Engine

2016-12-05 Thread Vitaly Bogomolov
Hi Karan the batch operation is a key. http://googleappengine.blogspot.ru/2009/06/10-things-you-probably-didnt-know-about.html 5. You can batch put, get and delete operations for efficiency Every time you make a datastore request, such as a query or a get() operation, your app has to send

[google-appengine] Re: Use single database in two different region application in google app engine

2016-11-24 Thread Vitaly Bogomolov
> > I created two applications in different region in google app engine and > want to use a single database for both applications. I created one database > with second generation type (also have first generation type database). I > am able to use this database in one of my application and not

[google-appengine] Re: app.cfg update - excludes hidden files/folders in upload (with names starting with a ".")?

2016-09-11 Thread Vitaly Bogomolov
Hi, Roshan You need to define your own "skip_files" directive in app.yaml file. The skip_files has the following default: skip_files: - ^(.*/)?#.*#$ - ^(.*/)?.*~$ - ^(.*/)?.*\.py[co]$ - ^(.*/)?.*/RCS/.*$ - ^(.*/)?\..*$ https://cloud.google.com/appengine/docs/python/config/appref WBR,

Re: [google-appengine] Re: Multiprocessing in python

2016-09-06 Thread Vitaly Bogomolov
> > > AFAIK, python threads cannot utilize all CPU cores due to GIL. So, I'm > trying to fork processes for computationally heavy jobs. > > GAE taskqueue makes this job more productively. (IMHO) G0LOD > > -- You received this message because

[google-appengine] Re: Datastore field formats

2016-08-02 Thread Vitaly Bogomolov
> > >> @Vitaly : how can I use db.TextProperty in the example I gave ? because >> it was not obvious for me, i've tried a lot >> > > > https://cloud.google.com/appengine/docs/python/datastore/typesandpropertyclasses#Text > > if your json is really BIG, maybe you need zip it and save to

[google-appengine] Re: Datastore field formats

2016-08-02 Thread Vitaly Bogomolov
> > > @Vitaly : how can I use db.TextProperty in the example I gave ? because it > was not obvious for me, i've tried a lot > https://cloud.google.com/appengine/docs/python/datastore/typesandpropertyclasses#Text -- You received this message because you are subscribed to the Google Groups

[google-appengine] Re: Datastore field formats

2016-07-27 Thread Vitaly Bogomolov
Hi, All. > in Datastore, long strings (larger than 1500 bytes) cannot be indexed ( > https://cloud.google.com/datastore/docs/concepts/entities#text_string) > The issue here is that, by default, Datastore tries to index every > property you give it, unless told otherwise. > > Here, it tries to

[google-appengine] Re: Datastore read costs for nil entities

2016-07-26 Thread Vitaly Bogomolov
> > I am working on optimizing datastore calls, and saw that the cost of > datastore read calls is 6 cents per 100,000 entities worth of reads. If I > do a datastore.Get call for an entity that isn't in the datastore, does > that count as a datastore read, or is it only considered a datastore

[google-appengine] Re: Concepts, use and testing Cloud Datastore in local.

2016-06-11 Thread Vitaly Bogomolov
> > Anyway, I'm using testbed and it works fine, but I' ve found a problem, > when I execute a test over the method that insert a student in the > datastore all work fine, I check that the user is inserted. But after when > I check other method that read specific user I see that I dont have >

[google-appengine] Re: Concepts, use and testing Cloud Datastore in local.

2016-06-10 Thread Vitaly Bogomolov
Hi. > I'm really confused with the way to try Datastore in local. Please, give > me a minute to explain. > read this: https://cloud.google.com/appengine/docs/python/tools/localunittesting into test.py, that runs test suite (for example): import sys, os > import unittest > > app_engine =