问题描述
我有一个桌面应用程序,并且它越来越大。我想知道我是否可以使用桌面应用程序制作微服务?我要申请的申请现在停留在桌面上。应用程序是用C ++编写的。
我可以通过一些准备工作排除某些模块。
但是有可能并且是否有人知道如何开始吗?
I got a desktop application and it's getting bigger and bigger. And i wonder if i can make something like microservices with desktop application? I want to application for now stays desktop. Application it's written in C++.I can exclude some of the modules with some preparations.But is it possible and if anybody have idea how to start with this?
推荐答案
桌面应用程序和微服务 >互斥,因为桌面意味着一台机器,而微服务意味着多台机器(物理或虚拟),它们使用与技术无关的协议通过网络进行通信。
Desktop application and microservices are mutually exclusive because Desktop means one machine and microservices implies multiple machines (physical or virtual) that communicate through network using a technology agnostic protocol.
您可以做的是使用。这是微服务的替代方法,可以在像您这样的某些情况下使用。
What you can do is to use modularization. This is an alternative to microservices that can work in some scenarios like yours.
这篇关于带有桌面应用程序的C ++ MicroServices的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!