EmailDiscussions.com  

Go Back   EmailDiscussions.com > Email Service Provider-specific Forums > FastMail.FM Forums > FastMail.FM General Discussions
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

FastMail.FM General Discussions Everything that does not belong in the help or feature requests Forums goes here. This includes discussion about FastMail.FM policies, development (such as stylesheet development),FastMail.FM support sites like the Wiki, and so forth.

Reply
 
Thread Tools
Old 11th October 2005, 10:29 PM   #1
robmueller
Intergalactic Postmaster
 
Join Date: Oct 2001
Location: Melbourne, Australia
Posts: 6,098

Representative of:
Fastmail.FM
Need help trialing some caching changes on /beta/

I've just made some updates on our beta server to try and deal better with caching of message counts. Basically it uses a couple of tricks now to keep track of the message counts in folders for longer, and refresh them less often (only when they're needed).

This should hopefully improve responsiveness for users with a large number of folders and/or folders with lots of messages.

So basically I'm hoping that people can try logging in via http://www.fastmail.fm/beta/ and just use it, and report if they notice anything strange or different happening.

Thanks

Rob
robmueller is offline   Reply With Quote
Old 12th October 2005, 08:25 AM   #2
hadaso
The "e" in e-mail
 
Join Date: Oct 2002
Location: Holon, Israel.
Posts: 4,484
OK

I logged out. Went to FastCheck options. Checked "use beta server", and then used Factcheck to login. All folders showed zero messages.
hadaso is offline   Reply With Quote
Old 12th October 2005, 08:57 AM   #3
robmueller
Intergalactic Postmaster
 
Join Date: Oct 2001
Location: Melbourne, Australia
Posts: 6,098

Representative of:
Fastmail.FM
Ok, that should hopefully be fixed now. Was doing the get folder list/refresh counts the wrong way round in the SOAP call.

Rob
robmueller is offline   Reply With Quote
Old 12th October 2005, 09:04 AM   #4
hadaso
The "e" in e-mail
 
Join Date: Oct 2002
Location: Holon, Israel.
Posts: 4,484
Logged out. Relogged in using FastCheck. Now there where some numbers, but the inbox showed 138 and no unread message (despite there being an unread message there in bolds and with preview...)

I went to view one of the read messages and back to inbox and then it showed 139/1. Moved the unread file and now it's back to 138.
hadaso is offline   Reply With Quote
Old 12th October 2005, 02:41 PM   #5
robmueller
Intergalactic Postmaster
 
Join Date: Oct 2001
Location: Melbourne, Australia
Posts: 6,098

Representative of:
Fastmail.FM
Ah yes, I think I see what happened there. Ok, I think I might have that one figured, should be a bit more reliable now.

Rob
robmueller is offline   Reply With Quote
Old 12th October 2005, 04:01 PM   #6
hadaso
The "e" in e-mail
 
Join Date: Oct 2002
Location: Holon, Israel.
Posts: 4,484
Now a few hours passed by. I Left FastMail open in FF on Inbox and the poll window open. Returned to the computer and Fascheck shows 5 unread messages (plus 1 acknowledged). The poll window shows 144/6 in the Inbox. The Inbox view in FF of course showed the old message count from several hour ago. I clicked the Inbox on the folder tree and the counts haven't changed. Moving between folders doesn't change the message counts although I can see new message in several other folders where Sieve files. The inbox still shows 139/ 1 like it did several hours ago.

Read one message and deleted. Now counts have been updated and Inbox shows 143/5.

Now lets try a more daring experiment: I go to reading a new message by openning it in another FF tab.
(OT: the subject line does not display correctly. Subjesct is =?windows-1255?B?Rlc6IDog8ezp5+Qg?= but looks like iso-8859-1 and not windows-1255. It reads: סליחה). Same with "From" header that displays =?windows-1255?B?4OHpIOXp8e7p7yDk4/E=?= as "אבי ויסמין הדס"/
Now that the message is open in one tab I would go back to the message list and try moving to a different folder and back: The message looks as "read" but the count hasn't changed and is still 143/5. In the new tab I go from the message to message list (without deleting) and the count there now is 143/4 (correct). moving in the old message list to a different folder now updates the message count to 143/4. Going into the message view, marking unread and going to the mailbox, and moving between folders in the other mailbox view changes the count in both of them to 143/5.

Now I mark the four unread notifications from EMD and am getting ready to move them to the "Forums" folder. The message count there is 425/59. Message counts updated correctly in both folders (Inbox 139/1, forums 429/63). In the other mailbox screen moving between folders updates the counts correctly.
hadaso is offline   Reply With Quote
Old 12th October 2005, 09:11 PM   #7
eggman
Essential Contributor
 
Join Date: Jun 2002
Location: AU
Posts: 468
Things look fast to me.

I found a little refresh issue:

i did the following
1. logged in to beta
2. used thunderbird to make one message in inbox unread
3. pressed refresh.

The count was incorrect. I then did the following and the count was fixed:
4. click folders
5. press OK

that refreshed the count.

Any way to trap Thunderbird doing this?

Not a biggie anyway.
eggman is offline   Reply With Quote
Old 12th October 2005, 09:27 PM   #8
hadaso
The "e" in e-mail
 
Join Date: Oct 2002
Location: Holon, Israel.
Posts: 4,484
Now (after FastCheck told me there's a message allert on a new opst here) I went to Inbox and it shows 139/1 but should show 140/2 as it shows after refresh.
hadaso is offline   Reply With Quote
Old 13th October 2005, 01:24 AM   #9
n5bb
Intergalactic Postmaster
 
Join Date: May 2004
Location: Irving, Texas
Posts: 5,977
I sent in a FM support request form earlier today, due to problems deleting a folder using the Beta server only (normal server worked fine). I guess this might be related to the caching changes.
n5bb is offline   Reply With Quote
Old 13th October 2005, 10:50 AM   #10
robmueller
Intergalactic Postmaster
 
Join Date: Oct 2001
Location: Melbourne, Australia
Posts: 6,098

Representative of:
Fastmail.FM
Quote:
Originally posted by eggman
Things look fast to me.

I found a little refresh issue:

i did the following
1. logged in to beta
2. used thunderbird to make one message in inbox unread
3. pressed refresh.

The count was incorrect. I then did the following and the count was fixed:
4. click folders
5. press OK

that refreshed the count.

Any way to trap Thunderbird doing this?

Not a biggie anyway.
Because of the internal caching in cyrus, read/unread counts may not actually be properly transferred across IMAP sessions unless you unselect the folder and reselect it. So try this:

1. Login to beta
2. Use TB to mark a message as unread
3. In TB, switch to another folder
4. In the web interface, click Refresh.

Rob
robmueller is offline   Reply With Quote
Old 13th October 2005, 10:52 AM   #11
robmueller
Intergalactic Postmaster
 
Join Date: Oct 2001
Location: Melbourne, Australia
Posts: 6,098

Representative of:
Fastmail.FM
Thanks for the reports. I think basically the main issue is that the "Goto Folder" command wasn't causing any counts to be refreshed.

Since FastCheck generates a URL with the "Goto Folder" command, it would go to the right folder, but no message count update would have been forced, thus it would look inconsistent. I've now made it so that GotoFolder updates the message count of the current folder.

This was the same issue with clicking folder names in the list on the left, it was just moving between the folders, but not updating counts, this should also be fixed.

Rob
robmueller is offline   Reply With Quote
Old 13th October 2005, 04:18 PM   #12
hadaso
The "e" in e-mail
 
Join Date: Oct 2002
Location: Holon, Israel.
Posts: 4,484
Quote:
Originally posted by robmueller
... I've now made it so that GotoFolder updates the message count of the current folder.
This morning I clicked Inbox and the count was right (showed the 4 unread messages that were in the inbox) but the count og the other folders was not. Clicking "Refresh" seemed to update all the message counts.

So it seems that I should get used to clicking "refresh" when I want to see if there's anything new in my unmonitored inboxes (I usually glance at folder tree to see if there are changes, but now am not guaranteed that when an operation is finished the folder counts are updated).
hadaso is offline   Reply With Quote
Old 13th October 2005, 09:23 PM   #13
robmueller
Intergalactic Postmaster
 
Join Date: Oct 2001
Location: Melbourne, Australia
Posts: 6,098

Representative of:
Fastmail.FM
It should update the counts regularly, but I think it may not be.... I'll do some checking tomorrow.

Rob
robmueller is offline   Reply With Quote
Old 14th October 2005, 07:26 AM   #14
robmueller
Intergalactic Postmaster
 
Join Date: Oct 2001
Location: Melbourne, Australia
Posts: 6,098

Representative of:
Fastmail.FM
Ok, I think this was again due to FastCheck using the GotoFolder method when bringing up a FastMail mailbox. That path wasn't causing a recheck of all folders. I've added that in now, so hopefully you shouldn't need to do "Refresh" when coming to a mailbox from FastCheck.

Rob
robmueller is offline   Reply With Quote
Old 14th October 2005, 11:18 PM   #15
JRobert
Master of the @
 
Join Date: Feb 2004
Location: New Hampshire, USA
Posts: 1,562
Rob: I was just testing the sieve body extension on the beta server, and saw folder counts not being updated in response to the refresh button. I think I came in via Fastcheck.

I know you're testing both features; is this expected behavior on the beta server?

-jeff-
JRobert is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +9. The time now is 07:35 AM.

 

Copyright EmailDiscussions.com 1998-2011. All Rights Reserved