brewing beer with python
play

Brewing beer with Python Chesco Igual @chescales What shalt thou - PowerPoint PPT Presentation

Brewing beer with Python Chesco Igual @chescales What shalt thou learn? - Building an IoT backend - - Technologies, Protocols and Tools - - Backend considerations - - Meet a full running architecture - - Learn to brew beer - What shalt thou


  1. Brewing beer with Python Chesco Igual @chescales

  2. What shalt thou learn? - Building an IoT backend - - Technologies, Protocols and Tools - - Backend considerations - - Meet a full running architecture - - Learn to brew beer -

  3. What shalt thou learn? - Building an IoT backend - - Technologies, Protocols and Tools - - Backend considerations - - Meet a full running architecture - - Learn to brew beer -

  4. MiniBrew

  5. So what is it?

  6. So what is it? Yay!! Awesome!! (and others)

  7. So what is it? Yay!! Awesome!! (and others)

  8. Let’s go technical

  9. Project Requirements Real-time data

  10. Project Requirements - Real-time data - Security

  11. Project Requirements - Real-time data - - Security - Obfuscation

  12. Project Requirements - Real-time data - - Security - Authentication - Obfuscation -

  13. Project Requirements Two-way - Real-time data - - Security - - Obfuscation - communication - Authentication -

  14. Project Requirements - Real-time data - Resiliency - Security - - Obfuscation - - Authentication - - 2-way communication -

  15. Project Requirements - Real-time data - Lightweight - Security - - Obfuscation - - Authentication - - 2-way communication - - Resiliency -

  16. Project Requirements - Real-time data - - Last known status - - Security - - Debugging - - Obfuscation - - Admin site - - Authentication - - Mobile app api - - 2-way communication - - rainbows, etc. - - Resiliency - - Lightweight -

  17. What thou shalt take care about too... - Scalability - - Proven technologies - - small tech stack - - Error tracking - - Reduce data transfer - - Documentation -

  18. What thou shalt take care about too... - Scalability - - Proven technologies - - small tech stack - - Error tracking - - Reduce data transfer - - Documentation -

  19. when I read the project specs for the first time Source: thecodinglove.com

  20. Step by Step

  21. Communications Protocol

  22. Communication Protocols AMQP HTTP MQTT CoAP DDS XMPP

  23. Communication Protocols AMQP HTTP MQTT CoAP DDS XMPP

  24. Comprehensive IoT Backend Solutions

  25. Amazon IoT

  26. So then…? PROJECT REQUIREMENTS EXTRAS - Real-time data - - Lightweight - - Scalability - - Security - - Last known status - - Proven technologies - - Obfuscation - - Debugging - - small tech stack - - Authentication - - Admin site - - Error tracking - - 2-way communication - - Mobile app api - - Reduce data transfer - - Resiliency - - rainbows, etc. - - Documentation -

  27. Let’s set up our own (get a broker…)

  28. Options?

  29. Options? Top player for many years Scalability proven (vertical and horizontal) Can convert from MQTT to other protocols (AMQP) No payment per use Familiarity

  30. Extra bonus! ???

  31. Extra bonus!

  32. Now what? Let’s talk to that broker

  33. Eclipse library https://github.com/eclipse/paho.mqtt.python

  34. NO CODE

  35. API time

  36. Again, options?

  37. How are we doing? PROJECT REQUIREMENTS EXTRAS - Real-time data - - Lightweight - - Scalability - - Security - - Last known status - - Proven technologies - - Obfuscation - - Debugging - - small tech stack - - Authentication - - Admin site - - Error tracking - - 2-way communication - - Mobile app api - - Reduce data transfer - - Resiliency - - rainbows, etc. - - Documentation -

  38. Authentication

  39. Let Python decide https://github.com/rabbitmq/rabbitmq-auth-backend-http

  40. How are we doing? PROJECT REQUIREMENTS EXTRAS - Real-time data - - Lightweight - - Scalability - - Security - - Last known status - - Proven technologies - - Obfuscation - - Debugging - - small tech stack - - Authentication - - Admin site - - Error tracking - - 2-way communication - - Mobile app api - - Reduce data transfer - - Resiliency - - rainbows, etc. - - Documentation -

  41. How are we doing? PROJECT REQUIREMENTS EXTRAS - Real-time data - - Lightweight - - Scalability - - Security - - Last known status - - Proven technologies - - Obfuscation - - Debugging - - small tech stack - - Authentication - - Admin site - - Error tracking - - 2-way communication - - Mobile app api - - Reduce data transfer - - Resiliency - - rainbows, etc. - - Documentation -

  42. Obfuscated and Lightweight messages

  43. Protocol Buffers https://github.com/google/protobuf

  44. Protocol Buffers https://github.com/google/protobuf

  45. How are we doing? PROJECT REQUIREMENTS EXTRAS - Real-time data - - Lightweight - - Scalability - - Security - - Last known status - - Proven technologies - - Obfuscation - - Debugging - - small tech stack - - Authentication - - Admin site - - Error tracking - - 2-way communication - - Mobile app api - - Reduce data transfer - - Resiliency - - rainbows, etc. - - Documentation -

  46. How are we doing? PROJECT REQUIREMENTS EXTRAS - Real-time data - - Lightweight - - Scalability - - Security - - Last known status - - Proven technologies - - Obfuscation - - Debugging - - small tech stack - - Authentication - - Admin site - - Error tracking - - 2-way communication - - Mobile app api - - Reduce data transfer - - Resiliency - - rainbows, etc. - - Documentation -

  47. Final Architecture

  48. Wanna roll with us? Barcelona (ES) Almere (NL) elements.nl/careers

  49. Thank You

  50. Questions?

Recommend


More recommend