🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #3392

Re: Simple e-mail server

#3392
From: Remy Lebeau (TeamB)
Date: Tue, 27 Sep 2005 17:06
19 lines
1682 bytes
"Vladimir Stefanovic" <antivari@po.sbb.co.yu> wrote in message
news:43396990@newsgroups.borland.com...

> If the only job that my TServerSocket::OnGetThread
> is to write a row (record) of data to some DB, can
> that be considered fast (I expect up to 10 connections
> at a time in the worst case)?

That is dependant on the speed of the DB, and the speed of the protection
that you use for guarding the DB from threading issues.

Why are you writing to the DB in the OnGetThread event handler, though?
That is a very odd place to do it.  Or do you mean that your DB code is in
the thread that is started by OnGetThread and is not inside of OnGetThread
itself?


Gambit
Technical Details
Message-ID: <43397d3c$3@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newscon06.news.prodigy.com!prodigy.net!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <4337dfe1$1@newsgroups.borland.com> <4338297e@newsgroups.borland.com> <43396990@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,97b4b095375844bd
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <4337dfe1$1@newsgroups.borland.com> <4338297e@newsgroups.borland.com> <43396990@newsgroups.borland.com>
Subject: Re: Simple e-mail server
Date: Tue, 27 Sep 2005 10:06:49 -0700
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <43397d3c$3@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1127841084 68.69.17.41 (27 Sep 2005 10:11:24 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newscon06.news.prodigy.com!prodigy.net!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail