[metrics-team] Onionoo architecture
karsten at torproject.org
Thu Jul 14 19:50:22 UTC 2016
-----BEGIN PGP SIGNED MESSAGE-----
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
- 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,
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
-----END PGP SIGNATURE-----
More information about the metrics-team