IT/Programming

Embedded Python Application

루벤초이 2022. 12. 31. 20:19

What would be the best way to develop embedded Python application?

Sync

  1. WSGI (Web Server Gateway Interface) : HTTP API
  2. Bottle (mini-Flask)
  3. Greenlet
  4. Gevent
  5. Flask
  6. Pyramid

 

Async

  1. Twisted (deprecated in Python3)
  2. asyncio : async-await, coroutine 

 

Message Queue (Store and Forward)

  1. RabbitMQ (AMQP; Advanced Message Queuing Protocol)
  2. Celery
  3. ZeroMQ

MQTT vs. Message Queue (ZeroMQ)

  • In my experience, MQTT would be better for the remote communication which does not require heavy traffic. Furthermore, I am not sure if ZeroMQ works properly under HTTPS/TLS secured network while MQTT provides TLS based protocol such as MQTT-S or AWS IoT based on the certificates.

 

Reference

728x90
반응형