问题标签 [cloud-hosting]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
1272 浏览

powershell - Creating an empty file to force the hypervisor to grow the real filesystem

I'm using cloud computers like Amazon EC2 and CloudLayer. HD performance is the bottleneck.

One of the tip I got from CloudLayer was to grow my file system with a big 5GB file so that they don't have to grow it every time I write to the disk. I wrote this Powershell script, but because this create null values, I'm not sure if the hypervisor will really grow the underlying filesystem file.

How can I validate that it did work?

Their explanation:

The CCIs use a flat-file to store the filesystem contents (.vdx) if you have experimented with virtualization on your own workstation this may look familiar. When the VM is created you specify a maximum virtual drive size, however the flat-file or .vdx is only as large as the space required by the OS installation and the flat-file will grow accordingly as you need more space.

When there is only a small number of virtual hosts to work with allocating additional space on the flat-file and then writing to it happens very quickly and transparently, however, when writing to a shared storage medium, allocating the additional space before writing the contents to the disk has a much greater impact on the read and write performance.

You can increase the performance by pre-allocating space on the flat-file, this is accomplished by writing a large file out to the drive when the system is under light usage (about 5GBs) and then removing the file you just created. This will grow the flat-file an amount proportional to the test file and removing it frees up the space again for usage.

Now when you use the storage medium, the hypervisor does not need to waste time allocating additional space on the SAN while attempting to write to your virtual drive at the same time.

0 投票
3 回答
1532 浏览

amazon-s3 - 类似于 S3/EC2 的服务

是否有任何其他提供商提供像 S3/EC2 这样的云计算 + 存储层,并且在两层之间可以免费传输数据?

我看过:

  1. Softlayer CloudLayer Storage——云层存储和云层计算实例之间没有免费传输。
  2. Rackspace CloudFiles - 相当多的营销噱头,以及关于 Cloud Connect 的一些东西,一旦 Live Chat CSS Popup 开始关注我,我就放弃了该网站。

有人知道其他人吗?

我正在寻找存储一些大型(非随机访问)文件以在存储解决方案上不断重新处理,并在附近处理它,而无需每天支付传输费用(希望存储在 500-2000GB 范围内,重新处理它每天)。

重新处理需要具有“体面”(weasel word alert)配置的(Linux)服务器。

谢谢!

0 投票
1 回答
79 浏览

java - 您是针对所有与服务器相关的东西(Git 存储库、邮件、数据库、Web 服务)还是使用许多解决方案?

我想解决我所有的域名问题

  • 我可以存储所有 git 存储库的地方
  • 我可以部署我的 Java、(python、php)应用程序的地方
  • 我在自己的域中拥有 jabber、邮件、silc 的地方

我没有足够的技术知识来运行自己的服务器,我想使用其他解决方案,但尽可能便宜。是否有具有这些功能的云解决方案?是否有值得信赖的廉价服务器提供商?还是您使用许多解决方案,例如 gmail、github、aws/gae 等?

0 投票
4 回答
12640 浏览

azure - Windows Azure 和 GoDaddy 的区别

Microsoft Window 的 azure 和 GoDaddy、hostgator 等网络托管公司之间有什么区别?

0 投票
1 回答
110 浏览

hosting - 使用“云”存储在同一应用的用户之间传输文件

我正在构建一个需要与其他用户交换一些非常小的 xml 文件的 WPF 应用程序。我目前正在研究 peer2peer 网络,但我需要文件的发送者能够在接收者不在线的情况下发送。我不想自己托管服务,并且我希望用户将他们与之交互的其他用户本地存储在他们的机器上,例如只是一个名称和一个 GUID 或电子邮件地址来识别他们。

你们对如何解决这个问题有什么建议吗?我一厢情愿的想法是,如果有免费或廉价的服务,用户可以通过我的程序连接到公共 API 并上传他们的文件。当接收方用户登录时,它会检查服务并以某种方式进行身份验证,并下载 XML 文件以便程序导入。

我已经使用 IMAP 库制作了一个解决方案,其中 XML 文件附加在电子邮件中并发送到接收者的电子邮件帐户。接收器上的程序检查电子邮件并阅读附件。这工作正常,但不是很光滑,而且还会填满用户的收件箱并用垃圾发送项目..

非常感谢任何建议。

最好的问候奥拉

0 投票
1 回答
4784 浏览

amazon-ec2 - 用于网络托管的亚马逊 EC 或“标准”VPS?

我正在查看 Amazon EC 的小型 Linux 托管设置,最多可容纳十几个站点,我希望标准 PHP/MySQL 站点具有良好的性能。在考虑时,我想就亚马逊服务的物有所值提出意见:

  1. 响应速度/页面加载...
  2. 成本 ...
  3. 易于设置/维护...

...与其他类似价格的 Linux VPS 托管设置相比。

我知道可扩展性是亚马逊的一大优势,但我对上述三个因素更感兴趣。

0 投票
1 回答
754 浏览

cloud - 云中的安全协作软件开发环境

我正在寻找在云中运行的安全协作软件开发环境,例如 Chaperon。它应防止代码被复制粘贴到环境之外,并应采取一切措施防止、检测和阻止 IP 盗窃。当然,它应该包括所有用于颠覆跟踪和调试的常用 IDE 工具。有什么建议么?

0 投票
2 回答
890 浏览

java - Java API - 云服务

我希望很多人已经知道 Dropbox Cloud Service 用于在各种客户端之间存储和同步文件。我毫不犹豫地使用第三方服务来存储我的个人文件。

我正在尝试使用我的 2TB 硬盘构建个人云存储。我想我正在寻找关于从哪里开始、使用哪些 API [最好是 JAVA 和 J2EE]、安全性、风险的指针?

0 投票
2 回答
9805 浏览

asp.net - ASP.NET 云应用与普通 ASP.NET

我正在阅读这篇文章使用 Visual Studio 2010 构建您的第一个云应用程序时,它击中了我:

  1. 为什么我要从我的正常托管(共享帐户、VPS 或其他)切换到在云服务器上托管?

  2. 我是否必须使用 ASP.NET 云应用程序构建我的网站才能在任何提供云服务的公司托管它?

  3. 如何将我的 ASP.NET Web 应用程序编辑为 ASP.NET 云应用程序?

这些是我认为有助于收集有关这项新技术及其自己的应用程序模板的全貌的问题!但请随时在答案中添加更多要考虑的要点。

编辑

那么除了在 Azure 和其他云服务器之间实现网站的差异之外,Azure 和其他云服务器之间是否存在性能差异或任何其他差异?

我不太明白您所说的“与您自己的员工一起将您的应用程序带到现场可能会变得更经济”的意思

Azure 定价很高,需要一个全新的专用项目来处理它的限制。所以托管和开发都是昂贵的

我希望是否有任何关于良好云托管的文章,也许还有任何关于用户体验的文章(合法的评论,如果你有的话,也许是你的)

0 投票
4 回答
624 浏览

azure - 最小化云锁定风险的架构策略?

我想了解什么是减轻基于云的系统供应商锁定风险的最佳方法。

例如,我想将大量不同的系统部署到 Amazon EC2 或 Windows Azure,但如果/在必要时,我想尽量减少将这些系统迁移到替代云供应商的成本。

至少,我似乎越依赖供应商特定的解决方案(如 Amazon Queue Service),我就越天生被锁定(至少我是这么认为的),但我想更好地了解这种风险以及任何超越它。

是否有我可以用来缓解这种情况的架构策略(例如,依赖 map reduce,因为我的脚本可以移植到另一个 map reduce 云环境)?是否有比其他更好的 O/S 或堆栈(Linux、LAMP?)。使用 JClouds 有用吗?

理想情况下,我想设计可以部署在 EC2 上的虚拟系统,例如,然后可以轻松迁移到 Azure 或 App Engine(反之亦然)。

我通常用 Java 编写,但正在考虑选择性地使用 Scala 和 Python(或 Jython),并且我通常仍在尝试保持基于 JVM。我倾向于做很多并行处理,并且依赖 SQL 和非 SQL(但不是必须的 NoSQL)存储和数据操作技术。

提前致谢。希望我在这里不会太不切实际。