You are either not logged in or not registered with our community. Click here to register.
 
December 09, 2016, 03:30:56 PM

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

Click here if you are having problems.
Default Wide Screen Beige Lilac Rainbow Black & Blue October Send us your theme!

Hark!  The Herald!
Holiday Issue 2016

Wiki Blogs Dicebot

Author Topic: Minor Inbox issue  (Read 404 times)

0 Members and 1 Guest are viewing this topic.

Offline XenphirTopic starter

  • Sick of tea? That's like being sick of breathing!
  • Lord
  • Enchanter
  • *
  • Join Date: Aug 2013
  • Location: Some Elven Forest Sipping Tea
  • Gender: Male
  • Stand for Something or Fall for Everything
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 1
Minor Inbox issue
« on: August 28, 2013, 05:53:35 PM »
Well I have this minor glitch of sorts that, once I get a message it pops up like normal you know, "You have x messages, 1 of which are new" and I click it to read it, I reply, but after  I leave it still says its new :O It happens until I refresh the page about 5 times. It's nothing big just a tad annoying x3

Offline Robelwell202

  • The tall, dark stranger your mother warned you about.
  • Lord
  • Enchanter
  • *
  • Join Date: Dec 2011
  • Location: Earth
  • Gender: Male
  • Helpless in the face of beauty
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 0
Re: Minor Inbox issue
« Reply #1 on: August 28, 2013, 06:45:06 PM »
I'm having that same issue, so you're not alone.

Offline Blythe

Re: Minor Inbox issue
« Reply #2 on: August 28, 2013, 07:07:20 PM »
I've had that issue since joining the site. I'm curious if it's just a little thing that is not important or if there is a solution. While it does not impede my enjoyment of Elliquiy, I'm curious what causes it?

Online Oniya

  • StoreHouse of Useless Trivia
  • Oracle
  • Carnite
  • *
  • Join Date: Sep 2008
  • Location: Just bouncing through. Hi! City of Roses, Pennsylvania
  • Gender: Female
  • One bad Motokifuka. Also cute and FLUFFY!
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 3
Re: Minor Inbox issue
« Reply #3 on: August 28, 2013, 07:30:37 PM »
I've started having it since moving over to the https: protocol.  I don't know if it's coincidence or not, but if I hit 'cancel' the second time that the 'Do you want to open the message in a new tab' box appears on my screen (after I know that I've read the message(s),) it seems to stop the popup until there's a genuine new message.

Offline Vekseid

Re: Minor Inbox issue
« Reply #4 on: August 28, 2013, 07:41:37 PM »
I've had that issue since joining the site. I'm curious if it's just a little thing that is not important or if there is a solution. While it does not impede my enjoyment of Elliquiy, I'm curious what causes it?

Caching is a mechanism by which data gets stored in some intermediate form for faster access.

The value itself is denormalized - rather than calculate it each time (which would be expensive) it just gets stored as an integer that gets incremented when you get messages and decremented when you read them - it rarely gets out of synch, but in theory is possible for it to do so. I have to fix these instances manually.

This value then gets cached to the server's RAM as raw data (along with everything else, at least for a few more months until our database outgrows its ram allocation again). Queries which read said data get placed in the query cache. These are both well-tested caches, and though the latter has a number of issues, it won't return invalid results.

From there it gets handled by the software - SMF uses php's APC cache, as well as its own on-disk cache. Caching was unfortunately added as an afterthought to SMF 2.0 rather than built with such in mind, as [Unknown] himself admitted. It's functional and works, obviously, but some people experience delayed data because it doesn't always properly invalidate the cache on an update.

The database and caching handler was one of the first things I completed properly for the new CMS. As such it's much more robust there.

I've started having it since moving over to the https: protocol.  I don't know if it's coincidence or not, but if I hit 'cancel' the second time that the 'Do you want to open the message in a new tab' box appears on my screen (after I know that I've read the message(s),) it seems to stop the popup until there's a genuine new message.

This should resolve itself once https gets forced.

Online Oniya

  • StoreHouse of Useless Trivia
  • Oracle
  • Carnite
  • *
  • Join Date: Sep 2008
  • Location: Just bouncing through. Hi! City of Roses, Pennsylvania
  • Gender: Female
  • One bad Motokifuka. Also cute and FLUFFY!
  • My Role Play Preferences
  • View My Rolls
  • Referrals: 3
Re: Minor Inbox issue
« Reply #5 on: August 28, 2013, 07:56:32 PM »
This should resolve itself once https gets forced.

Good to know.  It's not causing me any distress, but it's something else to look forward to in addition to the more secure data transfer.

Offline Blythe

Re: Minor Inbox issue
« Reply #6 on: August 28, 2013, 11:29:21 PM »
Ah, thank you for the explanation, Veks. Much appreciated. ^^

Offline TheBlackRider

Re: Minor Inbox issue
« Reply #7 on: August 29, 2013, 05:29:37 PM »
I'm actually having the opposite issue. Ever since the server move, I've stopped seeing the red text that lets me know I have a new message.

Offline BAMF

Re: Minor Inbox issue
« Reply #8 on: August 30, 2013, 12:41:37 AM »
I just wanted to pop in and say thanks for the explanation! I had been meaning to pop my head in and let it be known that I'm having the issue as well.

Thank you for all that you do, Veks! You are one awesome dude! <3