app-engine-flexible

Missing entities after insertion in Google Cloud DataStore

落爺英雄遲暮 提交于 2021-02-11 15:23:53
问题 After inserting 29447 entities of a single kind in Google Cloud DataStore I wait about 30 seconds and go and check how many entities are there for that particular kind. The surprising thing is that I notice some of them missing ( getCurrentKeys returns a bit less than 29447 entities). When I check after a longer period of time (~1 hour), I can then see that all of the entities are there ( getCurrentKeys returns the expected 29447 entities). The code used to read the number of entities is the

how do i get the heap dump of a java application running in flexible environment

纵饮孤独 提交于 2021-02-11 07:12:48
问题 Given a java application running in flexible environment, how is it possible to get a heap dump to see the heavy objects? I would ideally import this into a tool like eclipse mat and analyze the heap dump. Another great option would be for stackdriver profiler showing it but i just see there cpu profiling but not memory profiling 回答1: You can connect to a Flex instance with ssh in a similar fashion that you connect to GCE VM instances. Read more about it here. Once connected you can get the

how do i get the heap dump of a java application running in flexible environment

喜欢而已 提交于 2021-02-11 07:11:56
问题 Given a java application running in flexible environment, how is it possible to get a heap dump to see the heavy objects? I would ideally import this into a tool like eclipse mat and analyze the heap dump. Another great option would be for stackdriver profiler showing it but i just see there cpu profiling but not memory profiling 回答1: You can connect to a Flex instance with ssh in a similar fashion that you connect to GCE VM instances. Read more about it here. Once connected you can get the

gcloud app deploy with private docker images

懵懂的女人 提交于 2021-02-10 19:57:28
问题 I have a project that has a Dockerfile inside and inside that Dockerfile is a base private image. When I run gcloud app deploy it will return an error with the below message Error response from daemon: pull access denied for dean, repository does not exist or may require 'docker login' I tried docker login before running gcloud app deploy but it did not work 回答1: The easiest way to get this rolling is to push the private image up to Google Container Registry. The per-project registry is

Does Google App Engine Flex support Pipfile?

旧巷老猫 提交于 2020-12-10 04:30:29
问题 For App Engine Standard the explicitly state that they do not support Pipfiles and immediately block you from pushing your project if it contains a Pipfile. In searching the documentation, I don't see anything that mentions if Pipfile is supported or not for App Engine Flex. 回答1: App Engine Flexible (and App Engine Standard) do not support Pipfile / Pipfile.lock . https://cloud.google.com/appengine/docs/flexible/python/using-python-libraries says: Dependencies for python applications are