sapling/eden/mononoke
Yan Soares Couto 648dea3cfc Add sampling of location_to_hash endpoint
Summary:
https://pxl.cl/1Qh3j
This is the most called edenapi endpoint by far. If we sample logging of it, we can increase the retention of the scuba table.

if we wish, it's possible to not change retention for some "non-trivial" requests, but I haven't done that.

Reviewed By: liubov-dmitrieva

Differential Revision: D31277391

fbshipit-source-id: ee19e9daa4cd39c5d3eac1063e82aa40fc108bc7
2021-10-01 03:37:51 -07:00
..
admin Enable unbounded_depth feature for serde_json 2021-09-30 14:56:43 -07:00
aliasverify Add syslog and slog-syslog crates 2021-09-21 07:22:38 -07:00
alpn update rand and quickcheck 2021-09-29 13:59:49 -07:00
backfill_derived_data Enable unbounded_depth feature for serde_json 2021-09-30 14:56:43 -07:00
benchmark_filestore update rand and quickcheck 2021-09-29 13:59:49 -07:00
benchmarks Fix broken builds caused by rand upgrade 2021-09-29 23:09:58 -07:00
blobimport Add syslog and slog-syslog crates 2021-09-21 07:22:38 -07:00
blobimport_lib Add syslog and slog-syslog crates 2021-09-21 07:22:38 -07:00
blobrepo update rand and quickcheck 2021-09-29 13:59:49 -07:00
blobrepo_utils Add syslog and slog-syslog crates 2021-09-21 07:22:38 -07:00
blobstore rust: rerun autocargo after thrift/rust changes 2021-09-30 17:40:04 -07:00
blobstore_healer update rand and quickcheck 2021-09-29 13:59:49 -07:00
blobstore_sync_queue Add syslog and slog-syslog crates 2021-09-21 07:22:38 -07:00
bonsai_git_mapping Add syslog and slog-syslog crates 2021-09-21 07:22:38 -07:00
bonsai_globalrev_mapping rust: rerun autocargo after thrift/rust changes 2021-09-30 17:40:04 -07:00
bonsai_hg_mapping rust: rerun autocargo after thrift/rust changes 2021-09-30 17:40:04 -07:00
bonsai_svnrev_mapping rust: rerun autocargo after thrift/rust changes 2021-09-30 17:40:04 -07:00
bookmarks Fix quickcheck update breakages 2021-10-01 03:37:51 -07:00
bulkops Add syslog and slog-syslog crates 2021-09-21 07:22:38 -07:00
cache_warmup Add syslog and slog-syslog crates 2021-09-21 07:22:38 -07:00
changesets rust: rerun autocargo after thrift/rust changes 2021-09-30 17:40:04 -07:00
cmdlib update rand and quickcheck 2021-09-29 13:59:49 -07:00
cmds update rand and quickcheck 2021-09-29 13:59:49 -07:00
commit_rewriting update rand and quickcheck 2021-09-29 13:59:49 -07:00
common update rand and quickcheck 2021-09-29 13:59:49 -07:00
derived_data rust: rerun autocargo after thrift/rust changes 2021-09-30 17:40:04 -07:00
edenapi_server Add syslog and slog-syslog crates 2021-09-21 07:22:38 -07:00
edenapi_service Add sampling of location_to_hash endpoint 2021-10-01 03:37:51 -07:00
fastreplay Enable unbounded_depth feature for serde_json 2021-09-30 14:56:43 -07:00
filenodes rust: rerun autocargo after thrift/rust changes 2021-09-30 17:40:04 -07:00
filestore Fix quickcheck update breakages 2021-10-01 03:37:51 -07:00
git fix the semaphore deadlock 2021-10-01 02:33:43 -07:00
gotham_ext Use short gotham request id to save storage space 2021-10-01 03:37:51 -07:00
hgcli update rand and quickcheck 2021-09-29 13:59:49 -07:00
hgproto update rand and quickcheck 2021-09-29 13:59:49 -07:00
hook_tailer Add syslog and slog-syslog crates 2021-09-21 07:22:38 -07:00
hooks Enable unbounded_depth feature for serde_json 2021-09-30 14:56:43 -07:00
lfs_import Add syslog and slog-syslog crates 2021-09-21 07:22:38 -07:00
lfs_import_lib Add syslog and slog-syslog crates 2021-09-21 07:22:38 -07:00
lfs_protocol Enable unbounded_depth feature for serde_json 2021-09-30 14:56:43 -07:00
lfs_server Use short gotham request id to save storage space 2021-10-01 03:37:51 -07:00
manifest Add syslog and slog-syslog crates 2021-09-21 07:22:38 -07:00
megarepo_api rust: rerun autocargo after thrift/rust changes 2021-09-30 17:40:04 -07:00
mercurial rust: rerun autocargo after thrift/rust changes 2021-09-30 17:40:04 -07:00
metaconfig Enable unbounded_depth feature for serde_json 2021-09-30 14:56:43 -07:00
microwave rust: rerun autocargo after thrift/rust changes 2021-09-30 17:40:04 -07:00
mononoke_api use segmeneted changelog for is_ancestor scs queries 2021-09-28 11:51:10 -07:00
mononoke_api_hg report individual errors of hash-to-location correctly 2021-09-22 10:38:45 -07:00
mononoke_hg_sync_job Enable unbounded_depth feature for serde_json 2021-09-30 14:56:43 -07:00
mononoke_types rust: rerun autocargo after thrift/rust changes 2021-09-30 17:40:04 -07:00
mutable_counters Add syslog and slog-syslog crates 2021-09-21 07:22:38 -07:00
mutable_renames Add syslog and slog-syslog crates 2021-09-21 07:22:38 -07:00
newfilenodes update rand and quickcheck 2021-09-29 13:59:49 -07:00
observability Add syslog and slog-syslog crates 2021-09-21 07:22:38 -07:00
permission_checker Add syslog and slog-syslog crates 2021-09-21 07:22:38 -07:00
phases Add syslog and slog-syslog crates 2021-09-21 07:22:38 -07:00
pushrebase update rand and quickcheck 2021-09-29 13:59:49 -07:00
pushrebase_mutation_mapping Add syslog and slog-syslog crates 2021-09-21 07:22:38 -07:00
quiet_stream Add syslog and slog-syslog crates 2021-09-21 07:22:38 -07:00
rate_limiting Add syslog and slog-syslog crates 2021-09-21 07:22:38 -07:00
reachabilityindex rust: rerun autocargo after thrift/rust changes 2021-09-30 17:40:04 -07:00
regenerate_hg_filenodes Add syslog and slog-syslog crates 2021-09-21 07:22:38 -07:00
repo_attributes mercurial cs: switch to manager-based derivation 2021-09-27 08:02:58 -07:00
repo_client Enable unbounded_depth feature for serde_json 2021-09-30 14:56:43 -07:00
repo_factory mercurial cs: switch to manager-based derivation 2021-09-27 08:02:58 -07:00
repo_import Enable unbounded_depth feature for serde_json 2021-09-30 14:56:43 -07:00
revset Fix quickcheck update breakages 2021-10-01 03:37:51 -07:00
scs rust: rerun autocargo after thrift/rust changes 2021-09-30 17:40:04 -07:00
scs_server mononoke: share the megarepo_api via Arc 2021-09-23 08:56:09 -07:00
segmented_changelog update rand and quickcheck 2021-09-29 13:59:49 -07:00
server update rand and quickcheck 2021-09-29 13:59:49 -07:00
sshrelay Enable unbounded_depth feature for serde_json 2021-09-30 14:56:43 -07:00
statistics_collector Add syslog and slog-syslog crates 2021-09-21 07:22:38 -07:00
streaming_clone Add syslog and slog-syslog crates 2021-09-21 07:22:38 -07:00
tests Map requests to shared future for derivation. 2021-09-29 16:10:04 -07:00
time_window_counter Add syslog and slog-syslog crates 2021-09-21 07:22:38 -07:00
tunables Enable unbounded_depth feature for serde_json 2021-09-30 14:56:43 -07:00
unbundle_replay Enable unbounded_depth feature for serde_json 2021-09-30 14:56:43 -07:00
upload_globalrevs Add syslog and slog-syslog crates 2021-09-21 07:22:38 -07:00
walker mercurial cs: switch to manager-based derivation 2021-09-27 08:02:58 -07:00
Cargo.toml Enable unbounded_depth feature for serde_json 2021-09-30 14:56:43 -07:00
README.md mononoke: add README.md and the missing pieces for supporting cargo (#13) 2020-02-13 00:12:36 -08: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.

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