A Scalable, User-Friendly Source Control System.
Go to file
Stanislau Hlebik 1ab5dcaacb mononoke: use RwLock in RevlogRepo
Summary: Bottleneck while blob importing of a huge repo is in the lock contention. Replacing it with RwLock speeds up fbsource import from 20 hours down to 6 hours.

Reviewed By: farnz

Differential Revision: D5891097

fbshipit-source-id: bbac2e113896958d6f2da270837c9787e701b5cb
2017-09-25 05:43:38 -07:00
async-compression/src Initial commit 2017-07-27 18:00:19 -07:00
asyncmemo/src rust: asyncmemo: add failure test 2017-08-29 12:36:18 -07:00
blobrepo/src rename Path to MPath 2017-09-22 17:27:03 -07:00
blobstore mononoke: blobstore: use ! for memblob errors 2017-09-19 16:11:54 -07:00
bookmarks Remove usage of deprecated Tokio APIs 2017-09-23 10:50:20 -07:00
cmds blobimport: add an option to postpone compaction 2017-09-22 08:33:25 -07:00
eden-server/src mononoke: support rocksdb blobstore in eden server 2017-09-21 08:25:23 -07:00
futures-ext/src rust: futures-ext: use ! for errors that can't happen 2017-09-19 16:11:54 -07:00
heads removed use of deprecated Tokio APIs from fbcode/scm/mononoke/heads/fileheads 2017-09-21 21:21:10 -07:00
hgcli/src Initial commit 2017-07-27 18:00:19 -07:00
hgproto/src update and pull in uuid + subprocess 2017-09-08 17:05:38 -07:00
hooks/src add a prototype to implement hooks 2017-09-05 22:52:51 -07:00
mercurial/src mononoke: use RwLock in RevlogRepo 2017-09-25 05:43:38 -07:00
mercurial-bundles/src rename Path to MPath 2017-09-22 17:27:03 -07:00
mercurial-graphql/src rename Path to MPath 2017-09-22 17:27:03 -07:00
mercurial-types rename Path to MPath 2017-09-22 17:27:03 -07:00
metaconfig/src rename Path to MPath 2017-09-22 17:27:03 -07:00
py_tar_utils move tar_utils.py from update_rust into an open sourceable location 2017-09-14 13:52:23 -07:00
repoinfo/src mononoke: repoinfo: use u64 for Generation type 2017-09-21 16:52:35 -07:00
revset/src Add tests to confirm that NotReady doesn't panic 2017-09-21 16:25:46 -07:00
server/src server: read config repo instead of command line arguments to start the server 2017-09-22 09:22:18 -07:00
sshrelay/src Initial commit 2017-07-27 18:00:19 -07:00
tests rename Path to MPath 2017-09-22 17:27:03 -07:00
vfs/src rename Path to MPath 2017-09-22 17:27:03 -07:00
CONTRIBUTING.md Initial commit 2017-07-27 18:00:19 -07:00
LICENSE Initial commit 2017-07-27 18:00:19 -07:00
README.md mention in README that Mononoke supports Mercurial 2017-07-28 14:41:37 -07:00
rustfmt.toml config for rustfmt-nightly 0.2.6 2017-09-18 10:50:27 -07:00

Mononoke

Mononoke is a next-generation server for the Mercurial source control system, meant to scale up to accepting thousands of commits every hour across millions of files. It is primarily written in the Rust programming language.

Caveat Emptor

Mononoke is still in early stages of development. We are making it available now because we plan to start making references to it from our other open source projects such as Eden.

The version that we provide on GitHub does not build yet.

This is because the code is exported verbatim from an internal repository at Facebook, and not all of the scaffolding from our internal repository can be easily extracted. The key areas where we need to shore things up are:

  • Full support for a standard cargo build.
  • Open source replacements for Facebook-internal services (blob store, logging etc).

The current goal is to get Mononoke working on Linux. Other Unix-like OSes may be supported in the future.