Quantcast

Site News: RSS Feeds temporarily disabled

kbahey's picture

In an attempt to address why Creative Bits is slow at times, we have temporarily disabled RSS feeds to assess their impact on performance.

We appreciate your patience while we try to address this issue.

--
Drupal development and customization: 2bits.com
Personal: Baheyeldin.com

Ivan's picture

Thanks Khalid. We really

Thanks Khalid. We really appreciate your efforts locating the problem.

Jammo's picture

Cool

Well, the page loaded a lot faster this time - hehe

Thanks for the support Khalid!

__
jammindesigns.co.uk

Waleed's picture

How often is the RSS feed

How often is the RSS feed file updated? I think I have mine set for once every 3 hours, that should be ok, right?

Waleed
www.waleedsgallery.biz

William's picture

seems faster to me

I have always suggested that changing the RSS feed system would _greatly_ speed up the system.

Creating an RSS feed from a static file would be a good way speed up and keep the features.

Will

--
http://www.macscan.net/

kbahey's picture

Some more info

Some more info on this, specifically to Will and Waleed.

There is no "feed file" per se. Drupal generates feeds on demand. And there is more than one feed. There is the main page feed (node/feed), as well as other feed pages (e.g. per categories, blogs, ...etc.).

When I looked in the logs in real time, I found that there were way too many requests for feeds (e.g. node/feed, blah/feed, ...etc.) in a very short time. Many of those are from applets/widgets that people have installed and poll the site at predefined intervals. This is not an issue when you have 100 peope do so, but once you reach a high enough number, this becomes in effect very much like a distributed Denial Of Sevice (DDoS) attack, where too many people are hitting your site too fast and everyone is slow.

So, the quickest method was to turn this off by some programming, to first make sure that this indeed is the issue or not, and while we think of a more permanent solution.

Here are a few questions to the community to think of:

- Do people who use feeds miss them?
- Can they live without them?

--
Drupal development and customization: 2bits.com
Personal: Baheyeldin.com

afterglow's picture

I'd have to say that the

I'd have to say that the feeds are the primary way I access the site. I didn't actually realize there was an issue with the slowness as I didn't see the RSS post on the feed.

Obviously if they are having a performance effect on the site, it should be debated but I thinking disabling them altogether would be a step back.

afterglow.ie - Icons, interfaces, illustration

William's picture

cache rss

I realize there is no feed file as such, that is really my point.

Currently the RSS feed is generated by PHP on each request from a user. Even if the caching system is enabled then it still requires a couple of lookups to to the database.

My suggestion is to create a php script which will fetch the the RSS feed, and then store that as a file on the server. Every time a client asks for this file they are given the cached 'static' file. This means they do not have to touch any of the drupal code. I can build in a script which will regenerate the cache file once per hour, or whatever we decide. The script would only need to be 10 or 20 lines of code.

Curently there are no optimizers or cache systems installed. Hence for every request from every rss reader invokes thousands of lines of PHP code and two calls to the database. This is about 100 times less efficient than serving a static HTML file.

Also, do you not think a single RSS feed for the entire site is sufficient ? There are not so many articles that we need seperate feeds.

Will

--
http://www.macscan.net/

thornysarus's picture

CB Speed/Feed issue

Speed: Seems to be faster today, but not nearly as fast as I remember it to be a few months ago.

Feed: Yeah. I gotta say that I miss the feeds. I subscribe to the blog and forum feeds through NetNewsWire and it's just convenient.

Can I live without them? Sure. But the feeds allow us to instantly know when a post goes up and post a reply promptly, thus serving the CB communitie's needs better. Especially when troubleshooting.

My 2-bits.

Terry Thornhill

e-zign Design Group

mokenke's picture

Wise or not

Whatever you need to do guys keep up with the awesome site. I have enjoyed the unpolluted style with which you present yourselves to this creative community.

peace

Andres

mokenke's picture

About the feeds

I feel I will miss the feeds if you had to get rid of them. I came back to the site after a couple of weeks thinking that something might be wrong with the RSS feeds. That is what primarily drove me to Creative Bits. Nevertheless, I do visit the site spontaneously and I would certainly sacrifice convenience for speed. Especially if quality content is being updated consistently.

Andres

Tigerstorm's picture

WOW What speed..

I haven't felt this kinda speed.. ehmm ever?

Good job Khalid

Ivan's picture

We're not done yet, but close to it.

Feeds have been reinstalled. I do think this is faster than ever now. Let me know guys.

Jammo's picture

totally agree

I wasn't around to experience how fast the site was on Day #1, but this is faster than I've ever known CB.

Thanks for returning the feeds, and again, thanks Ivan and Khalid for some seriously awesome work.

__
jammindesigns.co.uk

User login

Partner With Us













Latest critique

Cyber Park Logo Contest