IT/Programming
Embedded Python Application
루벤초이
2022. 12. 31. 20:19
What would be the best way to develop embedded Python application?
Sync
- WSGI (Web Server Gateway Interface) : HTTP API
- Bottle (mini-Flask)
- Greenlet
- Gevent
- Flask
- Pyramid
Async
- Twisted (deprecated in Python3)
- asyncio : async-await, coroutine
Message Queue (Store and Forward)
- RabbitMQ (AMQP; Advanced Message Queuing Protocol)
- Celery
- 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
- 타렉 지아드, 파이썬 마이크로서비스, 에이콘출판사(2019) http://www.yes24.com/Product/Goods/73161840
- [RabbitMQ] 다른 메시지 큐 간 차이 (MQTT, ZeroMQ, Kafka) https://kaizen8501.tistory.com/218
728x90
반응형