Wt C++ 的宿主Web框架,开发问题

发布于 2024-10-20 22:00:05 字数 242 浏览 5 评论 0 原文

我想知道 justhost.com 是否足以托管 Wt C++ 网站/应用程序。它确实允许 FTP 和 SSH 访问,因为 http://richelbilderbeek.nl/CppWtDeployGlobalHosted.htm 告诉我主机应该,但我只是想获得更多的意见,或者您是否知道更好的主机?

I was wondering if justhost.com would be good enough to host a Wt C++ website/app on. It does allow FTP and SSH access as http://richelbilderbeek.nl/CppWtDeployGlobalHosted.htm tells me a host should, but I am just looking to get more input, or if you know of a better host?

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

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

发布评论

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

评论(1

青衫负雪 2024-10-27 22:00:05

我还会问他们是否可以在那里安装库,如果不能,您就必须自己编译一个巨大的静态应用程序,这可能是一个有点烦人的限制。

在我看来,他们的网站基本上是为了托管标准 php 风格的应用程序而设计的。

我使用 slicehostRackspace 云服务器

问题是它们是完整的 VPS,并为您提供完全的 root 访问权限。

我会选择真正的 VPS 计划,而不是 chroot 风格的共享托管计划,并在顶部添加 ssh 访问权限。主要问题是相邻的臃肿应用程序使用所有共享资源并导致性能不一致。

此外,通过完全 root 访问权限,您可以将应用程序设置为在启动时启动,并整理您自己的数据库备份计划等。

您仍然可以让邻居在 VPS 帐户上减慢您的速度,但它已经减少了很多。

我喜欢 Witty 的一件事是,我的应用程序以 100 个线程运行,即使使用最便宜的 VPS 计划,它也能一致且平稳地运行最多 50 个并发用户(使用 负载影响),机器上几乎没有任何负载。

我的一般专业 C++ 声明:一些 C# 和 Java 人士说 C++ 仅对嵌入式、低功耗硬件真正有用。我想补充一点,它对于 VPS 也很有用。尽管硬件能力总是在增长,但随着虚拟化的发展,总会有更多更便宜的低功耗计划出现,而 C++ 是完美的选择。

我曾经在 VPS 上运行 php、perl 和 python Web 服务器,但我的 C++ 机智应用程序在性能方面确实让它们望尘莫及。这个想法是,您可以每月支付更少的费用来托管一个扩展性非常好的 C++ 网站,而不是 Rails 或其他解释或字节编译语言。

另外,我曾经使用更大的 4 GB Slice 进行编译,直到我给自己买了一个像样的 6 核家用盒子。 256 MB(最小计划)不利于编译,但非常适合运行。

I'd also ask them if you can install libraries on there, if not you'd have to compile yourself a giant static app, which could be a bit of annoying restriction.

It looks to me like their site is basically designed to host standard php style apps more than anything.

I use slicehost and Rackspace Cloud Servers.

The thing is they are full VPS's and give you full root access.

I would go with a true VPS plan, rather than a chroot style shared hosting plan, with ssh access added on top. The main problem would be neighbouring bloated applications using all the shared resources and giving you inconsistent performance.

Also with full root access, you can set up your app to start on boot, and sort out your own DB backup plan etc..

You still can get neighbours slowing you down on VPS accounts, but it's much reduced.

One thing I like with Witty is that my app running with 100 threads, even with the cheapest VPS plan it runs consistently and smooth up to 50 concurrent users (tested using load impact) with hardly any load on the machine at all.

My general pro c++ statement: Some c# and java people say c++ is only really useful for embedded, low powered hardware. I'd like to add that it's also useful for VPSs. Although hardware power is always growing, with virtualization, there's always more cheaper lower powered plans coming out that c++ is perfect for.

I used to run php, perl and python web servers on VPSs but my C++ witty app really does leave them all in the dust performance wise. The idea being you can pay less per month to host a c++ Web site that scales really well, rather than rails or other interpreted or byte compiled languages.

Also, I used to use a larger, 4 GB Slice to do my compiling until I bought myself a decent 6 core home box. The 256 MB (the smallest plan) is no good for compiling, but excellent for running.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文