Free Republic
Browse · Search
General/Chat
Topics · Post Article

Yo Mods and Robinsons, what am I doing wrong?

And before the smartassedness starts, let me state that:
1. I am logged in
2. My sister has been mooseproofed
3. I took my shower last night
4. My base does not belong to you
5. This is a hugh series matter

Mock me, FReepers, and I swear by all that is holy, I will stune your beebers right off. ;)
1 posted on 08/11/2004 1:59:26 PM PDT by Xenalyte
[ Post Reply | Private Reply | View Replies ]


Navigation: use the links below to view more comments.
first previous 1-2021-4041-48 last
To: Xenalyte

And your base does belong to me :)


68 posted on 08/11/2004 3:08:50 PM PDT by Calpernia ("People never like what they don't understand")
[ Post Reply | Private Reply | To 1 | View Replies ]

To: Xenalyte; John Robinson

I don't do 250 but I like 100. I hate 50! I'm with you Xena, I want my 100 back! I asked John for it a couple of days ago on another thread and haven't yet heard back.


72 posted on 08/11/2004 3:15:45 PM PDT by Sally'sConcerns (It's painless to be a monthly donor!)
[ Post Reply | Private Reply | To 1 | View Replies ]

To: Xenalyte

Oh yeah! Stune my beeber, baby!


74 posted on 08/11/2004 3:46:25 PM PDT by Chad Fairbanks (Liberals - The Other White Meat.)
[ Post Reply | Private Reply | To 1 | View Replies ]

To: Xenalyte; Sally'sConcerns; Quix; Constitution Day; All

250 results is putting an incredible strain on the database. I have a switch that allows me to put a hard limit on the number of results returned, and I'm playing around with different hard limits in order to find one reasonable. [50 seems to be it, btw.] However, this is temporary, I have more programming to do, I can cache more things, and we ARE under a heavier-than-average load. Hence, we're in "overload".

And, after running view counts for awhile, I found that I cannot do them in (quasi-)realtime without more programming. I am still recording views, just not displaying them.

[geek]
For those interested in the technical aspect of the later, I cannot perform concurrent UPDATEs and SELECTs on the same table. Every update blocks all selects, and that gums up the works. MySQL updates of MyISAM tables are table locked on update. :-( [But they do allow concurrent INSERTs and SELECTs--so it isn't all sucky.] I haven't investigated the other table types, it may be possible to use e.g. a heap table for just the counters that have been updated. I'd sync the counter table with the main table during the night for permanence. (Heap tables are RAM only--they vanish when the daemon/server goes down.) Or, I could do away with UPDATE and use INSERT on a table, and just sum the counts for a group of articles. Syncing during the night to remove rows. I have options. (BTW, I'd probably use Memcached to increment a per article counter so I don't have to do a GROUP operation for every article I want counts on, I'd just use the in-memory cache for the realtime reporting.)
[/geek]


76 posted on 08/11/2004 5:42:09 PM PDT by John Robinson
[ Post Reply | Private Reply | To 1 | View Replies ]

To: Xenalyte

Have you thought to blame George Bush yet?


77 posted on 08/11/2004 5:43:39 PM PDT by Osage Orange (STOP REPEAT OFFENDERS...DON'T RE-ELECT THEM..!!!)
[ Post Reply | Private Reply | To 1 | View Replies ]

To: Xenalyte

LOL!!!


78 posted on 08/11/2004 5:44:04 PM PDT by cyborg
[ Post Reply | Private Reply | To 1 | View Replies ]

To: Xenalyte

mock lol


87 posted on 08/11/2004 7:06:02 PM PDT by landerwy
[ Post Reply | Private Reply | To 1 | View Replies ]

To: Xenalyte

Try opening five browser windows at once. That should fix the problem.


If that doesn't work, then just run your monitor through with your sword!


93 posted on 08/13/2004 11:47:43 PM PDT by Redcloak (This is my most clever tag line ever!)
[ Post Reply | Private Reply | To 1 | View Replies ]


Navigation: use the links below to view more comments.
first previous 1-2021-4041-48 last

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson