开发者

Multiple django scripts and servers with same project settings

As far as I know there's no limit to the number of scripts and s开发者_JS百科erver instances using the same django project settings and apps to query, alter and save new model instances (save DB related limitations of course).

Is this true?

If not, what are the limitations?


This is true and the recommended way to scale Django beyond one server. Synchronization problems may arise if you are using LocMemCache (limited to local memory), or saving uploaded files with FileField, which saves files to the local filesystem by default. Other similar issues may also crop up.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜