4 ms·
Do you just read the response linearly? What made you choose GCS instead of something like memcache With some kind of chunking?
by foota 5y ago
Do you just read the response linearly? What made you choose GCS instead of something like memcache With some kind of chunking?
- collaborative 5y agoSo the great thing about using an F1 instance is that it completely falls under the free tier (28hrs/day) There is no memcache in node.js F1 but what I do is I use the GCS container itself as stream memory instead of the usual node.js memory multer (yes, this is possible!) This only adds a few ms to the read op which is entirely fine
- arthurcolle 5y ago28 hrs/ day...?
- collaborative 5y ago1 instance running all day = 24 hrs Times as many instances as you have. So 28 hrs = 1 instance running all day + an extra 4 hours of a second instance It auto scales
- arthurcolle 5y agoThanks, thought I had slipped into an alternative dimension. Appreciate you helping me take the edge off.
- collaborative 5y agoNo probs mate