forums
new posts
donate
UER Store
events
location db
db map
search
members
faq
terms of service
privacy policy
register
login




 1 2 3 
UER Forum > Private Boards Index > UER Database Talk > How UER's 'advanced' readstates system works on the LDB (Viewed 16511 times)
Avatar-X 

Alpha Husky


Location: West Coast
Gender: Male
Total Likes: 765 likes


yay!

 |  |  | AvBrand
Re: How UER's 'advanced' readstates system works on the LDB
< Reply # 40 on 12/9/2010 9:52 PM >
Reply with Quote
Posted on Forum: UER Forum
Hi,

Yes, I did order & add the 2nd processor.

-av




huskies - such fluff.
pianissimo357 


Total Likes: 0 likes




 |  | 
Re: How UER's 'advanced' readstates system works on the LDB
< Reply # 41 on 12/10/2010 6:08 AM >
Reply with Quote
Posted on Forum: UER Forum
1. Does the main category page stop looking for unread posts in a particular category after it has found the first unread one, or does it find all of them in that category before moving on to the next category?


B. What about having users subscribe to the main forums (boards on general/regional/other) [and regions/countries/states/cities in the LDB] the way we subscribe to user forums? You only get read states on the areas you're subscribed to. A single person can't possibly keep track of or care about every single post on the site, so why not let a user pick and choose which areas to monitor for updates? Everyone could be subscribed by default to any site-wide updates or announcements. Have some kind of cap on subscriptions to prevent people from simply subscribing to everything, but premium members could subscribe to the whole site if they wanted to be difficult about it. Make the "New posts" page only display unread posts & threads in your chosen categories, and have a "most recent posts" page that simply grabs the most recent X number of posts so that a user can see what's going on site-wide without having to mark it all as read. Users could be automatically subscribed to individual threads they've replied to, no matter if they have a subscription to the containing forum.




edit: rogue emoticon removal



[last edit 12/10/2010 10:19 PM by pianissimo357 - edited 1 times]

EatsTooMuchJam 


Location: Minneapolis, MN
Gender: Male
Total Likes: 24 likes


Squirty "Stickybuns" von Cherrypants

 |  |  | Add to ICQ | Yahoo! IM | AIM Message | Photography Site
Re: How UER's 'advanced' readstates system works on the LDB
< Reply # 42 on 12/10/2010 3:22 PM >
Reply with Quote
Posted on Forum: UER Forum
Posted by Avatar-X
Hi,

Yes, I did order & add the 2nd processor.

-av


Boo. The Penguin used 333 and not 667. I'll dig through my memory pile, though. There may still be some 667 ecc in there somewhere!




"The large print giveth and the small print taketh away."
-Tom Waits
TurboZutek 

King Dick


Location: Scotland
Gender: Male
Total Likes: 6 likes


Giant octo-penised rapephant

 |  |  | Yahoo! IM | Urban Exploration in Scotland
Re: How UER's 'advanced' readstates system works on the LDB
< Reply # 43 on 12/10/2010 4:15 PM >
Reply with Quote
Posted on Forum: UER Forum
http://uk.insight....oduct_id=KTEA04B4S

So that'd be about $70 for a further 2 Gig, which I'm sure would make a LOT of difference to UER.

Chris...




We all had ostriches. My dad had an ostrich farm! I remember one day someone came in and said the high altitude bombing of Kosovo had been a limited success, so we all went out and celebrated… by killing an ostrich and boiling it in kiwi fruit.
Avatar-X 

Alpha Husky


Location: West Coast
Gender: Male
Total Likes: 765 likes


yay!

 |  |  | AvBrand
Re: How UER's 'advanced' readstates system works on the LDB
< Reply # 44 on 12/10/2010 4:30 PM >
Reply with Quote
Posted on Forum: UER Forum
So friggen expensive... considering I paid like $200 for the 12gb of ram in my desktop computer.




huskies - such fluff.
TurboZutek 

King Dick


Location: Scotland
Gender: Male
Total Likes: 6 likes


Giant octo-penised rapephant

 |  |  | Yahoo! IM | Urban Exploration in Scotland
Re: How UER's 'advanced' readstates system works on the LDB
< Reply # 45 on 12/10/2010 5:30 PM >
Reply with Quote
Posted on Forum: UER Forum
That's why more and more companies are doing virtualisation of servers on standard desktop PCs. The advantage of a 'server' hardware platform is becoming less and less relevant every day, imho.

That said, compare the memory price I gave you with one from SUN and see if it's still expensive!

Chris...




We all had ostriches. My dad had an ostrich farm! I remember one day someone came in and said the high altitude bombing of Kosovo had been a limited success, so we all went out and celebrated… by killing an ostrich and boiling it in kiwi fruit.
pianissimo357 


Total Likes: 0 likes




 |  | 
Re: How UER's 'advanced' readstates system works on the LDB
< Reply # 46 on 12/11/2010 5:07 AM >
Reply with Quote
Posted on Forum: UER Forum
Any thoughts on the subscription model as described above? I'd love to be able to ignore forums for the purposes of keeping my "new posts" page a bit more specific to the stuff I care about keeping updated on.




Crypton 


Gender: Male
Total Likes: 163 likes




 |  | 
Re: How UER's 'advanced' readstates system works on the LDB
< Reply # 47 on 5/10/2011 11:05 PM >
Reply with Quote
Posted on Forum: UER Forum
Classic ASP... brings back happy memories nightmares.

Actually, If anyone knows coldfusion around here, you are not too far off Well, minus the VBScript for CFScript which is a basterdized form of javascript.

I forgot to mention that the site is coded in ASP3, no .NET.

Why are you reluctant to upgrade when there are people offering you help?
Using webforms (.net) is soo much easier. Plus you can still use Visual Basic (although a lot of people don't reccommend). Finally, there is MVC Framework which is where everything is moving towards (and a lot faster than webforms).

I see some spare time in the future. If you want, I can rewrite the entire site in asp.net mvc 3, for free. Yes. for free (Well, maybe a beer would be also good




Avatar-X 

Alpha Husky


Location: West Coast
Gender: Male
Total Likes: 765 likes


yay!

 |  |  | AvBrand
Re: How UER's 'advanced' readstates system works on the LDB
< Reply # 48 on 5/11/2011 8:53 PM >
Reply with Quote
Posted on Forum: UER Forum
I appreciate the offer, but I'm not too keen on giving away the site's source code...

-av




huskies - such fluff.
Crypton 


Gender: Male
Total Likes: 163 likes




 |  | 
Re: How UER's 'advanced' readstates system works on the LDB
< Reply # 49 on 5/11/2011 10:15 PM >
Reply with Quote
Posted on Forum: UER Forum
Meh, I don't want to see the source code, but I do want to do some black box engineering ;)




Tom 


Location: Pittsburgh
Gender: Male
Total Likes: 6 likes




 |  |  | Hobogan
Re: How UER's 'advanced' readstates system works on the LDB
< Reply # 50 on 9/28/2014 4:16 AM >
Reply with Quote
Posted on Forum: UER Corporate Edition
This is a bit of thread necromancy, but what about a slightly different approach to the problem - split all of your read state tables into two, one for before the last update with a primary key in the index on the user ID, the other for everything since the last update run. When someone reads or views something write to the since the update table and update your counters as usual. You won't want to write random data into the old table all the time since the primary key might make the index updates slow. When you do your count update run you start by copying the recent updates into the main file,
then each user should go quickly since you've essentially told the DB to just row scan their data only (you'll want it all anyway). An occasional (frequency to be tuned later) optimize on the resulting table should take care of the rest but it won't get too bad since the updates are coming in chunked instead of random.

Probably discussing a long-solved problem here, but it still caught my interest.




Avatar-X 

Alpha Husky


Location: West Coast
Gender: Male
Total Likes: 765 likes


yay!

 |  |  | AvBrand
Re: How UER's 'advanced' readstates system works on the LDB
< Reply # 51 on 11/23/2014 5:16 PM >
Reply with Quote
Posted on Forum: UER Forum
Thanks -- I ended up 'solving' it by just getting rid of the readstates complexity.

-av




huskies - such fluff.
UER Forum > Private Boards Index > UER Database Talk > How UER's 'advanced' readstates system works on the LDB (Viewed 16511 times)
 1 2 3 


Add a poll to this thread



This thread is in a public category, and can't be made private.



All content and images copyright © 2002-2024 UER.CA and respective creators. Graphical Design by Crossfire.
To contact webmaster, or click to email with problems or other questions about this site: UER CONTACT
View Terms of Service | View Privacy Policy | Server colocation provided by Beanfield
This page was generated for you in 265 milliseconds. Since June 23, 2002, a total of 739058810 pages have been generated.