SlideShare ist ein Scribd-Unternehmen logo
1 von 49
Downloaden Sie, um offline zu lesen
FULLSTACK TECH RADAR DAY
The #2nd_half
Scaling to the #next2
Haggai Philip Zagury, DevOps Group & Tech Lead
FULLSTACK TECH RADAR DAY
Who we are
Tikal helps ISV’s in Israel & abroad in their technological
challenges.
Our Engineers are Fullstack Developers with expertise in Android,
DevOps, Java, JS, Python, ML
We are passionate about technology and specialise in
OpenSource technologies.
Our Tech and Group leaders help establish & enhance existing
software teams with innovative & creative thinking.
https://www.meetup.com/full-stack-developer-il/
FULLSTACK TECH RADAR DAY
Haggai Philip Zagury - DevOps Group & Tech lead
My open thinking and open techniques ideology is driven by
Open Source technologies and the collaborative manner defining
my M.O.
My solution driven approach is strongly based on hands-on and
deep understanding of Operating Systems, Applications stacks and
Software languages, Networking, Cloud in general and today more
and more Cloud Native solutions.
FULLSTACK TECH RADAR DAY
Planning a data pipeline (with constraints)
● An event driven application
FULLSTACK TECH RADAR DAY
Planning a data pipeline (with constraints)
● An event driven application
● High Resolution Video Streams from multiple locations
● Plan for 10s of simultaneous sources …
Digest
FULLSTACK TECH RADAR DAY
Planning a data pipeline (with constraints)
● An event driven application
● High Resolution Video Streams from multiple locations
● Plan for 10s of simultaneous sources …
● Data enrichment pipelines
Digest Enrich
FULLSTACK TECH RADAR DAY
Planning a data pipeline (with constraints)
● An event driven application
● High Resolution Video Streams from multiple locations
● Plan for 10s of simultaneous sources …
● Data enrichment pipelines
● Output an HD display in near real-time (+- 8sec)
Digest Enrich
FULLSTACK TECH RADAR DAY
@scale - point #1
● The board emphasises a perquisite that
we have unlimited resources to
complete the task …
● Which isn’t the case in real-life …
FULLSTACK TECH RADAR DAY
@scale - point #2
● If you have a consistent measurable unit
● you can plan your journey to the next
square either by:
● Being more Efficient
● Doubling* your compute power
(not accurate will explain later why)
FULLSTACK TECH RADAR DAY
Planning a data pipeline - starting point
● The scale is not predictable …
● As you grow so does your supporting
services …
● Dealing with debug logs in a section
of a cluster means 6 times network
traffic
FULLSTACK TECH RADAR DAY
Planning a data pipeline - reality
● The scale is not predictable …
● As you grow so does your supporting
services …
● Dealing with debug logs in a section
of a cluster means 6 times network
traffic
● Deployment complexity increases …
FULLSTACK TECH RADAR DAY
FULLSTACK TECH RADAR DAY
The cloud is your friend
● Managed Services
● Solving Complexity of operation
● Increases/Decreases Price (in most
cases)
● Pay as You go …
● Polyglottism / “Architecture captivity“
FULLSTACK TECH RADAR DAY
Solution
FULLSTACK TECH RADAR DAY
Solution
How to store data for
optimised
r/w procedures
55,000 read requests per second
Hitting S3 Limit on >=10 simultaneous streams
FULLSTACK TECH RADAR DAY
Solution
How to store data for
optimised
r/w procedures
55,000 read requests per second
Hitting S3 Limit on >=10 simultaneous streams
# Complexitynext2
FULLSTACK TECH RADAR DAY
Solution
FULLSTACK TECH RADAR DAY
Solution
Performance ?
FULLSTACK TECH RADAR DAY
Solution
Performance ?
#2nd_half ?
FULLSTACK TECH RADAR DAY
VM vs Container*
Performance ?
Less ComplexityMore Complexity Gpu/Tpu
FULLSTACK TECH RADAR DAY
Solution
FULLSTACK TECH RADAR DAY
Solution
* is on the network !
FULLSTACK TECH RADAR DAY
Solve drift … with “money”
● 1 frame (of 45MB) * 30 frames per sec = 1350 MB == 1.35 GB == 10.8 Gb
> 10 Gb
FULLSTACK TECH RADAR DAY
EC2 Network performance comparison
● Worth a read on ec2 network performance
○ https://docs.google.com/spreadsheets/d/1N2xQqry-
zAKnK6FtW8X5zBYhMiFFnuMySMpx7f3K60s/edit?usp=sharing
○ https://cloudonaut.io/ec2-network-performance-cheat-sheet/
FULLSTACK TECH RADAR DAY
Solution
* is on the network !
FULLSTACK TECH RADAR DAY
Solution
Multi-tenancy ?
who did what, when ?
FULLSTACK TECH RADAR DAY
Resource Tags are your friend !
● Tagging resources
● Putting price tags on operations !
● How much did pipeline1 cost ?
● Can I do it faster ? [ Time ]
● Each enrichment service has it’s own
cluster optimised for Compute unit sizes
staging
stream
infra
FULLSTACK TECH RADAR DAY
Solution
FULLSTACK TECH RADAR DAY
#2nd_half or # issues …next2
Justin Ryan
https://qconsf.com/sf2019/presentation/scaling-patterns-netflixs-edge
Scaling Patterns for Netflix's Edge
FULLSTACK TECH RADAR DAY
#2nd_half or # issues …next2
https://www.infoq.com/presentations/efficiency-better-software-faster/
Todd Montgomery
Todd Montgomery explores the everyday things that those with an eye to
performance and efficiency do that can be leveraged by anyone to build better software faster.
FULLSTACK TECH RADAR DAY
Compute
Buffet ;)
● Taken @SFO
Nov 2019
UNDER
THE
HOOD
FULLSTACK TECH RADAR DAY
So building distributed systems is hard
FULLSTACK TECH RADAR DAY
So building distributed systems is hard
FULLSTACK TECH RADAR DAY
The #2nd half/ # solution(s)next2
● What is the 2nd half of the table problem(s)
● ***** real-life scenario !
● Scale ability -> Capacity planning in the “Container Orchestration Era”
● (in the past Marathon) Kubernetes
● FaaS (e.g. AWS Lambda)
● Nomad
FULLSTACK TECH RADAR DAY
Lego for the masses
● Solves Complexity (i know debatable …)
● 1 size fit all
background image by @hagzag
FULLSTACK TECH RADAR DAY
Commoditize compute unit management
kubectl get deploy -n kube-system
cert-manager 1/1 1 1 58d
cert-manager-cainjector 1/1 1 1 58d
cert-manager-webhook 1/1 1 1 58d
coredns 2/2 2 2 173d
enternal-dns-prod-external-dns 1/1 1 1 171d
kube-slack 1/1 1 1 173d
tiller-deploy 1/1 1 1 173d
FULLSTACK TECH RADAR DAY
Resource Limits apiVersion: v1
kind: Pod
metadata:
name: frontend
spec:
containers:
- name: db
image: mysql
env:
- name: MYSQL_ROOT_PASSWORD
value: "password"
resources:
requests:
memory: "64Mi"
cpu: "250m"
limits:
memory: "128Mi"
cpu: "500m"
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: test-network-policy
namespace: default
spec:
podSelector:
matchLabels:
role: db
policyTypes:
- Ingress
- Egress
ingress:
- from:
- ipBlock:
cidr: 172.17.0.0/16
except:
- 172.17.1.0/24
- namespaceSelector:
matchLabels:
project: myproject
- podSelector:
matchLabels:
Resource Limits
FULLSTACK TECH RADAR DAY
Time Days Minuets Seconds Milliseconds
Cost
Agility
Scalability
https://www.slideshare.net/BryanMcAninch/the-faas-and-the-curious-86874211
FULLSTACK TECH RADAR DAY
Make the best of what you have ?
● Be more accurate / precise in what you do !
● Measuring techniques (that scale)
FULLSTACK TECH RADAR DAY
Guess what ?
They both get to Eilat !
FULLSTACK TECH RADAR DAY
Keep Efficiency in mind
Time
Price
Complexity
Define your Quantifiable unit !
FULLSTACK TECH RADAR DAY
F
● A Fixed unit size Grid == FaaS
FULLSTACK TECH RADAR DAY
Solving complexity …
FULLSTACK TECH RADAR DAY
Load Shifting & Peak Shaving
FULLSTACK TECH RADAR DAY
Keep Efficiency in mind
Time
Price
Complexity
Define your Quantifiable unit !
Thank you for taking the Time !

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

Deep Learning - Continuous Operations
Deep Learning - Continuous Operations Deep Learning - Continuous Operations
Deep Learning - Continuous Operations
 
Whats all the FaaS About
Whats all the FaaS AboutWhats all the FaaS About
Whats all the FaaS About
 
Kubexperience intro session
Kubexperience intro sessionKubexperience intro session
Kubexperience intro session
 
Helm intro
Helm introHelm intro
Helm intro
 
Terraform 101: What's infrastructure as code?
Terraform 101: What's infrastructure as code?Terraform 101: What's infrastructure as code?
Terraform 101: What's infrastructure as code?
 
Serverless, Tekton, and Argo CD: How to craft modern CI/CD workflows | DevNat...
Serverless, Tekton, and Argo CD: How to craft modern CI/CD workflows | DevNat...Serverless, Tekton, and Argo CD: How to craft modern CI/CD workflows | DevNat...
Serverless, Tekton, and Argo CD: How to craft modern CI/CD workflows | DevNat...
 
Real-Time Data Processing Pipeline & Visualization with Docker, Spark, Kafka ...
Real-Time Data Processing Pipeline & Visualization with Docker, Spark, Kafka ...Real-Time Data Processing Pipeline & Visualization with Docker, Spark, Kafka ...
Real-Time Data Processing Pipeline & Visualization with Docker, Spark, Kafka ...
 
Spring Boot to Quarkus: A real app migration experience | DevNation Tech Talk
Spring Boot to Quarkus: A real app migration experience | DevNation Tech TalkSpring Boot to Quarkus: A real app migration experience | DevNation Tech Talk
Spring Boot to Quarkus: A real app migration experience | DevNation Tech Talk
 
DockerCon EU 2015: The Glue is the Hard Part: Making a Production-Ready PaaS
DockerCon EU 2015: The Glue is the Hard Part: Making a Production-Ready PaaSDockerCon EU 2015: The Glue is the Hard Part: Making a Production-Ready PaaS
DockerCon EU 2015: The Glue is the Hard Part: Making a Production-Ready PaaS
 
From Zero to Cloud: Revolutionize your Application Life Cycle with OpenShift ...
From Zero to Cloud: Revolutionize your Application Life Cycle with OpenShift ...From Zero to Cloud: Revolutionize your Application Life Cycle with OpenShift ...
From Zero to Cloud: Revolutionize your Application Life Cycle with OpenShift ...
 
Spinnaker Summit 2018: CI/CD Patterns for Kubernetes with Spinnaker
Spinnaker Summit 2018: CI/CD Patterns for Kubernetes with SpinnakerSpinnaker Summit 2018: CI/CD Patterns for Kubernetes with Spinnaker
Spinnaker Summit 2018: CI/CD Patterns for Kubernetes with Spinnaker
 
KubeCon EU 2016: Kubernetes and the Potential for Higher Level Interfaces
KubeCon EU 2016: Kubernetes and the Potential for Higher Level InterfacesKubeCon EU 2016: Kubernetes and the Potential for Higher Level Interfaces
KubeCon EU 2016: Kubernetes and the Potential for Higher Level Interfaces
 
OpenShift Overview
OpenShift OverviewOpenShift Overview
OpenShift Overview
 
Build Your Own PaaS, Just like Red Hat's OpenShift from LinuxCon 2013 New Orl...
Build Your Own PaaS, Just like Red Hat's OpenShift from LinuxCon 2013 New Orl...Build Your Own PaaS, Just like Red Hat's OpenShift from LinuxCon 2013 New Orl...
Build Your Own PaaS, Just like Red Hat's OpenShift from LinuxCon 2013 New Orl...
 
An Overview of Spinnaker
An Overview of SpinnakerAn Overview of Spinnaker
An Overview of Spinnaker
 
Ansible @ Red Hat | December 2015 Ansible Meetup in Melbourne
Ansible @ Red Hat | December 2015 Ansible Meetup in MelbourneAnsible @ Red Hat | December 2015 Ansible Meetup in Melbourne
Ansible @ Red Hat | December 2015 Ansible Meetup in Melbourne
 
Kubernetes training
Kubernetes trainingKubernetes training
Kubernetes training
 
Docker Summit 2016 - Kubernetes: Sweets and Bitters
Docker Summit 2016 - Kubernetes: Sweets and BittersDocker Summit 2016 - Kubernetes: Sweets and Bitters
Docker Summit 2016 - Kubernetes: Sweets and Bitters
 
Automated Serverless Pipelines with #GitOps on Codefresh
Automated Serverless Pipelines with #GitOps on CodefreshAutomated Serverless Pipelines with #GitOps on Codefresh
Automated Serverless Pipelines with #GitOps on Codefresh
 
Spinnaker Summit 2019: Where are we heading? The Future of Continuous Delivery
Spinnaker Summit 2019: Where are we heading? The Future of Continuous DeliverySpinnaker Summit 2019: Where are we heading? The Future of Continuous Delivery
Spinnaker Summit 2019: Where are we heading? The Future of Continuous Delivery
 

Ähnlich wie The 2nd half. Scaling to the next^2

Taste Java In The Clouds
Taste Java In The CloudsTaste Java In The Clouds
Taste Java In The Clouds
Jacky Chu
 

Ähnlich wie The 2nd half. Scaling to the next^2 (20)

Scalable Monitoring Using Prometheus with Apache Spark Clusters with Diane F...
 Scalable Monitoring Using Prometheus with Apache Spark Clusters with Diane F... Scalable Monitoring Using Prometheus with Apache Spark Clusters with Diane F...
Scalable Monitoring Using Prometheus with Apache Spark Clusters with Diane F...
 
SCALABLE MONITORING USING PROMETHEUS WITH APACHE SPARK
SCALABLE MONITORING USING PROMETHEUS WITH APACHE SPARKSCALABLE MONITORING USING PROMETHEUS WITH APACHE SPARK
SCALABLE MONITORING USING PROMETHEUS WITH APACHE SPARK
 
Improving Apache Spark Downscaling
 Improving Apache Spark Downscaling Improving Apache Spark Downscaling
Improving Apache Spark Downscaling
 
Speeding up Programs with OpenACC in GCC
Speeding up Programs with OpenACC in GCCSpeeding up Programs with OpenACC in GCC
Speeding up Programs with OpenACC in GCC
 
Best practices for optimizing Red Hat platforms for large scale datacenter de...
Best practices for optimizing Red Hat platforms for large scale datacenter de...Best practices for optimizing Red Hat platforms for large scale datacenter de...
Best practices for optimizing Red Hat platforms for large scale datacenter de...
 
Fórum E-Commerce Brasil | Tecnologias NVIDIA aplicadas ao e-commerce. Muito a...
Fórum E-Commerce Brasil | Tecnologias NVIDIA aplicadas ao e-commerce. Muito a...Fórum E-Commerce Brasil | Tecnologias NVIDIA aplicadas ao e-commerce. Muito a...
Fórum E-Commerce Brasil | Tecnologias NVIDIA aplicadas ao e-commerce. Muito a...
 
Cuda meetup presentation 5
Cuda meetup presentation 5Cuda meetup presentation 5
Cuda meetup presentation 5
 
Fast data in times of crisis with GPU accelerated database QikkDB | Business ...
Fast data in times of crisis with GPU accelerated database QikkDB | Business ...Fast data in times of crisis with GPU accelerated database QikkDB | Business ...
Fast data in times of crisis with GPU accelerated database QikkDB | Business ...
 
Spark Driven Big Data Analytics
Spark Driven Big Data AnalyticsSpark Driven Big Data Analytics
Spark Driven Big Data Analytics
 
G rpc talk with intel (3)
G rpc talk with intel (3)G rpc talk with intel (3)
G rpc talk with intel (3)
 
A performance analysis of OpenStack Cloud vs Real System on Hadoop Clusters
A performance analysis of OpenStack Cloud vs Real System on Hadoop ClustersA performance analysis of OpenStack Cloud vs Real System on Hadoop Clusters
A performance analysis of OpenStack Cloud vs Real System on Hadoop Clusters
 
Spark day 2017 - Spark on Kubernetes
Spark day 2017 - Spark on KubernetesSpark day 2017 - Spark on Kubernetes
Spark day 2017 - Spark on Kubernetes
 
Extreme Apache Spark: how in 3 months we created a pipeline that can process ...
Extreme Apache Spark: how in 3 months we created a pipeline that can process ...Extreme Apache Spark: how in 3 months we created a pipeline that can process ...
Extreme Apache Spark: how in 3 months we created a pipeline that can process ...
 
Enterprise Application Migration
Enterprise Application MigrationEnterprise Application Migration
Enterprise Application Migration
 
Docker and-containers-for-development-and-deployment-scale12x
Docker and-containers-for-development-and-deployment-scale12xDocker and-containers-for-development-and-deployment-scale12x
Docker and-containers-for-development-and-deployment-scale12x
 
Gluing the IoT world with Java and LoRaWAN
Gluing the IoT world with Java and LoRaWANGluing the IoT world with Java and LoRaWAN
Gluing the IoT world with Java and LoRaWAN
 
Taste Java In The Clouds
Taste Java In The CloudsTaste Java In The Clouds
Taste Java In The Clouds
 
JOSA TechTalks - Downgrade your Costs
JOSA TechTalks - Downgrade your CostsJOSA TechTalks - Downgrade your Costs
JOSA TechTalks - Downgrade your Costs
 
Data Engineer's Lunch #82: Automating Apache Cassandra Operations with Apache...
Data Engineer's Lunch #82: Automating Apache Cassandra Operations with Apache...Data Engineer's Lunch #82: Automating Apache Cassandra Operations with Apache...
Data Engineer's Lunch #82: Automating Apache Cassandra Operations with Apache...
 
Kubernetes Forum Seoul 2019: Re-architecting Data Platform with Kubernetes
Kubernetes Forum Seoul 2019: Re-architecting Data Platform with KubernetesKubernetes Forum Seoul 2019: Re-architecting Data Platform with Kubernetes
Kubernetes Forum Seoul 2019: Re-architecting Data Platform with Kubernetes
 

Mehr von Haggai Philip Zagury

Tce automation-d4-110102123012-phpapp01
Tce automation-d4-110102123012-phpapp01Tce automation-d4-110102123012-phpapp01
Tce automation-d4-110102123012-phpapp01
Haggai Philip Zagury
 

Mehr von Haggai Philip Zagury (10)

DevOpsDays Tel Aviv DEC 2022 | Building A Cloud-Native Platform Brick by Bric...
DevOpsDays Tel Aviv DEC 2022 | Building A Cloud-Native Platform Brick by Bric...DevOpsDays Tel Aviv DEC 2022 | Building A Cloud-Native Platform Brick by Bric...
DevOpsDays Tel Aviv DEC 2022 | Building A Cloud-Native Platform Brick by Bric...
 
Kube Security Shifting left | Scanners & OPA
Kube Security Shifting left | Scanners & OPAKube Security Shifting left | Scanners & OPA
Kube Security Shifting left | Scanners & OPA
 
TechRadarCon 2022 | Have you built your platform yet ?
TechRadarCon 2022 | Have you built your platform yet ?TechRadarCon 2022 | Have you built your platform yet ?
TechRadarCon 2022 | Have you built your platform yet ?
 
Gitlab, GitOps & ArgoCD
Gitlab, GitOps & ArgoCDGitlab, GitOps & ArgoCD
Gitlab, GitOps & ArgoCD
 
DevEx | there’s no place like k3s
DevEx | there’s no place like k3sDevEx | there’s no place like k3s
DevEx | there’s no place like k3s
 
Auth experience - vol 1.0
Auth experience  - vol 1.0Auth experience  - vol 1.0
Auth experience - vol 1.0
 
Auth experience
Auth experienceAuth experience
Auth experience
 
Machine Learning - Continuous operations
Machine Learning - Continuous operationsMachine Learning - Continuous operations
Machine Learning - Continuous operations
 
Git internals
Git internalsGit internals
Git internals
 
Tce automation-d4-110102123012-phpapp01
Tce automation-d4-110102123012-phpapp01Tce automation-d4-110102123012-phpapp01
Tce automation-d4-110102123012-phpapp01
 

Kürzlich hochgeladen

Kürzlich hochgeladen (20)

Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 

The 2nd half. Scaling to the next^2

  • 1. FULLSTACK TECH RADAR DAY The #2nd_half Scaling to the #next2 Haggai Philip Zagury, DevOps Group & Tech Lead
  • 2. FULLSTACK TECH RADAR DAY Who we are Tikal helps ISV’s in Israel & abroad in their technological challenges. Our Engineers are Fullstack Developers with expertise in Android, DevOps, Java, JS, Python, ML We are passionate about technology and specialise in OpenSource technologies. Our Tech and Group leaders help establish & enhance existing software teams with innovative & creative thinking. https://www.meetup.com/full-stack-developer-il/
  • 3. FULLSTACK TECH RADAR DAY Haggai Philip Zagury - DevOps Group & Tech lead My open thinking and open techniques ideology is driven by Open Source technologies and the collaborative manner defining my M.O. My solution driven approach is strongly based on hands-on and deep understanding of Operating Systems, Applications stacks and Software languages, Networking, Cloud in general and today more and more Cloud Native solutions.
  • 4.
  • 5. FULLSTACK TECH RADAR DAY Planning a data pipeline (with constraints) ● An event driven application
  • 6. FULLSTACK TECH RADAR DAY Planning a data pipeline (with constraints) ● An event driven application ● High Resolution Video Streams from multiple locations ● Plan for 10s of simultaneous sources … Digest
  • 7. FULLSTACK TECH RADAR DAY Planning a data pipeline (with constraints) ● An event driven application ● High Resolution Video Streams from multiple locations ● Plan for 10s of simultaneous sources … ● Data enrichment pipelines Digest Enrich
  • 8. FULLSTACK TECH RADAR DAY Planning a data pipeline (with constraints) ● An event driven application ● High Resolution Video Streams from multiple locations ● Plan for 10s of simultaneous sources … ● Data enrichment pipelines ● Output an HD display in near real-time (+- 8sec) Digest Enrich
  • 9. FULLSTACK TECH RADAR DAY @scale - point #1 ● The board emphasises a perquisite that we have unlimited resources to complete the task … ● Which isn’t the case in real-life …
  • 10. FULLSTACK TECH RADAR DAY @scale - point #2 ● If you have a consistent measurable unit ● you can plan your journey to the next square either by: ● Being more Efficient ● Doubling* your compute power (not accurate will explain later why)
  • 11. FULLSTACK TECH RADAR DAY Planning a data pipeline - starting point ● The scale is not predictable … ● As you grow so does your supporting services … ● Dealing with debug logs in a section of a cluster means 6 times network traffic
  • 12. FULLSTACK TECH RADAR DAY Planning a data pipeline - reality ● The scale is not predictable … ● As you grow so does your supporting services … ● Dealing with debug logs in a section of a cluster means 6 times network traffic ● Deployment complexity increases …
  • 14. FULLSTACK TECH RADAR DAY The cloud is your friend ● Managed Services ● Solving Complexity of operation ● Increases/Decreases Price (in most cases) ● Pay as You go … ● Polyglottism / “Architecture captivity“
  • 15. FULLSTACK TECH RADAR DAY Solution
  • 16. FULLSTACK TECH RADAR DAY Solution How to store data for optimised r/w procedures 55,000 read requests per second Hitting S3 Limit on >=10 simultaneous streams
  • 17. FULLSTACK TECH RADAR DAY Solution How to store data for optimised r/w procedures 55,000 read requests per second Hitting S3 Limit on >=10 simultaneous streams # Complexitynext2
  • 18. FULLSTACK TECH RADAR DAY Solution
  • 19. FULLSTACK TECH RADAR DAY Solution Performance ?
  • 20. FULLSTACK TECH RADAR DAY Solution Performance ? #2nd_half ?
  • 21. FULLSTACK TECH RADAR DAY VM vs Container* Performance ? Less ComplexityMore Complexity Gpu/Tpu
  • 22. FULLSTACK TECH RADAR DAY Solution
  • 23. FULLSTACK TECH RADAR DAY Solution * is on the network !
  • 24. FULLSTACK TECH RADAR DAY Solve drift … with “money” ● 1 frame (of 45MB) * 30 frames per sec = 1350 MB == 1.35 GB == 10.8 Gb > 10 Gb
  • 25. FULLSTACK TECH RADAR DAY EC2 Network performance comparison ● Worth a read on ec2 network performance ○ https://docs.google.com/spreadsheets/d/1N2xQqry- zAKnK6FtW8X5zBYhMiFFnuMySMpx7f3K60s/edit?usp=sharing ○ https://cloudonaut.io/ec2-network-performance-cheat-sheet/
  • 26. FULLSTACK TECH RADAR DAY Solution * is on the network !
  • 27. FULLSTACK TECH RADAR DAY Solution Multi-tenancy ? who did what, when ?
  • 28. FULLSTACK TECH RADAR DAY Resource Tags are your friend ! ● Tagging resources ● Putting price tags on operations ! ● How much did pipeline1 cost ? ● Can I do it faster ? [ Time ] ● Each enrichment service has it’s own cluster optimised for Compute unit sizes staging stream infra
  • 29. FULLSTACK TECH RADAR DAY Solution
  • 30. FULLSTACK TECH RADAR DAY #2nd_half or # issues …next2 Justin Ryan https://qconsf.com/sf2019/presentation/scaling-patterns-netflixs-edge Scaling Patterns for Netflix's Edge
  • 31. FULLSTACK TECH RADAR DAY #2nd_half or # issues …next2 https://www.infoq.com/presentations/efficiency-better-software-faster/ Todd Montgomery Todd Montgomery explores the everyday things that those with an eye to performance and efficiency do that can be leveraged by anyone to build better software faster.
  • 32. FULLSTACK TECH RADAR DAY Compute Buffet ;) ● Taken @SFO Nov 2019
  • 34. FULLSTACK TECH RADAR DAY So building distributed systems is hard
  • 35. FULLSTACK TECH RADAR DAY So building distributed systems is hard
  • 36. FULLSTACK TECH RADAR DAY The #2nd half/ # solution(s)next2 ● What is the 2nd half of the table problem(s) ● ***** real-life scenario ! ● Scale ability -> Capacity planning in the “Container Orchestration Era” ● (in the past Marathon) Kubernetes ● FaaS (e.g. AWS Lambda) ● Nomad
  • 37. FULLSTACK TECH RADAR DAY Lego for the masses ● Solves Complexity (i know debatable …) ● 1 size fit all background image by @hagzag
  • 38.
  • 39. FULLSTACK TECH RADAR DAY Commoditize compute unit management kubectl get deploy -n kube-system cert-manager 1/1 1 1 58d cert-manager-cainjector 1/1 1 1 58d cert-manager-webhook 1/1 1 1 58d coredns 2/2 2 2 173d enternal-dns-prod-external-dns 1/1 1 1 171d kube-slack 1/1 1 1 173d tiller-deploy 1/1 1 1 173d
  • 40. FULLSTACK TECH RADAR DAY Resource Limits apiVersion: v1 kind: Pod metadata: name: frontend spec: containers: - name: db image: mysql env: - name: MYSQL_ROOT_PASSWORD value: "password" resources: requests: memory: "64Mi" cpu: "250m" limits: memory: "128Mi" cpu: "500m"
  • 41. apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: name: test-network-policy namespace: default spec: podSelector: matchLabels: role: db policyTypes: - Ingress - Egress ingress: - from: - ipBlock: cidr: 172.17.0.0/16 except: - 172.17.1.0/24 - namespaceSelector: matchLabels: project: myproject - podSelector: matchLabels: Resource Limits
  • 42. FULLSTACK TECH RADAR DAY Time Days Minuets Seconds Milliseconds Cost Agility Scalability https://www.slideshare.net/BryanMcAninch/the-faas-and-the-curious-86874211
  • 43. FULLSTACK TECH RADAR DAY Make the best of what you have ? ● Be more accurate / precise in what you do ! ● Measuring techniques (that scale)
  • 44. FULLSTACK TECH RADAR DAY Guess what ? They both get to Eilat !
  • 45. FULLSTACK TECH RADAR DAY Keep Efficiency in mind Time Price Complexity Define your Quantifiable unit !
  • 46. FULLSTACK TECH RADAR DAY F ● A Fixed unit size Grid == FaaS
  • 47. FULLSTACK TECH RADAR DAY Solving complexity …
  • 48. FULLSTACK TECH RADAR DAY Load Shifting & Peak Shaving
  • 49. FULLSTACK TECH RADAR DAY Keep Efficiency in mind Time Price Complexity Define your Quantifiable unit ! Thank you for taking the Time !