创建软件设备的最佳实践?

发布于 2024-07-17 06:51:59 字数 164 浏览 4 评论 0原文

我有一个应用程序,客户要求我们将其打包到软件设备中,并希望找到我需要考虑的所有事项的列表。 与选择操作系统相关的内容有详细记录,但其他方面(例如构建可用的 Web 控制台、我应该考虑的框架(应用程序是用 Java 编写的)以及我可能需要在设计方面重构的内容)却没有记录。

非常感谢任何指导。

I have an application that a customer has asked us to package into a software appliance and wanted to find a list of all of the things that I need to consider. Stuff related to choosing the operating system is well-documented, but other aspects such as building usable web consoles, frameworks I should consider (the application is written in Java) and things that I may need to refactor in terms of design are not.

Any guidance is greatly appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

淤浪 2024-07-24 06:51:59

创建设备时需要考虑几件事。 您不想从事的一件事就是维护操作系统。 因此,选择一个被认为稳定且安全的操作系统。 安装操作系统时,仅包含应用程序绝对需要的软件包。 始终选择任何应用程序框架的稳定版本。 理想情况下,您将使用相对主流的东西。 再次强调,您应该支持您的应用程序,而不是框架。

一个非详尽的列表将包括以下内容:

  • 选择一个稳定的、受支持的、安全的操作系统。
  • 选择商品、现成的硬件。 零件应易于查找和更换。
  • 不要安装未使用的软件包。
  • 了解部署后如何修补/更新软件。
  • 提供基于 Web 的配置选项,这样您就不必登录 shell 来更改设置。
  • 出于与上述相同的原因,通过 Web 前端提供日志文件。
  • 在启动期间引导您的应用程序。
  • 确定如何保护 Web 前端和设备的总体安全。
  • 提供一种在出现一般硬件故障时将应用程序迁移到另一个设备的方法。
  • 您的应用程序值得集群和故障转移吗?
  • 让您的应用程序备份变得简单、轻松。 理想情况下,您的用户无需关闭应用程序即可备份其数据。

There are several things you need to consider when creating an appliance. The one thing you don't want to be in the business of is maintaining the OS. So pick an OS that is considered stable and secure. When installing the OS, only include those packages absolutely required for your application. Always pick stable versions of any application frameworks. Ideally you'll use something that is relatively mainstream. Once again, you should be supporting your application, not the framework.

A non-exhaustive list would include things like:

  • Picking a stable, supported, secure OS.
  • Choosing commodity, off the shelf hardware. Parts should be easy to find and replace.
  • Don't install unused packages.
  • Figure out how you'll patch / update your software once deployed.
  • Provide a Web-base configuration option so you don't have to log into the shell to change settings.
  • Make log files available via a web front end for the same reason as above.
  • bootstrap your application during start up.
  • Determine how you'll secure your web front end and the appliance in general.
  • Provide a way to migrate your application to another appliance in case of general hardware failure.
  • Does your app merit clustering and failover?
  • Make backing up your application easy and pain free. Ideally your users won't have to shutdown the app to backup their data.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文