Edge-ing Out the Competition

    Edge-ing Out the Competition

    T
    @troysk
    17 Followers
    9 months ago 787

    AIAI Summary

    toggle
    Bulleted
    toggle
    Text

    Key Insights

    @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 flexibility and scalability 
• Not well utilised
    3/18
    Virtualization
• Multiple virtual servers run on a single physical server 
• Better resource utilisation and improved scalability 
• Hypervisors; VMware, Xen and KVM 
• AWS
    4/18
    Cloud Computing
• Scalable and on-demand access to virtualized resources 
• Infrastructure as a Service (IaaS), Platform as a Service (PaaS), and 
Software as a Service (SaaS) 
• Elasticity, pay-as-you-go pricing, self-service provisioning, and global 
availability 
• Application Management remains troublesome
    5/18
    Containerization
• Docker 
• Applications packaged along with their dependencies 
• Portability, consistency, and isolation 
• Server needs to keep running
    6/18
    Serverless
• Code only, no infrastructure 
• AWS Lambda, Azure Functions, and Google Cloud Functions 
• No server management, reduced operational overhead, automatic 
scaling, and pay-per-execution pricing 
• Still can’t reduce latency on CPU bound tasks
    7/18
    Edge Computing
• Computation and data storage closer to end-user 
• Reduced latency and bandwidth usage 
• Real-time or near-real-time responses 
• CDNs
    8/18
    CDN
• Cloudflare 
• AWS Cloudfront 
• AWS S3
Source: https://aws.amazon.com/blogs/networking-and-content-delivery/amazon-s3-
amazon-cloudfront-a-match-made-in-the-cloud/
    9/18
    AWS Lambda
Source: https://aws.amazon.com/blogs/architecture/field-notes-optimizeyour-java-application-for-aws-lambda-with-quarkus/
    10/18
    AWS Lambda
https://aws.amazon.com/blogs/opensource/auto-instrumenting-apython-application-with-an-aws-distro-for-opentelemetry-lambdalayer/
    11/18
    Lambda@Edge
Source: https://aws.amazon.com/blogs/networking-and-content-delivery/adding-http-security-headers-using-lambdaedgeand-amazon-cloudfront/
    12/18
    Lambda@Edge
Source: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-examples.html
    13/18
    Lambda@Edge
Containers Everywhere!
    14/18
    Imgproxy
Guide: https://imgproxy.net/blog/almost-free-image-processing-with-imgproxy-and-aws-lambda/
Source: https://imgproxy.net/
    15/18
    S3 Transfer Acceleration
• Uploads to CloudFront Edge Network 
• AWS Backbone 
• Reduced latency in uploads
    16/18
    What’s Next
Source: https://www.researchgate.net/figure/WebAssembly-data-flowarchitecture_fig1_373229823
    17/18
    Thanks!
    18/18

    Edge-ing Out the Competition

    • 1. @troysk704, 11/04/2024 Beyond the cloud Edge-ing Out the Competition
    • 2. The Infra Journey
    • 3. Bare Metal Servers • High performance • Direct control over hardware resources • Limited in flexibility and scalability • Not well utilised
    • 4. Virtualization • Multiple virtual servers run on a single physical server • Better resource utilisation and improved scalability • Hypervisors; VMware, Xen and KVM • AWS
    • 5. Cloud Computing • Scalable and on-demand access to virtualized resources • Infrastructure as a Service (IaaS), Platform as a Service (PaaS), and Software as a Service (SaaS) • Elasticity, pay-as-you-go pricing, self-service provisioning, and global availability • Application Management remains troublesome
    • 6. Containerization • Docker • Applications packaged along with their dependencies • Portability, consistency, and isolation • Server needs to keep running
    • 7. Serverless • Code only, no infrastructure • AWS Lambda, Azure Functions, and Google Cloud Functions • No server management, reduced operational overhead, automatic scaling, and pay-per-execution pricing • Still can’t reduce latency on CPU bound tasks
    • 8. Edge Computing • Computation and data storage closer to end-user • Reduced latency and bandwidth usage • Real-time or near-real-time responses • CDNs
    • 9. CDN • Cloudflare • AWS Cloudfront • AWS S3 Source: https://aws.amazon.com/blogs/networking-and-content-delivery/amazon-s3- amazon-cloudfront-a-match-made-in-the-cloud/
    • 10. AWS Lambda Source: https://aws.amazon.com/blogs/architecture/field-notes-optimizeyour-java-application-for-aws-lambda-with-quarkus/
    • 11. AWS Lambda https://aws.amazon.com/blogs/opensource/auto-instrumenting-apython-application-with-an-aws-distro-for-opentelemetry-lambdalayer/
    • 12. Lambda@Edge Source: https://aws.amazon.com/blogs/networking-and-content-delivery/adding-http-security-headers-using-lambdaedgeand-amazon-cloudfront/
    • 13. Lambda@Edge Source: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-examples.html
    • 14. Lambda@Edge Containers Everywhere!
    • 15. Imgproxy Guide: https://imgproxy.net/blog/almost-free-image-processing-with-imgproxy-and-aws-lambda/ Source: https://imgproxy.net/
    • 16. S3 Transfer Acceleration • Uploads to CloudFront Edge Network • AWS Backbone • Reduced latency in uploads
    • 17. What’s Next Source: https://www.researchgate.net/figure/WebAssembly-data-flowarchitecture_fig1_373229823
    • 18. Thanks!


    • Previous
    • Next
    • f Fullscreen
    • esc Exit Fullscreen