Open ghost opened 9 years ago
Memcache is not worth it if you're using a low-tiered Frontend Instance Class (e.g. F1 w/ 128MB ram)... After a certain amount of memory has been utilized, content starts to expire from the Memcache and you end up using instance hours anyways.
Using a lower-tiered Frontend Instance Class really helps with lowering instance hours, you'll realistically not reach the quota if it's set up correctly. Of course, that depends on your needs, alongside the level of traffic that you deal with.
I recommend using Cloudflare with aggressive cache settings (if you aren't already) if you're trying to save bandwidth/instance hours.
Either way I'll attempt to implement Memcache with the static server - You can follow the documentation if you require Memcache immediately - https://cloud.google.com/appengine/docs/go/memcache/
Keep posted!
If memcache is not worth then let's forgot it, I am using cloudflare but not tried aggressive cache, I will give it a try.
Thank you so much.
On Tue 2 Jun, 2015 4:33 pm Andy Tran notifications@github.com wrote:
Memcache is not worth it if you're using a low-tiered Frontend Instance Class (e.g. F1 w/ 128MB ram)... After a certain amount of memory has been utilized, content starts to expire from the Memcache and you end up using instance hours anyways.
Using a lower-tiered Frontend Instance Class really helps with lowering instance hours, you'll realistically not reach the quota if it's set up correctly. Of course, that depends on your needs, alongside the level of traffic that you deal with.
I recommend using Cloudflare https://www.cloudflare.com/ with aggressive cache settings (if you aren't already) if you're trying to save bandwidth/instance hours.
Either way I'll attempt to implement Memcache with the static server - You can follow the documentation if you require Memcache immediately - https://cloud.google.com/appengine/docs/go/memcache/
Keep posted!
— Reply to this email directly or view it on GitHub https://github.com/extramaster/gae-gostatic/issues/1#issuecomment-107916363 .
Hi, i am trying to save some Frontend Instance Hours, i guess Memcache can help a bit but i am unable to figure it out on my own. So how to utilize memcache ?
and can you guide how to use go image service with static files. i am trying to serve onfly resized images in html file (responsive images).