serverless

parent 199979d9
......@@ -7,7 +7,7 @@ stars: too informal?
---------
não falar dos mapas conceituais como se o leitor já conhecesse.
não falar dos mapas conceituais como se o leitor já conhecesse.
não precisa detalhar qm fez oq
......
serverless
related to function as a service (FaaS)
The Three Generations of AWS
https://www.infoq.com/articles/three-generations-aws?utm_source=articles_about_serverless&utm_medium=link&utm_campaign=serverless
per-request billing and zero server management
custom logic around events
canonical killer Lambda “app”:
is a single JavaScript function that is configured to be automatically called on every new S3 object, say to resize images.
evented programming with Lambda
In 2015, AWS launched an API Gateway service which turns incoming HTTPS requests into events that trigger Lambda functions. This enables Lambda to power Internet-facing APIs with zero servers.
must complete within 5 minutes and can not use more than 5 GB of memory
In EC2 you need to use a configuration management tool like Chef to install dependencies
LEO: oras, e no Lambda como q vc faz com as dependências?
Serverless Takes DevOps to the Next Level
https://www.infoq.com/articles/serverless-takes-devops-next-level?utm_source=articles_about_serverless&utm_medium=link&utm_campaign=serverless
Function-as-a-Service (FaaS) provides a managed runtime for executing any arbitrary code that has been uploaded to this service.
It only charges for the execution count and time.
It abstracts away the setup of the actual runtime (like JVM or NodeJS) and the operating system itself (LEO: PaaS faz isso tb)
LEO Parece que o AWS Beanstalk não pegou mt e pra competir no mercado de PaaS inventaram essa novo buzz.
Functions tend to be responsible for processing simple events or requests so usually don’t require a lot of coding, resulting in small units of concentrated business logic. LEO: hummm.... mais ou menos...
with serverless it’s simply not possible to separate the two areas (devs and ops)
Blergh...
The Future of Serverless Compute
https://www.infoq.com/articles/future-serverless?utm_source=articles_about_serverless&utm_medium=link&utm_campaign=serverless
Organizations will need to embrace the ideas of 'true' DevOps and autonomous, self-sufficient, product teams
Serverless compute = Functions-as-a-Service (FaaS)
AWS Step Functions (LEO: like BPEL!!!)
A fun idea here is that FaaS functions, due to their lightweight application model, can themselves be tightly bound to a service leading to ecosystems of FaaS functions calling services that themselves call other FaaS functions, and so on. This leads to ‘interesting’ problems with cascading errors, for which we need better monitoring tools, as discussed later in this article.
LEO: Coordination Delegates!
lambda is an extremely lightweight programming model that is inherently event driven
InfoQ Virtual Panel: A Practical Approach to Serverless Computing
https://www.infoq.com/articles/practical-serverless-computing?utm_source=articles_about_serverless&utm_medium=link&utm_campaign=serverless
High volume compute is where serverless functions should be able to give really substantial cost benefits.
Serverless products—more accurately referred to as Functions-as-a-Service
stateless, asynchronous paradigm
serverless functions: help in building sophisticated event-driven architectures?
The insane number of services you have to use [to use lambda] (IAM, API Gateway, DynamoDB, SNS, SQS, and on and on) is the opposite of fast startup and testing. LEO não tem milagre...
eliminating server maintenance,... LEO com PaaS tipo Heroku, tb não há "server maintenance"
LEO parece como q explodingo microserviços... deploy não apenas cada microserviço, mas deploy cada função.
you would be able to create a "micro-repo" of serverless functions that are in the source of your microservice application, in this case Spring Boot.
In many ways, platforms like Heroku and Cloud Foundry are similar to serverless. Each of these platforms give developers a way to deploy their applications without worrying about setting up and managing servers. The big difference of course is the cost model. Now developers can create workloads that are long-living but not always on—but are still available. That opens up a range of use cases that developers are just now starting to think about in an enterprise setting.
Most of the FaaS development we have seen has been green field applications that require some form of basic event handling and initial offload.
Ultimately though FaaS is just another tool to be used for certain types of workloads, to make proper use of it teams need a lot of other pieces in place.
We live in a day and age where you just don't need many (if any) sysadmins or network admins or DBAs, and the vast majority of organizations would be better off if they invested more and spent more on cloud and cloud automation in the interest of removing some of the people in those jobs that can now handle orders of magnitude more infrastructure (if done to modern best practices).
to a large extent, each function should be viewed as its own microservice.
At face value, Lambda appears to be a platform service.
Serverless can help you deploy code to production much faster, but can also lengthen the time it takes to iterate on changes locally.
Serverless Still Requires Infrastructure Management
https://www.infoq.com/articles/serverless-infrastructure-management?utm_source=articles_about_serverless&utm_medium=link&utm_campaign=serverless
Serverless Architectures
https://martinfowler.com/articles/serverless.html
TODO
Serverless vs PaaS
IEEE Software
https://www.youtube.com/watch?v=Y6B3Eqlj9Fw
%!PS-Adobe-2.0 EPSF-2.0
%%Title: /home/leonardo/workspaces/papers/survey-devops/products/concepts/concepts-people.dia
%%Creator: Dia v0.97.3
%%CreationDate: Sat Aug 25 12:56:19 2018
%%CreationDate: Tue Oct 16 20:03:01 2018
%%For: leonardo
%%Orientation: Portrait
%%Magnification: 1.0000
......@@ -11309,31 +11309,26 @@ n 59.176070 -0.361960 35.244376 35.244376 172.605541 207.215510 ellipse s
n 27.874746 -16.021071 m 27.884638 -16.580000 l 27.431559 -16.252557 l s
gsave 15.710300 -7.469520 translate 0.035278 -0.035278 scale
start_ol
3396 1920 moveto
3396 2638 3111 3047 conicto
2827 3456 2330 3456 conicto
1833 3456 1548 3047 conicto
1264 2638 1264 1920 conicto
1264 1202 1548 793 conicto
1833 384 2330 384 conicto
2827 384 3111 793 conicto
3396 1202 3396 1920 conicto
1264 3328 moveto
1462 3653 1763 3810 conicto
2064 3968 2483 3968 conicto
3178 3968 3612 3404 conicto
4047 2840 4047 1920 conicto
4047 1000 3612 436 conicto
3178 -128 2483 -128 conicto
2064 -128 1763 29 conicto
1462 187 1264 512 conicto
1264 0 lineto
634 0 lineto
634 5312 lineto
1264 5312 lineto
1264 3328 lineto
2136 3456 moveto
1632 3456 1339 3045 conicto
1046 2635 1046 1920 conicto
1046 1205 1337 794 conicto
1628 384 2136 384 conicto
2636 384 2929 796 conicto
3222 1209 3222 1920 conicto
3222 2628 2929 3042 conicto
2636 3456 2136 3456 conicto
2136 3968 moveto
2954 3968 3420 3424 conicto
3887 2881 3887 1920 conicto
3887 962 3420 417 conicto
2954 -128 2136 -128 conicto
1315 -128 850 417 conicto
385 962 385 1920 conicto
385 2881 850 3424 conicto
1315 3968 2136 3968 conicto
end_ol grestore
gsave 16.294748 -7.469520 translate 0.035278 -0.035278 scale
gsave 16.274772 -7.469520 translate 0.035278 -0.035278 scale
start_ol
2868 3264 moveto
2762 3330 2638 3361 conicto
......@@ -11351,32 +11346,142 @@ start_ol
2769 3936 2865 3904 conicto
2868 3264 lineto
end_ol grestore
gsave 16.654408 -7.469520 translate 0.035278 -0.035278 scale
gsave 16.654416 -7.469520 translate 0.035278 -0.035278 scale
start_ol
3921 2112 moveto
3921 1792 lineto
1039 1792 lineto
1080 1104 1429 744 conicto
1778 384 2401 384 conicto
2762 384 3101 480 conicto
3440 576 3774 768 conicto
3774 192 lineto
3437 36 3082 -46 conicto
2728 -128 2364 -128 conicto
1451 -128 918 415 conicto
385 959 385 1885 conicto
385 2843 891 3405 conicto
1397 3968 2255 3968 conicto
3025 3968 3473 3469 conicto
3921 2970 3921 2112 conicto
3294 2304 moveto
3287 2830 3006 3143 conicto
2725 3456 2262 3456 conicto
1737 3456 1422 3153 conicto
1107 2850 1059 2301 conicto
3294 2304 lineto
657 3840 moveto
1284 3840 lineto
1284 0 lineto
657 0 lineto
657 3840 lineto
657 5312 moveto
1284 5312 lineto
1284 4544 lineto
657 4544 lineto
657 5312 lineto
end_ol grestore
gsave 16.911674 -7.469520 translate 0.035278 -0.035278 scale
start_ol
3168 1982 moveto
3168 2684 2887 3070 conicto
2606 3456 2098 3456 conicto
1594 3456 1313 3070 conicto
1032 2684 1032 1982 conicto
1032 1284 1313 898 conicto
1594 512 2098 512 conicto
2606 512 2887 898 conicto
3168 1284 3168 1982 conicto
3795 462 moveto
3795 -517 3362 -994 conicto
2930 -1472 2037 -1472 conicto
1707 -1472 1414 -1425 conicto
1121 -1378 845 -1280 conicto
845 -640 lineto
1121 -804 1390 -882 conicto
1659 -960 1938 -960 conicto
2555 -960 2861 -633 conicto
3168 -307 3168 352 conicto
3168 640 lineto
2974 318 2671 159 conicto
2368 0 1945 0 conicto
1243 0 814 543 conicto
385 1086 385 1982 conicto
385 2882 814 3425 conicto
1243 3968 1945 3968 conicto
2368 3968 2671 3809 conicto
2974 3650 3168 3328 conicto
3168 3840 lineto
3795 3840 lineto
3795 462 lineto
end_ol grestore
gsave 17.221377 -7.469520 translate 0.035278 -0.035278 scale
gsave 17.496122 -7.469520 translate 0.035278 -0.035278 scale
start_ol
657 3840 moveto
1284 3840 lineto
1284 0 lineto
657 0 lineto
657 3840 lineto
657 5312 moveto
1284 5312 lineto
1284 4544 lineto
657 4544 lineto
657 5312 lineto
end_ol grestore
gsave 17.753379 -7.469520 translate 0.035278 -0.035278 scale
start_ol
3829 2332 moveto
3829 0 lineto
3202 0 lineto
3202 2312 lineto
3202 2854 2991 3123 conicto
2780 3392 2357 3392 conicto
1850 3392 1557 3068 conicto
1264 2744 1264 2184 conicto
1264 0 lineto
634 0 lineto
634 3840 lineto
1264 3840 lineto
1264 3264 lineto
1489 3618 1794 3793 conicto
2099 3968 2497 3968 conicto
3155 3968 3492 3553 conicto
3829 3138 3829 2332 conicto
end_ol grestore
gsave 18.337827 -7.469520 translate 0.035278 -0.035278 scale
start_ol
2391 1920 moveto
1632 1920 1339 1741 conicto
1046 1562 1046 1131 conicto
1046 787 1265 585 conicto
1485 384 1864 384 conicto
2385 384 2700 765 conicto
3015 1147 3015 1780 conicto
3015 1920 lineto
2391 1920 lineto
3641 2190 moveto
3641 0 lineto
3015 0 lineto
3015 576 lineto
2800 215 2480 43 conicto
2160 -128 1697 -128 conicto
1111 -128 765 207 conicto
419 543 419 1107 conicto
419 1764 850 2098 conicto
1281 2432 2136 2432 conicto
3015 2432 lineto
3015 2498 lineto
3015 2955 2730 3205 conicto
2446 3456 1931 3456 conicto
1604 3456 1294 3376 conicto
984 3296 698 3136 conicto
698 3712 lineto
1042 3840 1365 3904 conicto
1689 3968 1996 3968 conicto
2824 3968 3232 3527 conicto
3641 3086 3641 2190 conicto
end_ol grestore
gsave 18.902299 -7.469520 translate 0.035278 -0.035278 scale
start_ol
1277 4928 moveto
1277 3840 lineto
2568 3840 lineto
2568 3328 lineto
1277 3328 lineto
1277 1248 lineto
1277 779 1405 645 conicto
1533 512 1925 512 conicto
2568 512 lineto
2568 0 lineto
1925 0 lineto
1199 0 923 269 conicto
647 538 647 1248 conicto
647 3328 lineto
187 3328 lineto
187 3840 lineto
647 3840 lineto
647 4928 lineto
1277 4928 lineto
end_ol grestore
gsave 19.264456 -7.469520 translate 0.035278 -0.035278 scale
start_ol
3921 2112 moveto
3921 1792 lineto
......@@ -11401,33 +11506,7 @@ start_ol
1107 2850 1059 2301 conicto
3294 2304 lineto
end_ol grestore
gsave 17.788346 -7.469520 translate 0.035278 -0.035278 scale
start_ol
3168 3328 moveto
3168 5312 lineto
3795 5312 lineto
3795 0 lineto
3168 0 lineto
3168 512 lineto
2970 187 2669 29 conicto
2368 -128 1945 -128 conicto
1254 -128 819 436 conicto
385 1000 385 1920 conicto
385 2840 819 3404 conicto
1254 3968 1945 3968 conicto
2368 3968 2669 3810 conicto
2970 3653 3168 3328 conicto
1032 1920 moveto
1032 1202 1316 793 conicto
1601 384 2098 384 conicto
2596 384 2882 793 conicto
3168 1202 3168 1920 conicto
3168 2638 2882 3047 conicto
2596 3456 2098 3456 conicto
1601 3456 1316 3047 conicto
1032 2638 1032 1920 conicto
end_ol grestore
gsave 18.372794 -7.469520 translate 0.035278 -0.035278 scale
gsave 19.831425 -7.469520 translate 0.035278 -0.035278 scale
start_ol
3089 3776 moveto
3089 3200 lineto
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment