SlideShare a Scribd company logo
Autosustainable
   Services
    Jeff Lindsay
    @progrium
1. Public Infrastructure

2. Autosustainable Services

3. Airscript Demo
1. Public Infrastructure

2. Autosustainable Services

3. Airscript Demo
WARNING

This talk contains big ideas
      and is not really
 specific to Python at all
Throwing Together Distributed Services with gevent
http://www.youtube.com/watch?v=tYk4_Nzl-Gg
Distributed Systems with ZeroMQ and gevent
http://www.infoq.com/presentations/Distributed-Systems-with-ZeroMQ-and-gevent
Web




 API




Client



   TwiML
Distributed Systems
Distributed Systems


     Internal System
Distributed Systems
   External Ecosystem


       Internal System
Distributed Systems
   External Ecosystem
   Macro level



           Internal System
           Micro level
Jeff Lindsay: Building Public Infrastructure with Autosustainable Services
Jeff Lindsay: Building Public Infrastructure with Autosustainable Services
Jeff Lindsay: Building Public Infrastructure with Autosustainable Services
Jeff Lindsay: Building Public Infrastructure with Autosustainable Services
Jeff Lindsay: Building Public Infrastructure with Autosustainable Services
Data
Data




       Communications
Operations

Data




       Communications
Operations

Data



   Real world
                Communications
Operations

 Data

Everything as a Service
    Real world
                 Communications
What I want is to...
What I want is to...
  Program the World
Jeff Lindsay: Building Public Infrastructure with Autosustainable Services
Jeff Lindsay: Building Public Infrastructure with Autosustainable Services
Jeff Lindsay: Building Public Infrastructure with Autosustainable Services
xargs
                                   wget
       echo
                      mail

grep
                wc

                             cat
cat




                    xargs
                                   wget
       echo
                            mail

grep
                      wc
cat      grep




             xargs
                              wget
echo
                       mail


               wc
cat      grep   mail




             xargs
                              wget
echo



               wc
More Composable
Webhooks and “Evented Web”
More Composable
Webhooks and “Evented Web”
More Composable
Webhooks and “Evented Web”
More Composable
Webhooks and “Evented Web”
More Composable
Webhooks and “Evented Web”
RequestBin
http://requestb.in
Localtunnel
http://localtunnel.com
Smaller Pieces
Tiny Apps and Micro APIs
Smaller Pieces
Tiny Apps and Micro APIs
Smaller Pieces
Tiny Apps and Micro APIs
stdicon
http://stdicon.com
TimeAPI
http://timeapi.org
Why aren’t there more?
Why aren’t there more?
      Economics
MailHooks
http://mailhooks.com
MailHooks
http://mailhooks.com
Twitter Hooks
http://twitterhooks.com
JabberHooks
http://jabberhooks.com
PostBin
http://postbin.org
ClickHooks
http://clickhooks.com
Scriptlets
http://scriptlets.org
App Engine
Open Source
Open Source
Majority are tools and libraries
Jeff Lindsay: Building Public Infrastructure with Autosustainable Services
Project
Project
Project
Project




Project
Project




Project
Project




Project
Project




Project




Project
Web Services
More leverage, more power
Software has open source.
SaaS has no equivalent...
Why?
Why?
Operations and Cost
Solution:
Solution:
Autosustainable
   Services
Operations
Operations
• Use PaaS, embrace NoOps / DevOps
Operations
• Use PaaS, embrace NoOps / DevOps
• Design for simplicity and scalability
Operations
• Use PaaS, embrace NoOps / DevOps
• Design for simplicity and scalability
• Aggressively avoid state
Operations
• Use PaaS, embrace NoOps / DevOps
• Design for simplicity and scalability
• Aggressively avoid state
• Automate maintenance tasks
Operations
• Use PaaS, embrace NoOps / DevOps
• Design for simplicity and scalability
• Aggressively avoid state
• Automate maintenance tasks
• Make metrics public
Operations
• Use PaaS, embrace NoOps / DevOps
• Design for simplicity and scalability
• Aggressively avoid state
• Automate maintenance tasks
• Make metrics public
• Give deploy access to maintainers
Cost
Cost

• Leverage volunteer community
Cost

• Leverage volunteer community
• Use cloud and/or PaaS services
Cost

• Leverage volunteer community
• Use cloud and/or PaaS services
• Design to minimize resources usage
Donations
Donations
 with a twist
Donations
           with a twist

• Automated, ongoing fundraising
Donations
             with a twist

• Automated, ongoing fundraising
• Calculate cost to run in real-time
Donations
            with a twist

• Automated, ongoing fundraising
• Calculate cost to run in real-time
• Know dollar amount in funding source
Donations
            with a twist

• Automated, ongoing fundraising
• Calculate cost to run in real-time
• Know dollar amount in funding source
• Show users how long it will survive
Donations
            with a twist

• Automated, ongoing fundraising
• Calculate cost to run in real-time
• Know dollar amount in funding source
• Show users how long it will survive
• Remove yourself from funding path
This service can run for 132 more days.   $10   Donate
This service can run for 60 more days.   $20   Donate
Service shutting down in 10 days without your support   $30   Donate
This service can run for 132 more days.   $10   Donate
What does this get us?
Jeff Lindsay: Building Public Infrastructure with Autosustainable Services
Service
Service
Service
Service




Service
Service




Service
Service




Service
Service




Service




Service
Service




Service




Service
Service




Service




Service
No economic friction
     to building
 small, composable
      services
Jeff Lindsay: Building Public Infrastructure with Autosustainable Services
Program the World
Airscript
 Demo
Questions

  Jeff Lindsay
  @progrium

More Related Content

PDF
Three Years of Microservices at SoundCloud - Distributed Matters Berlin 2015
KEY
P2P on the local network
PDF
Postman API Development Platform
PDF
Region 2 spring 2013 slide show
DOC
MISE EN PLACE Escuela de Artes Culinarias
PPTX
#Curiosidades123 Automóviles
PPTX
Activity leads to peace!
PPTX
Энергоэффективность и экологичность как главные качества индивидуального жилья
Three Years of Microservices at SoundCloud - Distributed Matters Berlin 2015
P2P on the local network
Postman API Development Platform
Region 2 spring 2013 slide show
MISE EN PLACE Escuela de Artes Culinarias
#Curiosidades123 Automóviles
Activity leads to peace!
Энергоэффективность и экологичность как главные качества индивидуального жилья

Viewers also liked (17)

PPTX
Ratios
PDF
PCRD Florida Talent Summit October 2009
PPT
Cts Europa Il Web Ed I Suoi Utenti
PPS
Donne e motori
PPTX
PPTX
TIG GROUP | TOTAL SITE SOLUTIONS
PDF
A Hierarchical Graph for Nucleotide Binding Domain 2
PPTX
Mike Hoogenakker 50th Birthday
PPT
Особенности образовательной системы школы № 26 г
PPTX
Presentacion compartida
PPT
Presentacion
DOC
Impact of 3D on Education
PPTX
PPTX
Tp 4 base de datos a
PDF
Gs2010 preview
PPT
The 3 Roots of Evil
Ratios
PCRD Florida Talent Summit October 2009
Cts Europa Il Web Ed I Suoi Utenti
Donne e motori
TIG GROUP | TOTAL SITE SOLUTIONS
A Hierarchical Graph for Nucleotide Binding Domain 2
Mike Hoogenakker 50th Birthday
Особенности образовательной системы школы № 26 г
Presentacion compartida
Presentacion
Impact of 3D on Education
Tp 4 base de datos a
Gs2010 preview
The 3 Roots of Evil
Ad

Similar to Jeff Lindsay: Building Public Infrastructure with Autosustainable Services (20)

PDF
Building an Event-driven Web @ Impact
PPTX
Using Hystrix to Build Resilient Distributed Systems
PDF
Project Flogo: Serverless Integration, Powered by Flogo and Lambda
PDF
GDD Japan 2009 - Designing OpenSocial Apps For Speed and Scale
PDF
Let's Get Real (time): Server-Sent Events, WebSockets and WebRTC for the soul
PPTX
Microservices chassis
PPTX
From Zero to Serverless (CoderCruise 2018)
KEY
HTML5 is the Future of Mobile, PhoneGap Takes You There Today
PDF
RTP Over QUIC: An Interesting Opportunity Or Wasted Time?
PPTX
Micro Service Architecture
PPTX
Lattice yapc-slideshare
PDF
Microservices Antipatterns
PDF
Docker and serverless Randstad Jan 2019: OpenFaaS Serverless: when functions ...
PDF
Olist Architecture v2.0
PDF
Janus/HOMER/HEPIC @ OpenSIPS18
PDF
Javascript - Getting started | DevCom ISITCom
KEY
Move out from AppEngine, and Python PaaS alternatives
PDF
Scale14x Patterns and Practices for Open Source Project Success
PDF
Building a Bank with Go
PDF
Scaling to 1,000,000 concurrent users on the JVM
Building an Event-driven Web @ Impact
Using Hystrix to Build Resilient Distributed Systems
Project Flogo: Serverless Integration, Powered by Flogo and Lambda
GDD Japan 2009 - Designing OpenSocial Apps For Speed and Scale
Let's Get Real (time): Server-Sent Events, WebSockets and WebRTC for the soul
Microservices chassis
From Zero to Serverless (CoderCruise 2018)
HTML5 is the Future of Mobile, PhoneGap Takes You There Today
RTP Over QUIC: An Interesting Opportunity Or Wasted Time?
Micro Service Architecture
Lattice yapc-slideshare
Microservices Antipatterns
Docker and serverless Randstad Jan 2019: OpenFaaS Serverless: when functions ...
Olist Architecture v2.0
Janus/HOMER/HEPIC @ OpenSIPS18
Javascript - Getting started | DevCom ISITCom
Move out from AppEngine, and Python PaaS alternatives
Scale14x Patterns and Practices for Open Source Project Success
Building a Bank with Go
Scaling to 1,000,000 concurrent users on the JVM
Ad

More from it-people (20)

PDF
«Про аналитику и серебряные пули» Александр Подсобляев, Rambler&Co
PDF
«Scrapy internals» Александр Сибиряков, Scrapinghub
PDF
«Отладка в Python 3.6: Быстрее, Выше, Сильнее» Елизавета Шашкова, JetBrains
PDF
«Gevent — быть или не быть?» Александр Мокров, Positive Technologies
PDF
«Ещё один Поиск Яндекса» Александр Кошелев, Яндекс
PDF
«How I Learned to Stop Worrying and Love the BFG: нагрузочное тестирование со...
PDF
«Write once run anywhere — почём опиум для народа?» Игорь Новиков, Scalr
PDF
«Gensim — тематическое моделирование для людей» Иван Меньших, Лев Константино...
PDF
«Тотальный контроль производительности» Михаил Юматов, ЦИАН
PDF
«Детские болезни live-чата» Ольга Сентемова, Тинькофф Банк
PDF
«Микросервисы наносят ответный удар!» Олег Чуркин, Rambler&Co
PDF
«Память и Python. Что надо знать для счастья?» Алексей Кузьмин, ЦНС
PDF
«Что такое serverless-архитектура и как с ней жить?» Николай Марков, Aligned ...
PDF
«Python на острие бритвы: PyPy project» Александр Кошкин, Positive Technologies
PDF
«PyWat. А хорошо ли вы знаете Python?» Александр Швец, Marilyn System
PDF
«(Без)опасный Python», Иван Цыганов, Positive Technologies
PDF
«Python of Things», Кирилл Борисов, Яндекс
PDF
«Как сделать так, чтобы тесты на Swift не причиняли боль» Сычев Александр, Ra...
PDF
«Клиенту и серверу нужно поговорить» Прокопов Никита, Cognician
PDF
«Кошелек или деньги: сложный выбор между памятью и процессором» Алексеенко Иг...
«Про аналитику и серебряные пули» Александр Подсобляев, Rambler&Co
«Scrapy internals» Александр Сибиряков, Scrapinghub
«Отладка в Python 3.6: Быстрее, Выше, Сильнее» Елизавета Шашкова, JetBrains
«Gevent — быть или не быть?» Александр Мокров, Positive Technologies
«Ещё один Поиск Яндекса» Александр Кошелев, Яндекс
«How I Learned to Stop Worrying and Love the BFG: нагрузочное тестирование со...
«Write once run anywhere — почём опиум для народа?» Игорь Новиков, Scalr
«Gensim — тематическое моделирование для людей» Иван Меньших, Лев Константино...
«Тотальный контроль производительности» Михаил Юматов, ЦИАН
«Детские болезни live-чата» Ольга Сентемова, Тинькофф Банк
«Микросервисы наносят ответный удар!» Олег Чуркин, Rambler&Co
«Память и Python. Что надо знать для счастья?» Алексей Кузьмин, ЦНС
«Что такое serverless-архитектура и как с ней жить?» Николай Марков, Aligned ...
«Python на острие бритвы: PyPy project» Александр Кошкин, Positive Technologies
«PyWat. А хорошо ли вы знаете Python?» Александр Швец, Marilyn System
«(Без)опасный Python», Иван Цыганов, Positive Technologies
«Python of Things», Кирилл Борисов, Яндекс
«Как сделать так, чтобы тесты на Swift не причиняли боль» Сычев Александр, Ra...
«Клиенту и серверу нужно поговорить» Прокопов Никита, Cognician
«Кошелек или деньги: сложный выбор между памятью и процессором» Алексеенко Иг...

Recently uploaded (20)

PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
KodekX | Application Modernization Development
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
cuic standard and advanced reporting.pdf
PDF
Empathic Computing: Creating Shared Understanding
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPT
Teaching material agriculture food technology
PDF
Electronic commerce courselecture one. Pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Encapsulation theory and applications.pdf
Review of recent advances in non-invasive hemoglobin estimation
Spectral efficient network and resource selection model in 5G networks
Unlocking AI with Model Context Protocol (MCP)
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
KodekX | Application Modernization Development
Network Security Unit 5.pdf for BCA BBA.
cuic standard and advanced reporting.pdf
Empathic Computing: Creating Shared Understanding
Encapsulation_ Review paper, used for researhc scholars
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Digital-Transformation-Roadmap-for-Companies.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Teaching material agriculture food technology
Electronic commerce courselecture one. Pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Chapter 3 Spatial Domain Image Processing.pdf
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Encapsulation theory and applications.pdf

Jeff Lindsay: Building Public Infrastructure with Autosustainable Services