Article View: news.software.nntp
Article #60139Re: INN / MySQL
From: Charles Nadeau
Date: Sat, 31 Aug 2002 12:20
Date: Sat, 31 Aug 2002 12:20
98 lines
4573 bytes
4573 bytes
This is a multi-part message in MIME format. --------------0D311B24F8DE0F25203387F3 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit "Steven L. Sesar" wrote: > > Steven Sporkmann wrote: > > I now that it is not fast enough for big news sites. > > But i have only 2000 new news on my system, but i need to store it for 3 > > years (or longer) > > so i have a lot of files which make the system very slow and use a lot of > > diskspace (inodes) > > > > mfg Steven > > > > Your requirements still don't justify pushing your articles into a MySQL > database. How would the existance of "a lot of files" slow your system > down? It takes disk space (which is dirt cheap these days), but that's > about it. > > If you need long retention periods for your articles, get yourself a > bunch of disk space. If you can't justify the upfront cost, then build a > system that you can add disks to in the future and consider implementing > RAID-0 (disk concatenation), as you need it. Steven, If your only justification is long term storage, you can write a Perl script (using News::NNTPClient available at: http://theoryx5.uwinnipeg.ca/mod_perl/cpan-search?filetype=%20distribution%20name%20or%20description;site=ftp.funet.fi;join=and;stem=no;arrange=file;case=clike;download=auto;age=;distinfo=2685), that you run daily through Cron, that will pump the posts out of the NNTP server and in a MySQL server running on (preferably) another machine. I working on something similar using an NNTP to XML-RPC gateway. The gateway I am writing is in pre-alpha stage now but I hope to be able to release something next week-end if I have enough time to work on it this week. I put news of the development process on http://radio.weblogs.com/0111823/. The reason why I am working on it is to be able to bridge INN (or any NNTP server) and Userland's Radio 8 (http://radio.userland.com/). Radio 8 can interact, through its own object-oriented scripting language, with anything exposing an XML-RPC interface. Cheers! Charles http://radio.weblogs.com/0111823/ > > > "Marco d'Itri" <abuse@1.2.0.1.0.0.1.e.f.f.3.ip6.int> schrieb im Newsbeitrag > > news:aknk8e$284$1@wonderland.linux.it... > > > >>steven@broering.de wrote: > >> > >> > >>>how can i store the newsfiles into an MySQL Database instead off an file > >> > > ?? > > > >>You cannot. This would be a very stupid idea. > >>Search with google if you want to know why. > >> > >>-- > >>ciao, | > >>Marco | * The Internet is full. Go away. -- Joel Furr * > > > > > > --------------0D311B24F8DE0F25203387F3 Content-Type: text/x-vcard; charset=us-ascii; name="charles.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Charles Nadeau Content-Disposition: attachment; filename="charles.vcf" begin:vcard n:Nadeau;Charles tel;cell:+81-90-1368-7492 tel;fax:+81-90-752-6077 tel;home:+81-92-716-8775 tel;work:+852-2847-7481 x-mozilla-html:TRUE url:http://radio.weblogs.com/0111823 org:Consulate General of Canada in Hong Kong;Trade Division version:2.1 email;internet:charlesnadeau@hotmail.com title:Regional System Manager adr;quoted-printable:;;13th floor, Tower 1=0D=0AExchange Square=0D=0A8, Connaught Place;Central;Hong Kong;;Hong Kong fn:Charles Nadeau end:vcard --------------0D311B24F8DE0F25203387F3--
Technical Details
Message-ID:
<3D70B4A9.DFB9AE27@elf.coara.or.jp>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.stueberl.de!teaser.fr!wanadoo.fr!opentransit.net!newsfeed.mesh.ad.jp!t-newsgw1.odn.ne.jp!nwall.odn.ne.jp!not-for-mailReferences:
<aknh8r$eq4$1@news1.ewetel.de> <aknk8e$284$1@wonderland.linux.it> <aknkil$g2t$1@news1.ewetel.de> <3D6F6689.3030706@mitre.org>Show Full Headers
Complete Article Headers
Message-ID: <3D70B4A9.DFB9AE27@elf.coara.or.jp> Subject: Re: INN / MySQL Date: Sat, 31 Aug 2002 21:20:57 +0900 From: Charles Nadeau <charles@elf.coara.or.jp> References: <aknh8r$eq4$1@news1.ewetel.de> <aknk8e$284$1@wonderland.linux.it> <aknkil$g2t$1@news1.ewetel.de> <3D6F6689.3030706@mitre.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.stueberl.de!teaser.fr!wanadoo.fr!opentransit.net!newsfeed.mesh.ad.jp!t-newsgw1.odn.ne.jp!nwall.odn.ne.jp!not-for-mail Newsgroups: news.software.nntp Organization: odn.ne.jp Lines: 97 NNTP-Posting-Host: 210.146.39.164 Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------0D311B24F8DE0F25203387F3" X-Trace: nwall2.odn.ne.jp 1030796458 89478 210.146.39.164 (31 Aug 2002 12:20:58 GMT) X-Complaints-To: news@odn.ad.jp NNTP-Posting-Date: Sat, 31 Aug 2002 12:20:58 +0000 (UTC) X-Mailer: Mozilla 4.72 [en] (WinNT; U) X-Accept-Language: fr-CA,fr-FR,en