🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by Greg Sullivan Tue, 19 Apr 1994 09:12
[TIN] Suggestion: please add switch to force local indexing.
#8582
Author: Greg Sullivan
Date: Tue, 19 Apr 1994 09:12
19 lines
1729 bytes
I would like a command line switch to force TIN to use 'local' indexing, 
rather than reading the index from the server. I have found that,
for the server I am currently using, performance is much faster
when using local indexing. 

I have modified my copy of TIN such that it will always use local
indexing, rather than pull the indexes from the server. Before
this modification, TIN simply wouldn't use local indexing
if it detected that the server supported it.

Now that I have local indexing going, I find that TIN is very
fast, and great to use overall, too.

Greg.
-------------------------------------------------------------------------
Greg Sullivan                         email: sullivan@aussie.enet.dec.com   
Digital Equipment Corporation         phone: +61 2 561-6445
Sydney                                fax:   +61 2 427-4386
AUSTRALIA                                                                     
Re: [TIN] Suggestion: please add switch to force local indexing.
#8602
Author: Bruce D. Inglish/40182
Date: Tue, 19 Apr 1994 21:13
16 lines
1499 bytes
Greg Sullivan (sullivan@mickie.sna.dec.com) wrote:
: ... I have modified my copy of TIN such that it will always use local
: indexing, rather than pull the indexes from the server... 

: ...Now that I have local indexing going, I find that TIN is very
: fast, and great to use overall, too.

How did you do this?  We have a REAL performance problem with TIN, but 
otherwise love it.

I would really like to recompile and try this "feature".  Details please.


--
Bruce D. Inglish, McDonnell Douglas Helicopter Co., Mesa, AZ
binglish@hpr26.mdhc.mdc.com
Re: [TIN] Suggestion: please add switch to force local indexing.
#8615
Author: Greg Sullivan
Date: Wed, 20 Apr 1994 11:37
32 lines
2466 bytes
Bruce D. Inglish/40182 (binglish@hpr26.mdhc.mdc.com) wrote:
: Greg Sullivan (sullivan@mickie.sna.dec.com) wrote:
: : ... I have modified my copy of TIN such that it will always use local
: : indexing, rather than pull the indexes from the server... 

: : ...Now that I have local indexing going, I find that TIN is very
: : fast, and great to use overall, too.

: How did you do this?  We have a REAL performance problem with TIN, but 
: otherwise love it.

: I would really like to recompile and try this "feature".  Details please.

It's really easy. Just comment out the lines in OPEN.C that set
XINDEX_SUPPORTED and XOVER_SUPPORTED. Also, I added a printf
to let users know that it was ignoring the indexing capabilities
of the server. I think the right way to do the printf is to
only do it if the variable 'update' is FALSE, so that the message
isn't displayed from the background update process when the 
-U switch is used. Haven't tested that bit of the mod yet.

Look at the man page for info on different ways to update
the index files. Currently, I'm just running a batch job
in the wee hours. I'll be installing the daemon soon, so 
that all users can share a common index database.

Greg.
-------------------------------------------------------------------------------
Greg Sullivan                           email: sullivan@aussie.enet.dec.com   
Digital Equipment Corporation           phone: +61 2 561-6445
Sydney                                  fax:   +61 2 427-4386
AUSTRALIA                                                                     
Re: [TIN] Suggestion: please add switch to force local indexing.
#8616
Author: Greg Sullivan
Date: Wed, 20 Apr 1994 11:50
25 lines
2350 bytes
Greg Sullivan (sullivan@mickie.sna.dec.com) wrote:
[stuff removed]
: of the server. I think the right way to do the printf is to
: only do it if the variable 'update' is FALSE, so that the message
: isn't displayed from the background update process when the 
: -U switch is used. Haven't tested that bit of the mod yet.

That bit about the printf is wrong - when I qualified the printf
with 'update' being FALSE, the message wasn't ever displayed.
I'm just going to put up with the extra message being written
to the screen from the update process - it's easy to hit ^L.

Greg.
-------------------------------------------------------------------------------
: Greg Sullivan                           email: sullivan@aussie.enet.dec.com   
: Digital Equipment Corporation           phone: +61 2 561-6445
: Sydney                                  fax:   +61 2 427-4386
: AUSTRALIA                                                                     

--
-------------------------------------------------------------------------------
Greg Sullivan                           email: sullivan@aussie.enet.dec.com   
Digital Equipment Corporation           phone: +61 2 561-6445
Sydney                                  fax:   +61 2 427-4386
AUSTRALIA                                                                     
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads