Windows 服务是否被视为微服务?

Are Windows services considered micro-services?

我有一个 Windows 服务监听队列;当有新消息时,它会解析它,并将其存储在自己的存储中。

从某种意义上说,它是 "uni-directional",它只监听队列,但不公开任何端点,也不与其他服务交互。

这算微服务吗?

顾名思义,任何不是单体的、可以独立构建和部署的服务都可以是微服务。

真正的微服务有 12 个要素,https://www.nginx.com/blog/microservices-reference-architecture-nginx-twelve-factor-app/

Microsoft 有一篇关于此的文章。

https://docs.microsoft.com/en-us/azure/architecture/guide/architecture-styles/microservices

Services communicate with each other by using well-defined APIs. Internal implementation details of each service are hidden from other services.