文件系统是否在多个 Azure 网站之间共享? [英] Is the file system shared across multiple Azure websites?

查看:12
本文介绍了文件系统是否在多个 Azure 网站之间共享?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

快速提问.我希望使用网站将网站部署到 Azure.

Quick question. I'm looking to deploy a website to Azure using websites.

我读到一条评论说文件系统在网站的多个实例之间共享?

I read a comment that stated that the file system is shared across multiple instances of the website?

  1. 这是真的吗?
  2. 这是否意味着如果我将图像上传到文件系统在一个实例上,第二个实例上的所有请求都将具有访问文件?
  3. 文件是否在实例之间同步?它们都指向一个驱动器,即在某处的 blob 存储中?

我们将部署一个 Umbraco 7 站点,所以我仍然需要测试这可能在 lucene 索引等方面存在的任何问题.有谁知道 Umbraco 7 和这种部署方法有什么并发症吗?

We will be deploying an Umbraco 7 site, so I still need to test for any issue this might have on the lucene indexing etc. Does anyone know of any complications with Umbraco 7 and this method of deployment?

提前致谢

戈登

推荐答案

bedane 的回答是错误的.这个问题是关于 Azure 网站(不是关于 Azure Web 角色)

The answer from bedane is incorrect. This question is about Azure Web Sites (not about Azure Web Roles)

1) 是的,这是真的.Azure 网站使用 Azure 存储 blob 存储您的内容,这些 blob 作为可读取/可写的公共共享装载并呈现给网站.

1) Yes it is true. Azure Web Sites stores your content using Azure Storage blobs that are mounted and presented to the web site as a common share that is read/writable.

2) 根据 1),当您上传文件时,您会将其上传到公共共享,因此所有实例都会立即看到上传.

2) By virtue of 1), when you upload the file you are uploading it to the common share and therefore all instances will see the upload immediately.

3) 实例都指向一个驱动器(只是重复点 1)

3) The instances all point to a single drive (just repeating point 1)

此 Azure 网站架构专门设计用于支持安装插件并直接更改站点内容目录的应用程序,例如 Umbraco、Wordpress 等.此设计点修复了 Azure Web 角色中当前存在的问题.

This architecture for Azure Web Sites was designed specifically to enable applications like Umbraco, Wordpress, etc. that install plugins and make changes directly to the site content directory. This design point fixes the problem that currently exists in Azure Web Roles.

这篇关于文件系统是否在多个 Azure 网站之间共享?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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