Edge-ing Out the Competition

Edge-ing Out the Competition

@troysk
@troysk
17 Followers
4 months ago 605

Explore the latest trends in cloud technology, including edge computing, virtualization, and serverless architecture for enhanced performance.

Edge-ing Out the Competition

@troysk4 months ago

Edge-ing Out the Competition

Beyond the cloud

@troysk704, 11/04/2024

                  The Infra Journey

                                  Bare Metal Servers

                                  • · High perform /a.alt nce
                                  • · Direct control over h /a.alt rdw /a.alt re resources
                                  • · Limited in /f.short lexibility /a.alt nd sc /a.alt l /a.alt bility
                                  • · Not well utilised

                                                  Virtualization

                                                  • · Multiple virtu /a.alt l servers run on /a.alt single physic /a.alt l server
                                                  • · Better resource utilis /a.alt tion /a.alt nd improved sc /a.alt l /a.alt bility
                                                  • · Hypervisors; VMw /a.alt re, Xen /a.alt nd KVM
                                                  • · AWS

                                                                  Cloud Computing

                                                                  • · Sc /a.alt l /a.alt ble /a.alt nd on-dem /a.alt nd /a.alt ccess to virtu /a.alt lized resources
                                                                  • · Infr /a.alt structure /a.alt s /a.alt Service (I /a.alt/a.alt S), Pl /a.alt tform /a.alt s /a.alt Service (P /a.alt/a.alt S), /a.alt nd Softw /a.alt re /a.alt s /a.alt Service (S /a.alt/a.alt S)
                                                                  • · El /a.alt sticity, p /a.alt y/a.alt s-you-go pricing, self-service provisioning, /a.alt nd glob /a.alt l /a.alt v /a.alt il /a.alt bility
                                                                  • · Applic /a.alt tion M /a.alt n /a.alt gement rem /a.alt ins troublesome

                                                                                  Containerization

                                                                                  • · Docker
                                                                                  • · Applic /a.alt tions p /a.alt ck /a.alt ged /a.alt long with their dependencies
                                                                                  • · Port /a.alt bility, consistency, /a.alt nd isol /a.alt tion
                                                                                  • · Server needs to keep running

                                                                                                  Serverless

                                                                                                  • · Code only, no infr /a.alt structure
                                                                                                  • · AWS L /a.alt mbd /a.alt , Azure Functions, /a.alt nd Google Cloud Functions
                                                                                                  • · No server m /a.alt n /a.alt gement, reduced oper /a.alt tion /a.alt l overhe /a.alt d, /a.alt utom /a.alt tic sc /a.alt ling, /a.alt nd p /a.alt y-per-execution pricing
                                                                                                  • · Still c /a.alt n't reduce l /a.alt tency on CPU bound t /a.alt sks

                                                                                                                  Edge Computing

                                                                                                                  • · Comput /a.alt tion /a.alt nd d /a.alt t /a.alt stor /a.alt ge closer to end-user
                                                                                                                  • · Reduced l /a.alt tency /a.alt nd b /a.alt ndwidth us /a.alt ge
                                                                                                                  • · Re /a.alt l-time or ne /a.alt r-re /a.alt l-time responses
                                                                                                                  • · CDNs

                                                                                                                                  CDN

                                                                                                                                  • · Cloud /f.short l /a.alt re
                                                                                                                                  • · AWS Cloudfront
                                                                                                                                  • · AWS S3

                                                                                                                                  Source: https:// /a.alt ws. /a.alt m /a.alt zon.com/blogs/networking/a.alt nd-content-delivery/ /a.alt m /a.alt zon-s3/a.alt m /a.alt zon-cloudfront/a.alt -m /a.alt tch-m /a.alt de-in-the-cloud/

                                                                                                                                                  AWS Lambda

                                                                                                                                                  Source: https:// /a.alt ws. /a.alt m /a.alt zon.com/blogs/ /a.alt rchitecture/ /f.short ield-notes-optimizeyour-j /a.alt v /a.alt -/a.alt pplic /a.alt tion-for/a.alt ws-l /a.alt mbd /a.alt -with-qu /a.alt rkus/

                                                                                                                                                                  AWS Lambda

                                                                                                                                                                  https:// /a.alt ws. /a.alt m /a.alt zon.com/blogs/opensource/ /a.alt uto-instrumenting/a.alt -python/a.alt pplic /a.alt tion-with/a.alt n/a.alt ws-distro-for-opentelemetry-l /a.alt mbd /a.alt -l /a.alt yer/

                                                                                                                                                                                  Lambda@Edge

                                                                                                                                                                                  Source: https:// /a.alt ws. /a.alt m /a.alt zon.com/blogs/networking/a.alt nd-content-delivery/ /a.alt dding-http-security-he /a.alt ders-using-l /a.alt mbd /a.alt edge/a.alt nd/a.alt m /a.alt zon-cloudfront/

                                                                                                                                                                                                  Lambda@Edge

                                                                                                                                                                                                  import json context): response = headers = response["headers"] headerNameSrc "X-Amz-Meta-Last-Modified" headerNameDst headers [headerNameDst . Zower()] [headers [headerNameSrc. lower()][ø]] print(f"Response was set to {headers[headerNameSrc.1 return response

                                                                                                                                                                                                  Source: https://docs. /a.alt ws. /a.alt m /a.alt zon.com/Am /a.alt zonCloudFront/l /a.alt test/DeveloperGuide/l /a.alt mbd /a.alt -ex /a.alt mples.html

                                                                                                                                                                                                                  Lambda@Edge

                                                                                                                                                                                                                  Cont /a.alt iners Everywhere!

                                                                                                                                                                                                                                  Imgproxy

                                                                                                                                                                                                                                  Source: https://imgproxy.net/

                                                                                                                                                                                                                                  Guide: https://imgproxy.net/blog/ /a.alt lmost-free-im /a.alt ge-processing-with-imgproxy/a.alt nd/a.alt ws-l /a.alt mbd /a.alt /

                                                                                                                                                                                                                                                  S3 Transfer Acceleration

                                                                                                                                                                                                                                                  • · Uplo /a.alt ds to CloudFront Edge Network
                                                                                                                                                                                                                                                  • · AWS B /a.alt ckbone
                                                                                                                                                                                                                                                  • · Reduced l /a.alt tency in uplo /a.alt ds
                                                                                                                                                                                                                                                                  • What's Next

                                                                                                                                                                                                                                                                    Source: https://www.rese /a.alt rchg /a.alt te.net/ /f.short igure/WebAssembly-d /a.alt t /a.alt -/f.short low/a.alt rchitecture_ /f.short ig1_373229823

                                                                                                                                                                                                                                                                                    Thanks!

@troysk704, 11/04/2024
Beyond the cloud
Edge-ing Out the 
Competition
1/18
The Infra Journey
2/18
Bare Metal Servers
• High performance 
• Direct control over hardware resources 
• Limited in fl…
3/18
Virtualization
• Multiple virtual servers run on a single physical server 
• Better resource util…
4/18
Cloud Computing
• Scalable and on-demand access to virtualized resources 
• Infrastructure as a S…
5/18
Containerization
• Docker 
• Applications packaged along with their dependencies 
• Portability,…
6/18
Serverless
• Code only, no infrastructure 
• AWS Lambda, Azure Functions, and Google Cloud Functi…
7/18
Edge Computing
• Computation and data storage closer to end-user 
• Reduced latency and bandwidth…
8/18
CDN
• Cloudflare 
• AWS Cloudfront 
• AWS S3
Source: https://aws.amazon.com/blogs/networking-an…
9/18
AWS Lambda
Source: https://aws.amazon.com/blogs/architecture/field-notes-optimizeyour-java-applic…
10/18
AWS Lambda
https://aws.amazon.com/blogs/opensource/auto-instrumenting-apython-application-with-an…
11/18
Lambda@Edge
Source: https://aws.amazon.com/blogs/networking-and-content-delivery/adding-http-secur…
12/18
Lambda@Edge
Source: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-exam…
13/18
Lambda@Edge
Containers Everywhere!
14/18
Imgproxy
Guide: https://imgproxy.net/blog/almost-free-image-processing-with-imgproxy-and-aws-lambd…
15/18
S3 Transfer Acceleration
• Uploads to CloudFront Edge Network 
• AWS Backbone 
• Reduced latency…
16/18
What’s Next
Source: https://www.researchgate.net/figure/WebAssembly-data-flowarchitecture_fig1_37…
17/18
Thanks!
18/18


  • Previous
  • Next
  • f Fullscreen
  • esc Exit Fullscreen
@troysk

Share

Edge-ing Out the Competition

Embed code


Swipe LEFT
to view Related

Scroll DOWN
to read doc

Login

OR

Forgot password?

Don't have an account? Sign Up