Hi,

It is a long message - I am sorry.

I'm implementing JavaMail API within Turbine, and so far so good.
One problem is that
The most time comsumption work is connection to Imap Server , open folders
and get the messages.
In order to reduce the hitting times to Imap server ,
if there is temp object saving fuction in turbine , then it will be very
helpful.

For example.
I made Email_Box_List Object to hold an information such as
folder name , message index , message head information to show message list.

When a user login and click his mail account ,
then turbine connect imap server , open folders , get the whole messages
and make Email_Box_List.
But If I can save this object to disk , then I don't need to connect imap
server
just read this object directly.
And only connect imap server when new message arrive check ,
Email_Box_List update for new message and read a message body.
So the system performance will be very increase.

One limitation to implement such function by myself is that I have no idea
when the session state is in a stale state.
( I don't want to save the object whenever the user change the
Email_Box_List state change
  just save only one time if user loggout or session put into the stale
state )

I'm not sure already this kind of function implemented in Turbine or
How hard/easy work to implements such function.

But if you have some idea or have some implemented code ,
then please let me know it.

Thanks

youngho



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to