Skip to playerSkip to main content
  • 4 days ago
Transcript
00:00welcome to this module on oracle functions functions is a serverless offering you might
00:09wonder what is serverless let's look into it so as you look at the journey on one axis if you
00:18if you plot abstractions and other axis you plot this control and sort of decreasing concern
00:26it's sort of a journey where you start with a bare metal machine where you have the access to the
00:30full full machine then there is virtual machines where you take that big big bare metal server and
00:38you divide it into smaller segments which which could all be run independently of each other so
00:43you have this this vms and then there is a movement towards container you took all the the vms were
00:49were heavy they took lot of time to boot up they led to you know even to low resource utilization
00:57and lots of other issues they were not portable etc so we took all that and then we created containers
01:03where you have a container runtime the containers share the the os kernel and they have a little
01:10bit weaker security isolation but they have a good resource isolation in terms of cpu and memory
01:15so they could drive your overall resource utilization and the same time they are portable so they really
01:21help in devops adoption you write once you could deploy anywhere right and that's why containers became
01:27really powerful and then there is this journey towards functions where you where you really write
01:34your code in a particular runtime and then you don't worry about servers you don't worry about any of
01:40the infrastructure you just provide the code and and the cloud provider uh is is responsible for
01:45executing that code and and one of the greatest advantages here is it truly leads you to a
01:51consumption based pricing model where you are only built for the time your function is running so you
01:58go from pay as you go pricing to a completely consumption based pricing and that's one of the reasons
02:03why functions adoption is increasing day by day so let let's look at oracle functions and what are the
02:10key characteristics of this particular service so the first thing is its function as a service so
02:16so you write code and and and the code is executed uh some people also like to call it as event driven
02:24architecture so some kind of event happens when function is invoked uh in reality the functions run inside a
02:31container you are built only for the duration the function runs and it's capable of highly parallel
02:37execution now one thing which is also relevant in oracle's case is oracle functions is uh powered by
02:45the fn project open source engine so unlike some of the other cloud vendors out there this particular
02:51uh service is builds on the open source fn uh engine open source engine uh and we talked about some some
02:58some of the things you see on the right hand side it's a truly consumption based uh pricing model
03:03uh the service is sort of autonomous it scales it's capable of highly parallel execution uh and it's
03:10event driven you uh invoke the function uh and uh you know and and and and the code runs based on that
03:17invocation so how does it really work in reality uh the process is really straightforward let me walk you
03:23through the process you uh at a high level you are uploaded code and configuration is packaged as a
03:29container image and stored in the oci registry then you set up trigger actions uh you can invoke using cli
03:36or api or oci events can trigger it and then oracle functions then executes the code in response to the
03:44trigger or invocation which can then invoke any number of other integrations uh with other oci services or
03:51even external systems the thing which makes it really interesting is it's a truly consumption
03:57based pricing model you pay for code execution time only uh the other time when the function is just
04:03sitting there and not being called you pay nothing for that uh and as i discussed uh the functions
04:09has invocation it can be triggered you either directly or through something like an oci events and then
04:15it has integration to other oci services now this is a very simplified view the lot of other details
04:20uh on how the service works uh it's very powerful lot of advanced capabilities given it's a foundational
04:26course uh this is sort of helps you understand uh how oracle functions work and that's it uh serverless
04:34next time somebody says serverless there are server remember there are servers they are running in the
04:40data center but you don't uh care you uh you give us your code and the code is executed uh even though
04:48it's called serverless there are always servers running in the data center i hope you found this
04:52lesson useful thanks for watching
Be the first to comment
Add your comment

Recommended