How Newsplex handles connections
I'm using Newsplex as a nntp proxy, however I ran into some undesired behavior. My servers.ini below.
If an article is not found on server1, Newsplex sometimes goes directly to the backup server. I would like it to try both server 2 and server 3 before going to the backup server (i.e. try all servers in the same category before going to higher category).
This could be accomplished by setting server1 to category=0, server2 to category=1 and server3 to category=2 but I want to be able to use all servers at the same time as no server will saturate my connection.
In other words I want to be able to use server1, server2 and server3 at the same time in a kind of balanced setup to maximize bandwidth usage and that backup servers (servers with higher categories) are only used if none of the servers in the lower category can find the requested article.
The total count of connections for category=0 is 22.
If I set my client to use 40 connections (= 2 clients with 20 each) then NewsPlex will also connect to and use the backup server.
I expected NewsPlex to use some sort of a queue where each incoming request is put to the bottom of the queue and the worker threads serve requests from the top of the queue. Also the queue should try to feed all 40 connections from category 0 and only use category 1+ if all category 0 servers fail to get the article.
My temporary fix is to allow only 22 connections in NewsPlex (and then only 10 connections when my free trial expires due to problem 1: I have to move the free server to cat 1 and the expensive backup server to cat 2 for proper usage).
Because of number 2 above, I decided to try with 11 connections per client. The problem is that server2 is faster than server1 so when only one client is connected, NewsPlex will use the 10 first connections with server1 and then use 1 connection with server2. I thought NewsPlex was taking speed etc into account? If yes, it should be using 10 connections with server2 and one connection with server1.
comment=Primary server with unlimited usage but speed is only 50% of my connection
comment=Free trial on good server
comment=Free slow server with unlimited usage
comment=Backup server - expensive