cloudflare

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
MarketStone's picture

i was checking out lulzsecurity-com and saw that they were using cloudflare-com for there DNS. Has anyone had any luck speeding up there site with cloudflare? Apparently they are mirroring Your site on farms around the world. Sounds like a great idea. I ran a free godaddy site nnepdx-com thru cloudflare-com free service but it basically slowed it way down. They scrape Your public zone records so You do not give them anything protected then You point Your DNS to there nameservers. The con being if they do not like You they could throttle Your traffic. The Pros are obvious if one trunk is slow Your request routes thru another. Sounds 22 century, was wondering if anyone has any Pros or Cons?

And samy-pl still beats lulzsecurity-com as top hacker.

ed

Comments

I am not an expert admin. Do

itserich's picture

I am not an expert admin. Do have a managed server and tried Cloudflare last year and then again recently.

There is now a Drupal module: http://drupal.org/project/cloudflare

I am not able to measure performance, but one thing it does do is weed out "bad behavior".

I also have the Bad Behavior module: http://drupal.org/project/badbehavior

Used to get bad behavior logs daily, now it is rare (last time was about a month ago).

So, I think Cloudflare does stop some bad behavior. It does need to be configured properly, for any novices such as myself.

CloudFlare

damoncloudflare's picture

"I ran a free godaddy site nnepdx-com thru cloudflare-com free service but it basically slowed it way down."

Actually pretty rare for us to slow a site down. Where are you located? Sites generally report a 40-60% speed increase on page loading time.

"The con being if they do not like You they could throttle Your traffic."
The only time we throttle traffic is if your site is getting hit with a DDoS attack that is too large & starts to impact other customers on that node (we then go direct to your server). Other than that, CloudFlare does no throttling.

Some recommended reading if you come aboard:
http://blog.cloudflare.com/top-tips-for-new-cloudflare-users

content in Dynamic form

Queentorrent's picture

If you have more than 50% of your content in Dynamic form,you won't use Cloudflare or other CDNs.Or you might look to partition your Web Servers on those lines[The Static parts go via CDNs while the dynamic parts go through the Web Server directly].
http://www.queentorrent.com

I've been using cloudflare

ben.bunk's picture

I've been using cloudflare since I saw this post and I've had a great experience. One gotcha was the firewall rules, if you're using VoIP Drupal the callbacks to your site will likely get blocked until you adjust cloudflares firewall rules. See this post for Tropo's IP addresses that need to be allowed: http://groups.drupal.org/node/183434

Cron Problems?

FluxRostrum's picture

After using Cloudflare manually, not the module, I've had an issue with the cron.php page no longer updating the site feeds. Any chance they are related? Nothing else has changed that I'm aware of.

If your calling

ben.bunk's picture

If your calling http://yoursite.com/cron.php it's likely being blocked and you'll need to adjust cloudflare's firewall rules. If you're calling localhost/cron.php or drush cron then it's probably something else that's wrong.

rkudyba's picture

We have instances where adding content and after a save results in just the overlay page as if it's grayed out. The content is saved but you have to refresh the page. Also, we have fields that auto-populate when you start typing and you get the spinning wheel. Screen shots are below. I tried to create a page rule in CloudFlare to exclude any URL's that have a # (hashtag) and another rule with 'overlay' in the URL those didn't seem to work. We also played with turning off jQuery compression via /admin/config/development/jquery_update

The CF rules looks like this:
/overlayApps: Off, Performance: Off, Security: On, Cache level: Bypass cache
/#Apps: Off, Performance: Off, Security: On, Cache level: Bypass cache

Only local images are allowed.

Only local images are allowed.

Anyone else have these issues and created CF page rules that work?

We use Cloudflare with no

Greg Boggs's picture

We use Cloudflare with no issues. My suggestion would be to upgrade to the $20 account and ask them for assistance.

Disable overlay or bypass CloudFlare

Andy_Read's picture

Personally, I find overlay more trouble than it's worth and disable it on most sites. Several other devs I've worked with feel the same way.

Alternatively, I recall cloudFlare allows you to set up a 'direct' sub-domain that allows editors and admins to bypass CloudFlare to avoid any problematic caching issues. I've also done this in the past because caching and cache clearing issues can waste far too much time :-)

'direct' sub-domain ?

rkudyba's picture

What's a 'direct' sub-domain? Our Drupal admin is not in any sub domain like my.website.com, is that what you mean? I just created an exclusion rule so far to ignore a hashtag (#) in the URL not sure if it's working but the problem hasn't re-occurred.

broken notifications / broken drupal.org?

pocock's picture

I don't know why I'm getting notifications about this

The notification emails say it is part of the Drupal group Portland (Oregon) and when I visit drupal.org without logging in the top of the page also mentions the Portland group. I am not a member of that group.

When I log in to drupal.org it says this discussion is part of the VoIP Drupal group (which I am a member of) but the discussion obviously has nothing to do with VoIP Drupal.

Is there some bug with drupal.org sending out notifications to the wrong people?

Receiving unwanted emails

MBR's picture

I'm seeing the same thing. I'm a member of the VoIP Drupal group, but NOT a member of the Portland, Oregon Drupal group. But for each comment added to this topic I receive an email whose subject line begins "Drupal Groups Portland (Oregon): ".

When I click the "Read more at ..." link at the bottom of any of those emails, it takes me to an anchor link for the comment inside the page at https://groups.drupal.org/node/156544. When I log in, it shows me that the article was posted to the VoIP Drupal group.

Clearly this discussion doesn't have anything to do with VoIP Drupal.

What's going on here?

Group cross-posting

Andy_Read's picture

I'm not a member of Portland or VoIP, but rather 'Drupal commerce'. I've seen this behaviour for years:
1. The original poster cross-posted to many irrelevant groups (maybe every one they belong to I guess, regardless of whether the issue is relevant to the group).
2. Organic Groups then sets the email notification subject based on just one of the groups, often one that people in other groups do not belong to.

Problem Report Submitted

MBR's picture

I realized that posting a comment here is unlikely to come to the attention of anyone who would analyze and fix the problem. So I submitted it as a groups.drupal.org bug report at https://www.drupal.org/node/2455591.

Could it be from this

rkudyba's picture

Could it be from this post:

Posted by ben.bunk on November 15, 2011 at 10:37pm

unsubscribe

pocock's picture

Andy, thanks for that explanation.

Does anybody know how can the rest of us unsubscribe from these notifications?