NNTP tools: nntpgen, nntpsink

River Tarnell river at loreley.flyingparchment.org.uk
Tue Dec 24 18:44:38 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

While not directly INN-related, I thought this might be useful to some 
people on this list.

I've recently created two utilities to aid in NNTP server development: 
nntpgen and nntpsink.  They are designed for stress/load-testing and 
benchmarking, but could also be useful in other areas.

nntpgen acts as an NNTP client (innfeed-like), generates random NNTP 
articles and feeds them to a peer (streaming only for now) as fast as 
possible.

nntpsink acts as an NNTP transit server, accepts articles from clients 
(IHAVE or streaming, no posting) and discards them.

Both tools print statistics on number of articles processed per second.
In testing, nntpgen feeding nntpsink operated at ~160,000 articles/sec 
on an 8-core 3.4GHz Intel i7, which should be much faster than any real 
NNTP server.

For now there are no releases, but source can be obtained from Github:

https://github.com/rtarnell/nntpgen
https://github.com/rtarnell/nntpsink

Questions / comments / bug reports etc. appreciated (consider these beta 
at best for now!).

Regards,
- -- 
        -- river.                      | Free Usenet: http://news.rt.uk.eu.org/
Non-Reciprocal Laws of Expectations:   | PGP: 2B9CE6F2
    Negative expectations yield negative results.
    Positive expectations yield negative results.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (FreeBSD)

iEYEARECAAYFAlK51hYACgkQIXd7fCuc5vKI8QCgvc8DVN89ouBx8+M7iYvPy1MO
B1cAoISntWGtDWJETtCS3EG8ybDYVZow
=+LAQ
-----END PGP SIGNATURE-----


More information about the inn-workers mailing list