Hi - Code Engine is similar to Functions - both will scale up/down based on load. CE is slightly different in that it allows each instance of your workload to process multiple requests at one time, while Fn is single threaded. But you can configure CE to be single threaded if you want - the choice is yours. Today, CE requires you to put an HTTP server into your workload, while Fn doesn't - but that's a point in time statement. Soon you'll be able to give CE just the "function" w/o the HTTP server like Fn supports. At a high-level you can consider CE and Fn to both offer similar features. Where CE differs is that it supports more types of workloads - not just functions but traditional webapps and batch jobs. And long running workloads w/o the same cpu/memory/request-timeout limits that you would see from traditional function platforms.
With respect to auto-scaling, by default CE will scale based on the number of requests hitting each instance. So, for example, you can say "I only want 50 requests per instance" and then once that's reached, it'll bring up more. There is a way to set the maximum number of instances too - to prevent a surprise large bill :-)
------------------------------
Doug Davis
------------------------------
Original Message:
Sent: Tue June 22, 2021 12:58 PM
From: Jason Juliano
Subject: June 22 #AMA with IBM Cloud Code Engine Experts
Hi Doug, Can you go into the difference on using IBM Code Engine vs Cloud functions? In addition, can you give a summary of how the autoscaling works based on increasing performance on a web app using IBM services.
Thanks!
------------------------------
[Jason] [Juliano] [Mr.]
[CEO]
[Aponia]
[NY] [NY]
[9144009430]
Original Message:
Sent: Mon May 03, 2021 09:27 AM
From: Krista Summitt
Subject: June 22 #AMA with IBM Cloud Code Engine Experts
------------------------------
Krista Summitt
------------------------------