[metrics-team] Onionoo architecture
Karsten Loesing
karsten at torproject.org
Thu Jul 14 19:50:22 UTC 2016
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 14/07/16 20:22, Anathema wrote:
> As already said in the meeting today, I'd like to know the
> architecture underline the Onionoo service: which
> webserver/caching/db/$tech is used?
Here's what happens to a request coming in to
https://onionoo.torproject.org/:
- Varnish checks whether it has served the same request before and
still has a recent enough copy. If not, it forwards to:
- Jetty, which has a single servlet and an in-memory index of
anything that can be contained in query parameters. That servlet
compiles a list of relay and bridge fingerprints for the response.
Actual response contents are located in the:
- file system, which contains one file per document type and fingerprint.
> What are the internal details? Do you have any benchmark data like
> CPU/RAM loads?
I'm afraid I don't have anything else than what I said in today's meeting.
Hope that helps!
> Thanks, Regards
All the best,
Karsten
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
iQEcBAEBAgAGBQJXh+z+AAoJEC3ESO/4X7XBao8H/1VbbVWl1CasES0pgUJK6Jxf
hWLWl34AqeYurUqXXuwZ5OEgznAdUmPzoPJc2k3CYWIByq0vjgAhg5B7Te6nAYn1
et4FV/r688/1QdUZYPhqOBIukWYEda6Ix/c52lT5kHggzYwbXYXZKnSNAOUBmYRi
wrAZrmitMq6RHd4bSDOSMe24kIjXltpg/3TgKfi1AT2DSD5vNaL/6Cfi96fn2w1/
SjMaZx9a4HJlUAmXbakXF/1KSK41nOEXPE9pwgM71XyNNn9vsZG0Rm7/mUAMRaan
ygMyNn1Xw4pBUsSbZcjrJHwKHFiMMnzSnGBjkyLLAqKVIqbo6/xqPU9fkvYX+oQ=
=Eml5
-----END PGP SIGNATURE-----
More information about the metrics-team
mailing list