[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Pan-users] cache NNTPMessage from localhost
From: |
Thufir |
Subject: |
Re: [Pan-users] cache NNTPMessage from localhost |
Date: |
Thu, 5 Apr 2012 15:29:34 -0700 |
User-agent: |
Pan/0.133 (House of Butterflies) |
On Thu, 05 Apr 2012 00:43:29 +0000, Duncan wrote:
>> Another direction is to just keep the socket to Leafnode open, and then
>> if it gets closed inadvertently, just open a new connection. Does that
>> seem at all reasonable? I would prefer to deal with individual
>> messages only at the level of NNTPMessage.
>
> I still don't know anything beyond what's in your message about
> NNTPMessage, but the idea in general appears to me to be sound. Long
> term socket connections, ESPECIALLY localhost only, should "just work".
> If they don't, there's something else seriously wrong.
>
Thanks, that helps put me in the right direction. I was starting to go
down the path of storing these messages into a custom Java @Entity, and
then that naturally leads to a database...total overkill.
-Thufir