Skip to main content

Diamond-Miner 💎

Tests Coverage Documentation PyPI

D-Miner is the first Internet-scale system that captures a multipath view of the topology. By combining and adapting state-of-the-art multipath detection and high speed randomized topology discovery techniques, D-Miner permits discovery of the Internet’s multipath topology in 2.5 days1 when probing at 100kpps.2

🚀 Quickstart

diamond-miner is a Python library to build large-scale Internet topology surveys. It implements the Diamond-Miner algorithm to map load-balanced paths, but it can also be used to implement other kind of measurements such as Yarrp-style traceroutes.

To get started, install Diamond-Miner and head over to the documentation:

# Requires Python 3.10+
pip install diamond-miner

Publication

Diamond-Miner has been presented and published at NSDI 2020. Since then, the code has been refactored and separated in the diamond-miner and caracal repositories. The code as it was at the time of the publication is available in the diamond-miner-cpp and diamond-miner-wrapper repositories.

If you use Diamond-Miner, please cite the following paper:

@inproceedings {DiamondMiner2020,
  author = {Kevin Vermeulen and Justin P. Rohrer and Robert Beverly and Olivier Fourmaux and Timur Friedman},
  title = {Diamond-Miner: Comprehensive Discovery of the Internet{\textquoteright}s Topology Diamonds },
  booktitle = {17th {USENIX} Symposium on Networked Systems Design and Implementation ({NSDI} 20)},
  year = {2020},
  isbn = {978-1-939133-13-7},
  address = {Santa Clara, CA},
  pages = {479--493},
  url = {https://www.usenix.org/conference/nsdi20/presentation/vermeulen},
  publisher = {{USENIX} Association},
  month = feb,
}

Authors

Diamond-Miner is developed and maintained by the Dioptra group at Sorbonne Université in Paris, France. The initial version has been written by Kévin Vermeulen, with subsequents refactoring and improvements by Maxime Mouchet and Matthieu Gouel.

License & Dependencies

This software is released under the MIT license, in accordance with the license of its dependencies.

Name License Usage
pych-client MIT Querying the database
pygfc MIT Generating random permutations
python-zstandard 3-clause BSD Compression
  1. As of v0.1.0, diamond-miner can discover the multipath topology in less than a day when probing at 100k pps.

  2. Vermeulen, Kevin, et al. "Diamond-Miner: Comprehensive Discovery of the Internet's Topology Diamonds." 17th USENIX Symposium on Networked Systems Design and Implementation (NSDI 20). 2020.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

diamond_miner-1.1.8.tar.gz (27.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

diamond_miner-1.1.8-py3-none-any.whl (44.7 kB view details)

Uploaded Python 3

File details

Details for the file diamond_miner-1.1.8.tar.gz.

File metadata

  • Download URL: diamond_miner-1.1.8.tar.gz
  • Upload date:
  • Size: 27.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.6

File hashes

Hashes for diamond_miner-1.1.8.tar.gz
Algorithm Hash digest
SHA256 2efcfdcf068a60a09c025ec059131766003f2210ba38c374509e3d2fa44d6bb7
MD5 c22c4e20fcdc2b4a584a378c1bde20b7
BLAKE2b-256 ddb4ffca92be7ce1e5b822a76c2d3730782235c75dd17a24a2326bc49e9b392f

See more details on using hashes here.

File details

Details for the file diamond_miner-1.1.8-py3-none-any.whl.

File metadata

  • Download URL: diamond_miner-1.1.8-py3-none-any.whl
  • Upload date:
  • Size: 44.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.6

File hashes

Hashes for diamond_miner-1.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 b112bd99c714511e4de00be9f97427f938f56bcbdac0f4304ada1f1bdd41af62
MD5 390486f4ef34c0b407d396215b8d56b7
BLAKE2b-256 b5e5bdf76752b5a66a2f20031691be47afef5b8b68b66b15b023132b9bea36b0

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.1.8 This release

2 files

1.1.7

2 files

1.1.6

2 files

1.1.5

2 files

1.1.4

2 files

1.1.3

2 files

1.1.2

2 files

1.1.1

2 files

1.1.0

2 files

1.0.5

7 files

1.0.4

7 files

1.0.3

7 files

1.0.2

4 files

1.0.1

4 files

1.0.0

4 files

0.10.2

4 files

0.10.1

4 files

0.10.0

4 files

0.9.2

14 files

0.9.1

12 files

0.9.0

12 files

0.8.0

12 files

0.7.5

12 files

0.7.4

12 files

0.7.3

12 files

0.7.2

12 files

0.7.1

12 files

0.7.0

12 files

0.6.1

12 files

0.6.0

12 files

0.5.5

12 files

0.5.4

12 files

0.5.3

12 files

0.5.2

12 files

0.5.1

12 files

0.5.0

12 files

0.4.1

17 files

0.4.0

17 files

0.3.4

15 files

0.3.3

15 files

0.3.2

15 files

0.3.1

15 files

0.3.0

15 files

0.2.0

16 files

0.1.16

16 files

0.1.15

10 files

0.1.14

10 files

0.1.13

10 files

0.1.12

10 files

0.1.11

10 files

0.1.10

10 files

0.1.9

10 files

0.1.8

10 files

0.1.7

10 files

0.1.6

10 files

0.1.5

10 files

0.1.4

10 files

0.1.3

10 files

0.1.2

7 files

0.1.1

7 files

0.1.0

7 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page