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