如何管理软件运行时? [英] How do I manage a software runtime?

查看:108
本文介绍了如何管理软件运行时?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

软件将运行近一天。我不希望我的个人家用电脑爆炸。

基本上,应用程序将运行并收集使用情况统计信息,然后存储到数据库中。

然后,应用程序将从数据库中检索值以对它们执行计算。 />
根据这些计算,将执行某些排序分析,结果将以图形的形式生成并存储。

代码位于c#.net



1.我想知道这是否涉及风险?

2.如何避免这种情况并模拟过程?



我尝试过:



我试过运行1小时。

我也有一个间隔运行的想法。

A software is going to run for almost a day. I do not want my personal home pc to blast off.
Basically, the application will run and collect usage statistics and then store into a database.
The application will then retrieve values from the database to perform calculations on them.
Based on those calculations, some sort analytics will be performed and results will be generated in the form of graphs and also stored.
The code is in c#.net

1. I want to know if there are risks involved in this?
2. How to avoid this and simulate the process?

What I have tried:

I have tried running it for 1 hour.
I have also had an idea of running in intervals.

推荐答案

难以用如此少的细节提供建议。

Difficult to give advices with so little details.
Quote:

1。我想知道这是否涉及风险?

1. I want to know if there are risks involved in this?



写软件没有风险就足够了。请注意,总是可以编写一个如此糟糕的程序,因此随着时间的推移它会需要更多的资源,最终它会因占用所有资源而导致PC崩溃。

实际上,取决于软件的编写方式,范围从安全到灾难。


There is no risk with a software written will enough. Note that it is always possible to write a program so bad, so biassed that it will need more resources as time goes on and in the end it can crash your PC by hogging all resources.
In fact, depending on how the software is written, it range from safe to catastrophic.

Quote:

2。如何避免这种情况并模拟过程?

2. How to avoid this and simulate the process?



模拟进程需要比进程本身更多的资源,所以这不是一个好主意。


Simulating a process need more resources than the process itself, so it is not a good idea.

引用:

我试过运行它1小时。

I have tried running it for 1 hour.



你唯一忘记告诉我们你在那个小时内是否遇到问题。你有没有看到它吃得越来越多或者它是否稳定?


Your only forgot to tell us if you got problems during that hour. Did you see it eating more and more memory or was it stable ?


这篇关于如何管理软件运行时?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆