Free Republic
Browse · Search
News/Activism
Topics · Post Article

Skip to comments.

Suggestions to possibly make your FR pages load faster [thread II]
Prior thread ^

Posted on 10/31/2012 6:35:41 PM PDT by Jim Robinson

Very sorry about the problems with our servers causing FR to get bogged down under peak traffic loads. Praying that John finds a solution or workaround soon.

In the meantime, here are some suggestion you can use to possibly make your FR pages load faster:

  1. Configure your sidebars to display fewer items. I've temporarily disabled all sidebars but breaking news on mine.

    Select "Disabled" in the "Region" pulldown for each sidebar block you wish to temporarily disable then click "Modify":

    http://www.freerepublic.com/perl/manage-blocks

  2. Reduce the number of threads and replies downloaded on each click. Go to personal preferences and reduce the "Thread Pagination" to 20 messages per page and "Browsing" to 20 results per page.

    http://www.freerepublic.com/perl/settings

  3. Update: And a suggestion by metmom is to set your "Brevity" preference to "Headers." This will definitely make your index pages (latest posts, etc) load faster.

    And it’s simply a click to toggle "Brevity" from "Text" to "Headers" or back the other way when needed:

    http://www.freerepublic.com/tag/news-forum/index

  4. And for firefox users: KoRn has posted a useful tip to make firefox load pages faster:

    http://www.freerepublic.com/focus/f-news/1299854/posts

If enough of us did this we would reduce the amount of data downloaded on each click, reducing the load on the database and the server and possibly increasing overall systems performance.

To reset your preferences next week after Obama is evicted and the tea party tsunami sweeps the socialists out of office from sea to shining sea, click on "Account" at the top of any of the main index pages and then "Manage Blocks" to configure your sidebars and "My Preferences" to reset your number of threads and replies per thread preferences.

http://www.freerepublic.com/focus/my/

Also, we have FR contingency standby pages on yahoo and facebook. You may wish to visit and bookmark these pages:

http://www.facebook.com/groups/26012226159/

http://groups.yahoo.com/group/freerepublic2/

Our system didn't actually crash during the debates, but when a hundred thousand or more users tried to access it all at once during a short two hour window, it bogged down to a crawl. Hopefully it won't do that on election day as the window will not be so short. The news and results will be coming in all day and all night. But if it does crash, we can leave messages on the contingency sites linked above.

Thank you all very much and good luck.

Prayers up for our nation.


TOPICS: Breaking News; Free Republic; News/Current Events
KEYWORDS: dsj; faq; freerepublic; frproblems; jimrobinson
Navigation: use the links below to view more comments.
first 1-5051-97 next last

1 posted on 10/31/2012 6:35:41 PM PDT by Jim Robinson
[ Post Reply | Private Reply | View Replies]

To: Jim Robinson
How about setting up FR with levels of services corresponding to what people pay? Free riders would get the forum and a limited self-search, FR mail, etc, but no sidebars or bookmarks.

Thoughts?

2 posted on 10/31/2012 6:40:44 PM PDT by Carry_Okie (Islam offers us choices: convert or kill, submit or die.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Jim Robinson

Thanks for all you do!


3 posted on 10/31/2012 6:43:14 PM PDT by rdl6989 (January 20, 2013 The end of an error.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Jim Robinson

Thanks Jim


4 posted on 10/31/2012 6:45:50 PM PDT by blueyon (The U. S. Constitution - read it and weep)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Jim Robinson

Can you make all that the default on election day?


5 posted on 10/31/2012 6:48:06 PM PDT by GeronL (http://asspos.blogspot.com)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Jim Robinson

Mine loads just fine—couldn’t be faster.

I’m on a Mac—if that could make a difference.


6 posted on 10/31/2012 6:48:24 PM PDT by basil (Second Amendment Sisters.org)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Jim Robinson

             

7 posted on 10/31/2012 6:49:33 PM PDT by tomkat ( let's HANG traitors again, shall we ?!)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Jim Robinson

             

8 posted on 10/31/2012 6:50:27 PM PDT by tomkat (thinks HANGING traitors is still a good idea)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Jim Robinson

BTTT!


9 posted on 10/31/2012 6:50:51 PM PDT by The Mayor ("If you can't make them see the light, let them feel the heat" — Ronald Reagan)
[ Post Reply | Private Reply | To 1 | View Replies]


grrrrrrr
10 posted on 10/31/2012 6:51:16 PM PDT by tomkat (thinks HANGING traitors is still a good idea)
[ Post Reply | Private Reply | To 8 | View Replies]

To: Jim Robinson
I disabled some things, and now I no longer have a "Configure" link to undo it.

Now what?

11 posted on 10/31/2012 6:52:48 PM PDT by E. Pluribus Unum (Government is the religion of the psychopath.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: basil

Mine’s a Mac too, but I had trouble. Did what Jim recommended above and my load time is now 90% faster.


12 posted on 10/31/2012 6:54:48 PM PDT by freeagle
[ Post Reply | Private Reply | To 6 | View Replies]

To: E. Pluribus Unum

To reset your preferences next week after Obama is evicted and the tea party tsunami sweeps the socialists out of office from sea to shining sea, click on “Account” at the top of any of the main index pages and then “Manage Blocks” to configure your sidebars and “My Preferences” to reset your number of threads and replies per thread preferences.

http://www.freerepublic.com/focus/my/


13 posted on 10/31/2012 7:07:23 PM PDT by Jim Robinson (Resistance to tyrants is obedience to God!!)
[ Post Reply | Private Reply | To 11 | View Replies]

To: Jim Robinson

Thanks - I’ll reduce components.

Jim - this is database contention. Either the database is not a robust enough product, or it’s being bogged down by unnecessary or un-optimized queries and/or stored procedures. ( I posted something about this on the last thread but it timed out :-))

I’m assuming that over time, as features were added, they included an increasing number of queries per request. However, requests to reply and to actually post the reply are what take the longest.

While it’s true that at peak times all queries, including just viewing, get bogged down, at medium-peak, when ‘view’ requests do okay, web requests to reply to posts and then to commit posts are delayed, hang or time out.

Since FR only delivers text and doesn’t actually do the delivery of images or anything heavier, and since there is a discrepancy between ‘view’ requests and ‘insert edit’ requests, I don’t think it’s the web server or pipe-traffic issues.

The discrepancy can be explained by the database itself or communication with the database. Perhaps even a request to post a reply, not the post itself, requires an insert in the database in order to acquire an ID, and perhaps it re-queries to get that ID. otherwise it should behave as a ‘view’ page.

Can’t say - but I’m willing to bet it’s 80% database issues, and the rest is just a result of traffic backup caused by DB issues.

if the database is robust enough for the traffic but still failing, then it’s embedded SQL fired from web server scripts (or against stored procs) - either too many per request, or not optimized (either the sql itself or internally at the DB server.)

There need to be prepared, cached and optimized queries and views, fewer separate queries from page requests and probably an indexing strategy is interfering with inserts based on the discrepancy between read-only page load times and insert/update load times. Could also be a DB resource locking strategy problem explaining the increased time during edits/inserts.

I’m happy to donate time to help, but having dealt with all of this before, unless there are memory issues, which I doubt because the architecture isn’t that complex, diagnosing this shouldn’t be insurmountable.

Regardless - hope it gets worked out, it’s a great community and while I’m sure it won’t get worked out by election time (especially if it is in fact script and/or DB code - which I strongly suspect - rather than hardware or pipe replacement or increase) ... it’s not necessary for it to continue.

I’m not a monthly donor (yet)- kind of waiting for this to get identified. But I don’t think it’s a money issue to diagnose. Again - happy to donate help, and possibly I’m off since I can’t see the code itself - not trying to be presumptuous.

Best - and continued thanks for the site.


14 posted on 10/31/2012 7:12:09 PM PDT by HannibalHamlinJr
[ Post Reply | Private Reply | To 1 | View Replies]

To: basil

Pages seem to load faster with Safari — but it’s still unbearably slow.


15 posted on 10/31/2012 7:20:26 PM PDT by smokingfrog ( sleep with one eye open (<o> ---)
[ Post Reply | Private Reply | To 6 | View Replies]

To: Jim Robinson

not sure how this helps, since I get errors just going to the settings pages.

It took me about 20 tries just to post one small message the other night.

this seems to be the only site that I’ve been consistently having these problems (doesn’t seem to matter when), so it would seem to be either a configuration/database/programming problem.


16 posted on 10/31/2012 7:24:54 PM PDT by Brown Deer (Pray for 0bama. Psalm 109:8)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Jim Robinson
Do not disable "tools" or you will no longer have a "configure sidebar" link, and you will not be able to undo what you did.

I managed to open a cached version of the configuration page with Firefox's "undo close tab" and fixed it.

17 posted on 10/31/2012 7:25:37 PM PDT by E. Pluribus Unum (Government is the religion of the psychopath.)
[ Post Reply | Private Reply | To 13 | View Replies]

To: smokingfrog

I’m also using Safari—and mine is loading lickety split. Don’t know what the difference could be....


18 posted on 10/31/2012 7:32:53 PM PDT by basil (Second Amendment Sisters.org)
[ Post Reply | Private Reply | To 15 | View Replies]

To: Carry_Okie

“””””How about setting up FR with levels of services corresponding to what people pay? Free riders would get the forum and a limited self-search, FR mail, etc, but no sidebars or bookmarks.”””””

because it’s jim’s way or the highway.....no ideas from outside are allowed lest you be belittled and put down for offering legitimate suggestions.....

full disclosure....i am a past $1.00 a day donor.....


19 posted on 10/31/2012 7:33:42 PM PDT by is_is (VP Dad of Sgt. G - My Hero - "Sleep Well America......Your Marines have your Back")
[ Post Reply | Private Reply | To 2 | View Replies]

To: HannibalHamlinJr

Yup. And we’ve concluded the same. It’s back to the drawing board design wise to grow to the next level. Thank you very much!!


20 posted on 10/31/2012 7:35:58 PM PDT by Jim Robinson (Resistance to tyrants is obedience to God!!)
[ Post Reply | Private Reply | To 14 | View Replies]

To: Jim Robinson; HannibalHamlinJr
Hallelujah !

Upon reading it, even tho much was over my head, HH's walk-through just sounded right !

So maybe this thing'll be runnin' lickety split again just in time for Inauguration !   ;^)

21 posted on 10/31/2012 7:40:17 PM PDT by tomkat
[ Post Reply | Private Reply | To 20 | View Replies]

To: Brown Deer

Well, I believe the east coast will be going to bed soon. Site performance will increase significantly then.


22 posted on 10/31/2012 7:46:54 PM PDT by Jim Robinson (Resistance to tyrants is obedience to God!!)
[ Post Reply | Private Reply | To 16 | View Replies]

To: smokingfrog

I have a Mac too, and changed to Firefox just to view FR. I’ve also tried reducing the number of posts per page, but it still times out periodically, and just a short time ago, I tried several times to reply to someone’s post, and it kept reloading the thread page. I tried several times to open the reply link in a new window, and again, it just reloaded the thread page. I also noticed there are a lot of double posts on the threads...more than usual. Unfortunately, I don’t have much hope for accessing FR for election returns Tuesday night, no matter what browser I’m using.


23 posted on 10/31/2012 7:48:23 PM PDT by mass55th (Courage is being scared to death - but saddling up anyway...John Wayne)
[ Post Reply | Private Reply | To 15 | View Replies]

To: Jim Robinson

“Well, I believe the east coast will be going to bed soon.”

Gee,you make me feel so wanted. (MA)

.


24 posted on 10/31/2012 7:49:20 PM PDT by Mears
[ Post Reply | Private Reply | To 22 | View Replies]

To: Mears

Well, you’ll have first shot at it in the morning. :)


25 posted on 10/31/2012 7:51:29 PM PDT by Jim Robinson (Resistance to tyrants is obedience to God!!)
[ Post Reply | Private Reply | To 24 | View Replies]

To: Jim Robinson

Thanks Jim!

26 posted on 10/31/2012 7:53:39 PM PDT by BerryDingle (I know how to deal with communists, I still wear their scars on my back from Hollywood-Ronald Reagan)
[ Post Reply | Private Reply | To 1 | View Replies]

ping to self, faster loading II


27 posted on 10/31/2012 8:01:12 PM PDT by campaignPete R-CT (campaigning for local conservatives)
[ Post Reply | Private Reply | To 2 | View Replies]

To: expat1000

ping to peak FR traffic guidelines


28 posted on 10/31/2012 8:11:03 PM PDT by Albion Wilde (If God can send millions of ordinary folks to preserve a chicken store, He can fix this mess.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: campaignPete R-CT

Let’s cut the crap... what web site do we need to hang out on that has some throughput come Tuesday?


29 posted on 10/31/2012 8:12:13 PM PDT by DAC21
[ Post Reply | Private Reply | To 27 | View Replies]

To: Jim Robinson

Another thing that I’ve noticed. When you click at the top of a thread to go to an article, that also takes a long amount of time. Could be a simple clue to finding the source of the problems.


30 posted on 10/31/2012 8:24:34 PM PDT by Brown Deer (Pray for 0bama. Psalm 109:8)
[ Post Reply | Private Reply | To 22 | View Replies]

To: Jim Robinson

Convert to c#/sql and dapper. Done. :D


31 posted on 10/31/2012 8:32:13 PM PDT by smith288 (Peace at all costs gives you tyranny free of charge)
[ Post Reply | Private Reply | To 20 | View Replies]

To: Jim Robinson

I’m not sure what level of programmer you have on staff, but I know that I was a super-genius programmer until I took a few grad school computer science courses, and became a mediocre programmer.

Just saying I hope your programmer has been initiated to the inner sanctum of programming, and has had a few courses in operating systems and concurrency.

Good luck next week.


32 posted on 10/31/2012 8:35:36 PM PDT by Born to Conserve
[ Post Reply | Private Reply | To 1 | View Replies]

To: is_is; Carry_Okie

Well, thank you very much for the suggestion. But don’t know if or when or even how we could implement it. Would hate to cut off reading or posting privileges to non donors. Maybe we could add special additional features later for donors only.


33 posted on 10/31/2012 8:37:00 PM PDT by Jim Robinson (Resistance to tyrants is obedience to God!!)
[ Post Reply | Private Reply | To 19 | View Replies]

To: Jim Robinson

Thanks for the tips. Seems to work better here.


34 posted on 10/31/2012 8:39:25 PM PDT by Jet Jaguar (The pundits have forgotten the 2010 elections.)
[ Post Reply | Private Reply | To 1 | View Replies]

bookmark


35 posted on 10/31/2012 8:43:25 PM PDT by GQuagmire
[ Post Reply | Private Reply | To 1 | View Replies]

To: Jim Robinson

Do I get a faster response when I am not logged in?

Sometimes I will use my iPAD to follow a thread not signed in. And only go to my PC if I want to post. It seems that following a thread not signed in is faster. Is this true or did it just happen the time I tried it?


36 posted on 10/31/2012 8:45:35 PM PDT by ThomasThomas
[ Post Reply | Private Reply | To 33 | View Replies]

To: Born to Conserve
I’m not sure what level of programmer you have on staff, but I know that I was a super-genius programmer until I took a few grad school computer science courses, and became a mediocre programmer.

Just saying I hope your programmer has been initiated to the inner sanctum of programming, and has had a few courses in operating systems and concurrency.

If it's concurrency programming, then Ada has a lot going for it because it was designed with language level support for concurrency.

37 posted on 10/31/2012 8:46:37 PM PDT by OneWingedShark (Q: Why am I here? A: To do Justly, to love mercy, and to walk humbly with my God.)
[ Post Reply | Private Reply | To 32 | View Replies]

To: ThomasThomas

I think non signed in readers have fewer sidebars and fewer number of posts per page, etc, as they get only the defaults.


38 posted on 10/31/2012 8:48:21 PM PDT by Jim Robinson (Resistance to tyrants is obedience to God!!)
[ Post Reply | Private Reply | To 36 | View Replies]

To: smith288
Convert to c#/sql and dapper. Done. :D

C# is not the best language for concurrency; Ada is much better.

39 posted on 10/31/2012 8:49:46 PM PDT by OneWingedShark (Q: Why am I here? A: To do Justly, to love mercy, and to walk humbly with my God.)
[ Post Reply | Private Reply | To 31 | View Replies]

To: OneWingedShark

Uh, c# isn’t a compiled language.

And stackoverflow has no problems with it and it handles a ton of traffic.


40 posted on 10/31/2012 8:53:29 PM PDT by smith288 (Peace at all costs gives you tyranny free of charge)
[ Post Reply | Private Reply | To 39 | View Replies]

To: OneWingedShark

Yadda, yadda, ada, ada, yadda.


41 posted on 10/31/2012 8:56:09 PM PDT by Born to Conserve
[ Post Reply | Private Reply | To 39 | View Replies]

To: Jim Robinson

I disabled most of my sidebars as suggested - seems to have helped significantly.....


42 posted on 10/31/2012 8:58:00 PM PDT by Intolerant in NJ
[ Post Reply | Private Reply | To 1 | View Replies]

To: ThomasThomas

I switched from internet explorer to Mozilla Firefox browser and T think I am getting better result connecting to Free Republic.


43 posted on 10/31/2012 9:18:58 PM PDT by tommix2 (,)
[ Post Reply | Private Reply | To 36 | View Replies]

To: Jim Robinson

Thanks Jim for the info, reconfiged per suggestions and hope it helps. Figured you all were busy as a cat covering it up on a tin roof.

Election night is going to be crazy. Hope the Unable to Connect grey screen is rare.


44 posted on 10/31/2012 9:20:14 PM PDT by X-spurt (It is truly time for ON YOUR FEET or on your knees)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Jim Robinson

Thank you Jim for all you do!

This site is MUCH appreciated!!!!!


45 posted on 10/31/2012 9:29:20 PM PDT by ConservativeMan55
[ Post Reply | Private Reply | To 22 | View Replies]

To: Jim Robinson

Thanks. The suggestions have been followed.


46 posted on 10/31/2012 9:42:15 PM PDT by ConservativeStatement (Obama "acted stupidly.")
[ Post Reply | Private Reply | To 1 | View Replies]

To: smith288
Uh, c# isn’t a compiled language.

It's a hybrid; it produces bytecode (done via compilation) which is (later) executed in a VM.

And stackoverflow has no problems with it and it handles a ton of traffic.

*Shrug* - Just because it can be done doesn't mean the way it's done is even good.
And being in the SW industry, I think many of the popular methods/solutions are pretty poor -- then again, most all of the projects I've worked on emphasized "do it quick" instead of "do it right"... and I couldn't tell you the number of times the "do it right" approach would have saved time and effort in the long-run -- PHP is a very good example of doing things fast and "easy" but not right.

47 posted on 10/31/2012 9:43:57 PM PDT by OneWingedShark (Q: Why am I here? A: To do Justly, to love mercy, and to walk humbly with my God.)
[ Post Reply | Private Reply | To 40 | View Replies]

To: Jim Robinson

JimRob,
I’ve been on here since 2000 and love FR. I remember the days when people would forget to switch off the bold and every post after would be bold until one of us switched off.

You fixed that and you will get a handle on this one too.

Again, FR has been a wonderful website. Thanks! Big thanks!


48 posted on 10/31/2012 10:01:46 PM PDT by gunsequalfreedom (Conservative is not a label of convenience. It is a guide to your actions.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: OneWingedShark

Not discounting your method. I was just demonstrating that a very high trafficked site like SO does a very capable job that uses a common language that many accept. Dapper, is a very slick guy though. Really does a fine job of data layer work and is super flexible. But I’m not gonna get into a nerd pissing match.


49 posted on 10/31/2012 10:08:41 PM PDT by smith288 (Peace at all costs gives you tyranny free of charge)
[ Post Reply | Private Reply | To 47 | View Replies]

To: Jim Robinson

Just made the changes to Firefox’s configuration you recommended in step #4, Jim, and there was a significant and noticeable change in speed. Very much obliged.


50 posted on 10/31/2012 10:19:13 PM PDT by rocksandbroncs
[ Post Reply | Private Reply | To 1 | View Replies]


Navigation: use the links below to view more comments.
first 1-5051-97 next last

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
News/Activism
Topics · Post Article

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