Subversion 1.5 性能很差吗? [英] Does Subversion 1.5 performance stink?

查看:23
本文介绍了Subversion 1.5 性能很差吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们一直在开展一个项目,每个人都在主干之外工作.该项目已经达到了我们的开发团队不断壮大的地步,我们终于开始进行客户端发布(所有好事).因此,为了帮助协调所有这些,我们开始遵循分支/合并等 SVN 最佳实践.

We've been working on a project where everyone is working off of trunk. The project has reached the point where our development team is growing and we've finally started doing client releases (all good things). So, to help co-ordinate all this we started following the SVN best practices of branching/merging etc.

我们面临的问题是合并需要超过 20 分钟,并且经常因连接重置由对等方"或PROPFIND"错误而失败.分支和合并非常痛苦,以至于它们几乎无法使用.我们只有大约 1000 个文件,而且通常我们合并的文件少于 20 个,但仍然需要 20 分钟.我们使用 Apache 访问 SVN.

The problem we're facing is that merges are taking upwards of 20 minutes and very often fail with "connection reset by peer" or "PROPFIND" errors. Branching and merging are just so much of a pain that they are very near unusable. We only have about 1000 files or so and very often we're merging less than 20 files and it still takes 20 minutes. We're using Apache to access SVN.

我的问题是,这是典型的还是我们配置错误?您的 SVN 存储库有多大以及合并需要多长时间?

My question is, is this typical or do we have something configured wrong? How big are your SVN repositories and how long do merges take?

编辑:服务器通过 Internet 访问,我们有一些相当大的二进制文件,我们使用 Mac、Linux 和 Windows 客户端.没有我们所知道的互联网或网络问题.

Edit: The server is accessed via the Internet, we have some rather large binary files, we use Mac, Linux and Windows clients. No Internet or network problems we know of.

推荐答案

这是由于 Apache,请参阅 Stack Overflow 问题Svnserve VS mod_dav_svn".

This is due to Apache, see Stack Overflow question "Svnserve VS mod_dav_svn".

总结:

似乎鲜为人知的是,所使用的服务器变体的选择——Apache Subversion mod_dav_svn 模块或独立的 svnserve 服务器——对测量和感知的颠覆性能有很大影响.通常 svnserve 比 Apache mod_dav_svn 快得多……………………最显着的性能损失是在针对 mod_dav_svn 服务器的 svn log 和 svn 合并操作期间测量的 - 如果例如,您会立即注意到更糟糕的 svn log 性能.使用 Eclipse Subversion 插件 Subclipse.

It seems to be less known that the choice of the server variant used - the Apache Subversion mod_dav_svn module or the standalone svnserve server - have a great impact to measured and perceived subversion performance. Usually svnserve is significantly faster than Apache mod_dav_svn ............... The most significant performance penalty was measured during svn log and svn merge operations against the mod_dav_svn server - you'll notice worse svn log performance immediately if eg. using the Eclipse Subversion plugin Subclipse.

这篇关于Subversion 1.5 性能很差吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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