We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
尽管您的定价模型对于大规模来说是可行的,并且可能与云提供的相同。
我认为任何本机应用程序都无法通过此模型进行扩展/可行。
大多数软件的许可证对于每个用户来说都太昂贵,它们提供浮动许可证和同时用户数量的上限。
按需付费很棒,但它与云计算相同,但问题很简单。
除非您不想投资自己的云服务器,否则您可以轻松地将您的应用程序放在其他云上。
如果您准备好投资构建和维护自己的云,那么您应该继续。
编辑:
您可以使用网络服务或付款方式。公开用于计算要发生的价格的 Web 服务。我个人会使用 Java 或 C# 来实现此目的。
由于 java 和 C# 对它有足够的支持,对于 C++ 代码的包装器,我将使用任何 jni 或 C++/cli 语言支持。
另一件事是,我还没有遇到过任何开源工具,每个网络服务都有自己的要求。您可以获得架构,但没有现成的工作。
C++ 代码
->webservice
->价格计费
->结果返回给调用者
。关于技术困难。
完全用 C++ 做事情是不可能的,您可能需要许多其他 C++ 工具。
Though your Pricing model is feasible for large scale and probably same as what cloud offers.
I don't think any native application would be scalable/feasible with this model.
Most of the License of software's that are too costly to buy for each user, they give a floater license and a cap limit of number of simultaneous users.
Pay as you use is great but it is same as cloud computing but then question is simple.
Unless you don't want to invest in your own cloud server, you can easily put your application on other cloud.
If you are ready for investment into build and maintain your own cloud then you should go ahead.
Edit:
You can use web service or the payment method. Expose the web service for calculating the price to be incurred. I would personally use Java or C# for this purpose.
as java and C# have enough support for it, for the wrapper around the C++ code i would use any of the jni or C++/cli language support.
Another thing is, I have not come accross any open source tool for it, each web service has it's own requirements. You can get the architecture but no ready made work.
C++ code
->webservice
->price billing
->result returned to caller
.Regarding Technical Difficulties.
It would not be possible to do things completely in C++, You may require many other tools with C++.
考虑这样一个场景:
程序处理客户计算机上的数据,在此阶段生成一些神秘数据并调用家庭(您的服务器)。
那里的服务器对数据进行解码,进行最终分析并将信息发送给客户端“您需要花费 X 美元才能看到结果。您想继续吗?”
如果是,客户付款并得到结果。
Consider such a scenario:
The program processes the data on the customer's computer, produces some cryptic data at this stage and calls home (your server).
The server there decodes the data, makes the final analysis and sends info to the client "It will costs you X dollars to see the result. Do you want to proceed?"
If yes, the client makes the payment and gets the result.