make easy to get started with a new app, and then make it easy to scale when that app reaches the point where it receiving significant traffic and has millions of users.
for tasks Background threads Not allowed Residence Evicted from memory Startup and shutdown Instances created on demand | Turned down on idle Instance addressability Instances are anonymous Scaling Scales the number of instances automatically Free daily usage quota 28 instance-hours
run indefinitely. Background threads Allowed Residence Possible resident instances, state is preserved. Startup and shutdown Evicted on usage patterns or manually stopped Instance addressability Instances are individually addressable via URL Scaling Configure number or maximum number of instances Free daily usage quota 28 instance-hours
decomposition by following your business logic [Services]. Your solution will then scale on services instead of entire application. This will have a drastic positive impact on resources.
cart valid? Carts data Orders data proceed order Frontend Products products existing? Products data Frontend Carts cart valid? Carts data X Scaling - Scale entire application Frontend Orders Orders data proceed order
cart valid? Carts data Orders data proceed order Frontend Products products existing? Products data Frontend Carts cart valid? Carts data Frontend Orders Orders data proceed order X Scaling - Scale entire application
cart valid? Carts data Orders data proceed order Have access to unnecessary data Code will slowly be implemented in other service. Non isolated datasets
cart valid? Carts data Orders data proceed order Have access to unnecessary data Code will slowly be implemented in other service. Non isolated datasets
Modules are low coupled to ease maintenance. 3. Rely on simple HTTP(S) communication. 4. Data isolation as best practice. 5. Use automated deployment processes.
asynchronous compute solution that allows you to create small, single-purpose functions that respond to cloud events without the need to manage a server or a runtime environment. CLOUD FUNCTIONS ALPHA