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
반응형

'IT > Programming' 카테고리의 다른 글

Microservice Architecture  (0) 2023.01.23
[Book Review]  (0) 2021.10.03
Simple REST API client-server  (0) 2021.08.05
UX 디자인 패턴  (0) 2021.08.04
React 라이브러리 npm 배포  (0) 2021.04.12