How software can feed the World

How software can feed the World

Infarm is a FaaS, Farming as a Service, and whether you believe it or not, our business is in-house farming at scale.

We design and build our farms, grow vegetables and sell them, and the backbone of our infrastructure is based on Python and completely cloud based.

More than 10 million observations recorded from our farms, rapidly increasing given our expansion to new markets, feed our farm management system that allows the operators, plant scientists, and supervisors to monitor each farm in real-time.

During this talk I will introduce our IoT infrastructure, software architecture, how we use python and how we plan to improve the capabilities of our farms by adding edge machine learning.

8cafbb6a1b892de6f03ec6db012fb39f?s=128

barrachri

July 11, 2019
Tweet

Transcript

  1. @CHRISTIANBARRA // EUROPYTHON 2019 HOW SOFTWARE CAN FEED THE WORLD

  2. None
  3. None
  4. @christianbarra CAN SOFTWARE FEED THE WORLD?

  5. @christianbarra WHY SHOULD WE BOTHER?

  6. None
  7. None
  8. None
  9. None
  10. @christianbarra PROBLEMS WE NEED TO MAKE CITIES MORE SUSTAINABLE WE

    NEED TO AVOID HUNGER WE CAN’T INCREASE CROPLANDS WE CAN’T TERRAFORM THE SEA
  11. @christianbarra PROBLEMS WE NEED TO MAKE CITIES MORE SUSTAINABLE WE

    NEED TO AVOID HUNGER WE CAN’T INCREASE CROPLANDS WE CAN’T TERRAFORM THE SEA
  12. @christianbarra PROBLEMS WE NEED TO MAKE CITIES MORE SUSTAINABLE WE

    NEED TO AVOID HUNGER WE CAN’T INCREASE CROPLANDS WE CAN’T TERRAFORM THE SEA
  13. @christianbarra SOLUTIONS REDUCE WASTE ! CHANGE OUR DIET " USE

    TECHNOLOGY #
  14. @christianbarra SOLUTIONS REDUCE WASTE ! CHANGE OUR DIET " USE

    TECHNOLOGY #
  15. ALL MATERIALS ARE THE INTELLECTUAL PROPERTY OF INFARM – INDOOR

    URBAN FARMING GMBH AND ARE STRICLTLY CONFIDENTIAL WWW.INFARM.COM
  16. ALL MATERIALS ARE THE INTELLECTUAL PROPERTY OF INFARM – INDOOR

    URBAN FARMING GMBH AND ARE STRICLTLY CONFIDENTIAL WWW.INFARM.COM
  17. ALL MATERIALS ARE THE INTELLECTUAL PROPERTY OF INFARM – INDOOR

    URBAN FARMING GMBH AND ARE STRICLTLY CONFIDENTIAL WWW.INFARM.COM
  18. ALL MATERIALS ARE THE INTELLECTUAL PROPERTY OF INFARM – INDOOR

    URBAN FARMING GMBH AND ARE STRICLTLY CONFIDENTIAL WWW.INFARM.COM
  19. ALL MATERIALS ARE THE INTELLECTUAL PROPERTY OF INFARM – INDOOR

    URBAN FARMING GMBH AND ARE STRICLTLY CONFIDENTIAL WWW.INFARM.COM
  20. ALL MATERIALS ARE THE INTELLECTUAL PROPERTY OF INFARM – INDOOR

    URBAN FARMING GMBH AND ARE STRICLTLY CONFIDENTIAL WWW.INFARM.COM
  21. ALL MATERIALS ARE THE INTELLECTUAL PROPERTY OF INFARM – INDOOR

    URBAN FARMING GMBH AND ARE STRICLTLY CONFIDENTIAL WWW.INFARM.COM
  22. ALL MATERIALS ARE THE INTELLECTUAL PROPERTY OF INFARM – INDOOR

    URBAN FARMING GMBH AND ARE STRICLTLY CONFIDENTIAL WWW.INFARM.COM
  23. ALL MATERIALS ARE THE INTELLECTUAL PROPERTY OF INFARM – INDOOR

    URBAN FARMING GMBH AND ARE STRICLTLY CONFIDENTIAL WWW.INFARM.COM
  24. ALL MATERIALS ARE THE INTELLECTUAL PROPERTY OF INFARM – INDOOR

    URBAN FARMING GMBH AND ARE STRICLTLY CONFIDENTIAL WWW.INFARM.COM
  25. ALL MATERIALS ARE THE INTELLECTUAL PROPERTY OF INFARM – INDOOR

    URBAN FARMING GMBH AND ARE STRICLTLY CONFIDENTIAL WWW.INFARM.COM
  26. ALL MATERIALS ARE THE INTELLECTUAL PROPERTY OF INFARM – INDOOR

    URBAN FARMING GMBH AND ARE STRICLTLY CONFIDENTIAL WWW.INFARM.COM
  27. @christianbarra PILLARS FARM CONTROL OPERATIONS MONITORING & ALERTING PLANTS QUALITY

  28. @christianbarra PILLARS FARM CONTROL OPERATIONS MONITORING & ALERTING PLANTS QUALITY

  29. @christianbarra PILLARS FARM CONTROL OPERATIONS MONITORING & ALERTING PLANTS QUALITY

  30. @christianbarra PILLARS FARM CONTROL OPERATIONS MONITORING & ALERTING PLANTS QUALITY

  31. @christianbarra PILLARS FARM CONTROL OPERATIONS MONITORING & ALERTING PLANTS QUALITY

  32. @christianbarra PILLARS FARM CONTROL OPERATIONS MONITORING & ALERTING PLANTS QUALITY

  33. @christianbarra 1 BIG FLASK APP SMALL TEAM OPERATIONS & FARM

    CONTROL & MONITORING & ALERTING CELERY FOR BACKGROUND JOBS PAST SOFTWARE
  34. @christianbarra 1 BIG FLASK APP SMALL TEAM OPERATIONS & FARM

    CONTROL & MONITORING & ALERTING CELERY FOR BACKGROUND JOBS PAST SOFTWARE
  35. @christianbarra ISSUES SOFTWARE TOO MANY UNMAINTAINED DEPEDENCIES SCALIBILITY ISSUES LEAKY

    ABSTRACTIONS ORM-ALIZED
  36. @christianbarra ISSUES SOFTWARE TOO MANY UNMAINTAINED DEPEDENCIES SCALIBILITY ISSUES LEAKY

    ABSTRACTIONS ORM-ALIZED
  37. @christianbarra ISSUES SOFTWARE TOO MANY UNMAINTAINED DEPEDENCIES SCALIBILITY ISSUES LEAKY

    ABSTRACTIONS ORM-ALIZED
  38. @christianbarra ISSUES SOFTWARE FIGHTING WITH HEROKU NO CONTAINERS LACK OF

    USABLE LOGS/METRICS 4 DIFFERENT CLOUD PROVIDERS
  39. @christianbarra ISSUES SOFTWARE FIGHTING WITH HEROKU NO CONTAINERS LACK OF

    USABLE LOGS/METRICS 4 DIFFERENT CLOUD PROVIDERS
  40. @christianbarra ARCHITECTURE CONSOLIDATE CLOUD NATIVE OBSERVABILITY EVOLUTION SOFTWARE

  41. @christianbarra CONSOLIDATE PAY TECHNICAL DEBTS DEPRECATE ALL THE CLOUD PROVIDERS

    AND MOVE TO GCP WE ❤ LINTERS: FLAKE8, ISORT, BLACK AND MYPY BUILD VS BUY & VS UNMANAGED VS MANAGED
  42. @christianbarra CONSOLIDATE PAY TECHNICAL DEBTS DEPRECATE ALL THE CLOUD PROVIDERS

    AND MOVE TO GCP WE ❤ LINTERS: FLAKE8, ISORT, BLACK AND MYPY BUILD VS BUY & VS UNMANAGED VS MANAGED
  43. @christianbarra CONSOLIDATE PAY TECHNICAL DEBTS DEPRECATE ALL THE CLOUD PROVIDERS

    AND MOVE TO GCP WE ❤ LINTERS: FLAKE8, ISORT, BLACK AND MYPY BUILD VS BUY & VS UNMANAGED VS MANAGED
  44. @christianbarra CONSOLIDATE PAY TECHNICAL DEBTS DEPRECATE ALL THE CLOUD PROVIDERS

    AND MOVE TO GCP WE ❤ LINTERS: FLAKE8, ISORT, BLACK AND MYPY BUILD VS BUY & VS UNMANAGED VS MANAGED
  45. @christianbarra ARCHITECTURE MORE STRICT SERVICE SEPARATION MOVE TO A SERVICE

    ORIENTED ARCHITECTURE MOVE DATA INGESTION TO CLOUD FUNCTIONS
  46. @christianbarra ARCHITECTURE MORE STRICT SERVICE SEPARATION MOVE TO A SERVICE

    ORIENTED ARCHITECTURE MOVE DATA INGESTION TO CLOUD FUNCTIONS
  47. None
  48. @christianbarra CLOUD NATIVE INTRODUCE INFRASTRUCTURE AS CODE MIGRATE TO CONTAINERS

    (ALSO INSIDE HEROKU) EACH BUILD IS A DOCKER IMAGE INTRODUCE K8S
  49. @christianbarra OBSERVABILITY START HAVING METRICS ADOPTING STRUCTLOG STACKDRIVER

  50. @christianbarra OBSERVABILITY START HAVING METRICS ADOPTING STRUCTLOG STACKDRIVER

  51. @christianbarra OBSERVABILITY START HAVING METRICS ADOPTING STRUCTLOG STACKDRIVER

  52. Photo goes here FUTURE SOFTWARE COMPLETE MIGRATION TO K8S MOARRRR

    MICROSERVICES MORE FOCUS ON DATA
  53. Photo goes here FUTURE SOFTWARE COMPLETE MIGRATION TO K8S MOARRRR

    MICROSERVICES MORE FOCUS ON DATA
  54. Photo goes here EDGE COMPUTING WITH AI AUTOMATED FARM FUTURE

    SOFTWARE
  55. Photo goes here EDGE COMPUTING WITH AI AUTOMATED FARM FUTURE

    SOFTWARE
  56. Photo goes here EDGE COMPUTING WITH AI AUTOMATED FARM FUTURE

    SOFTWARE
  57. @christianbarra THAT’S ALL THANKS QUESTIONS? WE ARE HIRING!!!

  58. ALL MATERIALS ARE THE INTELLECTUAL PROPERTY OF INFARM – INDOOR

    URBAN FARMING GMBH AND ARE STRICLTLY CONFIDENTIAL WWW.INFARM.COM