It seems to me that this is is an issue that is not resolved in
Python, but in your database's language. Every database language
that's word the name has a command like "get the record that has
such-and-such value for this-and-that property". What command it is,
depends on the database. Or am I now
Dj Gilcrease wrote:
> This takes up about 20 megs per person connecting, which is very high
> IMHO, and I am hoping by storing all the data in the database and only
> retrieving it when I need it will help reduce the memory footprint of
> my server
You seem to think that it is the socket that tak
"Dj Gilcrease" <[EMAIL PROTECTED]> wrote
>I was wondering if it was possible to find and object by it's ID.
Its probably possible but almost certainly the wrong thing to do...
> what I want to do is something like
> snipped...
> The reason I want to do this is right now I store all the data i
I was wondering if it was possible to find and object by it's ID.
what I want to do is something like
def incomingConnection(self, stuff):
(incSock, incAdder) = self.__sock.accept()
#Add the adder socket ID and other info to a DB
def sendMessage(self, adder, message):
#query the DB