Homemade tiny memcache

I'm moving a Google App Engine web application outside "the cloud" to a standard web framework (webpy) and I would like to know how to implement a memcache feature available on Gae. In my app I...

Google Container clusters VS Managed Instance groups

I'm surveying the google cloud tools that could be used to: deploy and update a micro-service shaped application. So far I focused my attention on two solutions: (a) Container clusters; (b)...

GAE gcloud dev_appserver.py PHP: Failed to read session data: user (path: Memcache)

I run a local Google Cloud App Engine emulator for my PHP (runtime: php55) app. It works, except for PHP sessions. I get the following message: Warning: session_start(): Failed to read session...

How to use the GAE Memcache in node.js on flexible environment

How to use the GAE Memcache in node.js on flexible environment. I don't see the memcache api back in the node.js client lib. (https://googlecloudplatform.github.io/google-cloud-node/#/). There are...

How to implement "Sharding Counters" to create or update single entity more than 5 writes per second in Cloud Datastore?

I need to improve the server's performance by increasing the writing throughput in Google Cloud Datastore. Requirement: When the server gets more than 5 requests to create the user data at the...

Service error in memcache with Java Google App Engine Standard at random time periods

In the past month, our Java Google App Engine Standard Web App started getting strange errors at seemingly random times (see stack trace below). Around this time we made the following...

Google Cloud SQL Performance?

I switched from a join and view based strategy on my old dedicated server to a multiple small queries strategy for Google Cloud. For me this is also easier to maintain and on my dev machine there...

AppEngine Deploy is Conflicting SHA1 sum for a file

I want to deploy an update to our app but we have an issue with gcloud command which failed to "Conflicting SHA1 sum for file". Here is the output: ➜ gcloud app deploy xxx-xxx-xxxx.yaml...

How to access the google app engine ndb datastore from a python2.7 microservice in the same app project

I have been searching away at this but cannot seem to find a simple example of how to access the ndb datastore from a python microservice which lives in the same application as other non service...

Running an Ionic app as a PWA on Firebase hosting

Background We have a large Ionic v1 app that runs on Android (by obtaining it from the Google Play Store) and also on our development machines via "ionic serve". The app uses a Google App Engine...

How to configure Memcache for Django on Google cloud AppEngine?

In my settings i have: CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'LOCATION': '127.0.0.1:11211', } } and i have...

McRouter on Google Cloud cluster. How to deal with node upgrade?

We are running a 3-node mcrouter/memcached kubernetes deployment (through helm) on a Google Cloud cluster. We are using a cluster instead of a single VM to make our web app (which uses memcache...

Connect Objectify caching with Google Cloud MemoryStore

I try to implement Objectify's MemcacheService to run with Google Cloud MemoryStore. I managed to implement the basic methods like put and get, but I have no idea how to implement Set<String>...

Installing google appengine on Google Colab Notebook

I am trying to import some files from my Google Cloud Storage bucket to a Google Colab Notebook. However, I face the following error using the snippet suggested by google. Code: !pip install -U -q...

Memcache alternatives for App Engine Standard second generation runtimes

Google has released the general availability versions of their second generation runtimes for App Engine Standard including Node.js 10, Go 1.11, and PHP 7.2. First generation runtimes included a...

google cloud function import errors in function view log

I have create a google cloud function in python runtime environment which is triggered by the google cloud pubsub and i have also add requirement dependencies but when i run the function it works...

Caching after GAE standard migration to Go 1.11/1.12

I've almost completed migrating based on google's instructions. It's very nice to not have to call into the app-engine libraries whatsoever. However, now I must replace my calls to...

Memcache for App Engine standard environment

I am migrating my Python 2.7 App Engine to App Engine 3.7 runtime (standard environment). I notice that Google's documentation suggests using a third party service like Redis Labs Cloud as an...

Memcached required in Google App Engine Standard and PHP 5.5

I have a website that I want to migrate from a classic server to a Google App Engine Standard environment. It's a PHP code, using Symfony 2.8. I choose the Standard App Engine with PHP 5.5 and...

App Engine Standard connection to Cloud SQL Latency Randomly

I have a pretty "basic" app that we designed that was originally on a local plesk server and we migrated to GAE/GSQL/GCS. app engine, mysql, cloud storage. Here's some background info: App is PHP...

What requirements am I missing on App Engine for those Google libraries?

I have had all my websites on App Engine working great for years and I recently got an email saying everything I used was deprecated. I'm migrating webapp to flask, etc etc. My new server works...

Unable to read/write to Google Sheets from a deployed Cloud Function using google.auth.default credentials

I want to use a Google Cloud Function to read/write to a Google Sheet using the Google Drive API. I've tried deploying the code below as a Cloud Function (triggered by a Pub/Sub): def...

Wordpress Page always Reload Old Cache (LiteSpeed)

My Wordpress run on Google Cloud Platform using LiteSpeed WebServer, below are the specifications: WordPress 5.4.1 PHP 7.3 OpenLiteSpeed 1.6.13 phpMyAdmin 5.0.2 MariaDB 10.4 Redis 5.0.7 Memcached...

How proper enable extension=imagick.so on Google Cloud

I have a VM with Wordpress (click to deploy) on Google Cloud and need extension "ImageMagick". According to this...

Laravel installation and create-project issue

I was facing an issue to install laravel in my ubuntu. Please help me. composer create-project laravel/laravel blog I am getting this error. I had tried various options to solve this. And it...

How to use memcached in Django?

I've seen all over problems using Memcached in Django projects which is considered to be The fastest, most efficient type of cache supported natively by Django For...

500 server error laravel last version php

I used this https://codecanyon.net/item/fleetcart-laravel-ecommerce-system/23014826 for my emarket, and i adding invoice in admin panel. Terminal sie/FleetCart$ composer install Loading composer...

An example of python code to connect to Google cloud memorystore memcached instance

I want to connect to memorystore memcached instance with app engine and python3. I can't see any examples in internet :( How should the content of the app yaml file be and how can I connect to...

Using apache-airflow-providers-snowflake on airflow (no module named Snowflake)

I have installed package apache-airflow-providers-snowflake on airflow on docker and i am getting error No module named Snowflake Please refer attachment (check the error mentioned for the...

import error after upgrade to airflow2.0.2

Received an import error after upgrading to airflow2.0.2-python3.7 image. Package seems to be installed, not sure what is causing the issue and how to fix it. Tried to uninstalling and...