Shared file cache for AppEngine Flex

91 views
Skip to first unread message

Marek Scholaster

unread,
Oct 21, 2019, 8:18:27 AM10/21/19
to Google App Engine
I have an app on GAE-Flex which reads files from Cloud Storage. To make subsequent requests faster I'm caching these files in local file system (/tmp).
This works fine for one instance of the app. But in case of more running instances (due to scaling) each instance has its own disk storage and the effect of cache disappears.

Is there a service for AppEngine Flex which could be used as a fast shared disk storage / cache?
Or is the only option to move the app to Compute Engine and use Google Filestore?

Thanks, Marek 

Yasser Karout

unread,
Oct 21, 2019, 11:00:25 AM10/21/19
to Google App Engine
Hello,

Have you looked into using Memecached and Redis to cache your application data instead of tmp?

Reply all
Reply to author
Forward
0 new messages