Article View: news.software.readers
Article #265394Re: (Dialog) Delay when switching servers
From: Rudolph Rhein
Date: Wed, 02 Mar 2022 06:07
Date: Wed, 02 Mar 2022 06:07
42 lines
2860 bytes
2860 bytes
VanguardLH <V@nguard.LH> wrote: > How Dialog works > Threads and Jobs Threads and Jobs Whenever you get new headers, get an article body, send an article, etc. you create a job that Dialog processes in a thread. Each thread has its own connection to a newsserver. How many threads there are and which jobs are processed in which threads is explained below. The number of allowed connections to a server can be set on the Settings>Servers,Signatures,Identities>Newsservers page. Besides this per-server setting, there is an additional global option called Minimal blocking threads on the Settings>General settings>Misc. If this option is unchecked new jobs for a server are executed immediately until there are no more slots available. After that another job has to end first to get the job executed. If this option is checked things work a bit differently: The number of allowed threads in the server settings is divided by two. Jobs that tend to take longer, like "Get group list", "Get new headers", etc. go to the first half of the available slots only. Say, you allow 10 threads for a server and start "Get new headers" for 10 groups, only 5 are started immediately and there will be 5 unused slots. The second half of the slots is used for jobs that tend to either be fast or that one generally wants to execute immediately, like "get selected body" or "send article". Using Minimal blocking threads lets you get new headers in a long list of subscribed group for example and while headers come in for other groups you can still get bodies in other groups without having to wait for all the "Get headers" jobs to finish. Note that if there are no more jobs for a newsserver the connection is not immediately dropped, but kept open for another 3 minutes. To explicitly terminate all unused connections double click on the Connections: X area on the status bar.
Technical Details
Message-ID:
<svn1io$t56$1@gioia.aioe.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<svgtpn$aoj$1@gioia.aioe.org> <mjjcqsnugsq3$.dlg@b.rose.tmpbox.news.arcor.de> <w29uuh74537e.dlg@v.nguard.lh>Show Full Headers
Complete Article Headers
Message-ID: <svn1io$t56$1@gioia.aioe.org> Subject: Re: (Dialog) Delay when switching servers Date: Wed, 2 Mar 2022 08:07:16 +0200 From: Rudolph Rhein <RudolphRhein@nospam.net> References: <svgtpn$aoj$1@gioia.aioe.org> <mjjcqsnugsq3$.dlg@b.rose.tmpbox.news.arcor.de> <w29uuh74537e.dlg@v.nguard.lh> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.software.readers Organization: Aioe.org NNTP Server Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8bit Injection-Info: gioia.aioe.org; logging-data="29862"; posting-host="7xrTDfLi/j/mfPaNOXLkBw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org"; User-Agent: 40tude_Dialog/2.0.15.41 (Beta 38) X-Notice: Filtered by postfilter v. 0.9.2