about mercurial data access

Benoit Boissinot benoit.boissinot at ens-lyon.org
Mon Apr 5 09:37:57 CDT 2010


On Mon, Apr 05, 2010 at 09:43:01PM +0800, yu xue wrote:
> Hello, everyone:
> I'm now doing a project which is based on mercurial. Our plan is to base
> mercurial on our own distributed filesystem. So we need to know what
> mercurial's data access pattern look like.

Is it a filesystem or a DB?
>
> (1)How does mercurial access data (read/write) and which part of codes are
> possible related?

Can you ask something more precise? (maybe after reading Matt's OLS
presentation, or the behind the scene chapter of the hgbook [1])

It is a bit too vague to give helpful answers.
> 
> (2)How is it possible to access a distributed filesystem(db) maybe such as
> cassandra etc?

Hg reads files, not a DB, but some people (e.g., the Google Code team)
did successsfully use a DB instead.
> 
> (3)How can we make mercurial to take advantage of our distributed
> filesystem's security feature such as confidentiality etc?

[1] http://hgbook.red-bean.com/read/behind-the-scenes.html

Cheers,

Benoit

-- 
:wq


More information about the Mercurial-devel mailing list