Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.



BDFL
49524 posts

Uber Geek
+1 received by user: 4375

Administrator
Trusted
Geekzone
Subscriber

Topic # 107149 8-Aug-2012 08:31 Send private message

A couple of small changes: we already force SSL for profile update page, private messages pages and login. I have extended this to image uploads and gallery as well, just in case you feel more comfortable if someone is not looking at the stream from your PC ;)

We have also changed our resources a bit, moving to our CDN provider (current MaxCDN) but soon to CloudFlare since they have a closer POP - if they can fix a problem with their DNS...

Using the CDN for resources will allow for less bandwidth utilisation - currently we have about 95% cache hit on the existing cdn.geekz1.com and hope to get similar levels in our other subdomains now on the CDN. 

The closer MaxCDN is about 200ms away, while the closer CloudFlare POP is only 40ms away. This will eventually make things event faster - although we think New Zealand's transparent proxies as implemented by most large ISPS do a good job of being a "fake CDN".





View this topic in a long page with up to 500 replies per page Create new topic
 1 | 2
6733 posts

Uber Geek
+1 received by user: 435

Trusted
Subscriber

  Reply # 669424 8-Aug-2012 09:05 Send private message

I'd be interested how you find CloudFlare. I considered moving my static resources to them a while back, but until their Australia data centre opened there was no significant enough benefit. Putting the static stuff closer could be an effective way to speed up my image heavy website and still take advantage of the cheap hosting in the US.




Asus eee pad transformer
iPod 2G
Windows 7 PC
Lots and lots of Nikon camera gear



BDFL
49524 posts

Uber Geek
+1 received by user: 4375

Administrator
Trusted
Geekzone
Subscriber

  Reply # 669432 8-Aug-2012 09:12 Send private message

CloudFlare works ok for freitasm.com, which is still served from the Geekzone server but completely proxied by them. Not using all the optimization features as we use Stingray Aptimizer.

We use Aptimizer on Geekzone, which is the tool that made it so easy to have a CDN deployment a few years back, but using CloudFlare's SYD POP instead of MaxCDN LAX POP for New Zealand users would be great.

Alas, CloudFlare has hit a small problem when creating our CNAMES - we moved our NS from Dyn.com to CloudFlare but when activating the CloudFlare CDN/proxy for our resources (for example images.geekzone.co.nz) it just wouldn't create the correct CNAME for their proxied POP. They are currently investigating it.

In the meantime we moved all sub-domain resources to MaxCDN - not that we have much traffic on those, since most of the optimized combined resources come from cdn.geekz1.com and only non-optimized pages would use those sub-domain resources. All SSL pages are served by our server because we would need to have SSL certs in the CDN and the cost would go up very rapidly. We currently have a wildcard SSL cert in our server, and that's already expensive anyway.

When the CloudFlare DNS issue is fixed we will switch. This is probably happening in the next couple of days. If the CloudFlare DNS issue is not fixed we will decide on keeping the NS with them or moving back to Dyn.com.

On another note, jobs.geekzone.co.nz is currently being served by Google Page Speed. Latency is not great as the Google PS service doesn't use any local cache, so we are looking at moving it to our standard setup when CloudFlare comes online.





6733 posts

Uber Geek
+1 received by user: 435

Trusted
Subscriber

  Reply # 669436 8-Aug-2012 09:25 Send private message

Interesting, thanks. I think my setup would be a LOT simpler than yours, one subdomain for static resources, and my wordpress SEO plugin integrates with Cloudflare directly (my whole site is run by wordpress).




Asus eee pad transformer
iPod 2G
Windows 7 PC
Lots and lots of Nikon camera gear



BDFL
49524 posts

Uber Geek
+1 received by user: 4375

Administrator
Trusted
Geekzone
Subscriber

  Reply # 669490 8-Aug-2012 10:32 Send private message

I have now switched the resources CDN to CloudFlare - you won't see much of an impact, unless the page is not being served from the optimized pool (shouldn't happen).

I've moved http://jobs.geekzone.co.nz from Google Page Speed to CloudFlare as well.






BDFL
49524 posts

Uber Geek
+1 received by user: 4375

Administrator
Trusted
Geekzone
Subscriber

  Reply # 669559 8-Aug-2012 12:24 Send private message

Moved live.geekzone.co.nz to CloudFlare. Needed to do a bit of coding around the visitor's original IP address and it seems to be working fine.




2462 posts

Uber Geek
+1 received by user: 223

Trusted
Subscriber

  Reply # 669704 8-Aug-2012 16:37 Send private message

Just keep watch over those stupid "anti-DoS" protections Cloudflare has. They are ridiculously poor at identifying real user traffic and constantly prompt legitimate users to be asked to solve CAPTCHAs to prove they are legitimate.

I don't think I've ever seen anyone say anything positive about Cloudflare (except "it's OK for a free product") to be honest.



BDFL
49524 posts

Uber Geek
+1 received by user: 4375

Administrator
Trusted
Geekzone
Subscriber

  Reply # 669708 8-Aug-2012 16:38 Send private message

We still have the dyn.com and MaxCDN configurations and will change things if that becomes a problem - we are essentially running with security off, really using it as a CDN only.




1078 posts

Uber Geek
+1 received by user: 45


  Reply # 673545 17-Aug-2012 01:14 Send private message

the site is going slower than it was. i don't get why you're moving the web site to cloudflare?

cloudflare in general is slow - and you're sending dynamic pages there?

curl -v http://www.geekzone.co.nz/ > /dev/null 0.00s user 0.02s system 2% cpu 0.789 total

I tested that a while back - and it was around 350 to 380.



also for some reason now the dns ttl is insanely low - like 30 seconds?!




BDFL
49524 posts

Uber Geek
+1 received by user: 4375

Administrator
Trusted
Geekzone
Subscriber

  Reply # 673560 17-Aug-2012 08:00 Send private message

mercutio: the site is going slower than it was.


Not from our sensors.

mercutio: i don't get why you're moving the web site to cloudflare?


We have reasons.

mercutio: cloudflare in general is slow - and you're sending dynamic pages there?


We have reasons.

At the bottom of every page you will see a comment with the time it took to create the page before sending it out.

mercutio: also for some reason now the dns ttl is insanely low - like 30 seconds?!


We have reasons. 

You should be getting resources (cdn.geekz1.com and *.geekzone.co.nz) from Australia. From my desktop I'm getting 40ms latency. 

This move means www.geekzone.co.nz is gone from 30ms to 40ms, while *.geekzone.co.nz and cdn.geekz1.com have gone down from 240ms to 40ms.

If you are not seeing this, then you have something in your network.






351 posts

Ultimate Geek
+1 received by user: 38


  Reply # 673629 17-Aug-2012 10:48 Send private message

Once they fix the ipv6 on their SYD PoP then ipv6 will be faster too, but at the moment it's ~160ms for me.




351 posts

Ultimate Geek
+1 received by user: 38


  Reply # 673630 17-Aug-2012 10:50 Send private message

freitasm: Are you using the paid version of Cloudflare? Have you tried out railgun/SPDY on www.geekzone.co.nz?






BDFL
49524 posts

Uber Geek
+1 received by user: 4375

Administrator
Trusted
Geekzone
Subscriber

  Reply # 673644 17-Aug-2012 11:45 Send private message

Yes, it is paid. No SPDY because we only support SSL in some pages, not all. Railgun requires an appliance that will do the communication between our servers and theirs - not the case for it yet.







BDFL
49524 posts

Uber Geek
+1 received by user: 4375

Administrator
Trusted
Geekzone
Subscriber

  Reply # 676336 24-Aug-2012 10:57 Send private message

Since we enabled SSL to our CDN and moved the domain to CloudFlare to take advantage of its new SYD POP I have now enabled SPDY on geekzone.co.nz... This is obviously only available in our SSL-enabled pages at the moment, but it's there.







BDFL
49524 posts

Uber Geek
+1 received by user: 4375

Administrator
Trusted
Geekzone
Subscriber

  Reply # 676386 24-Aug-2012 12:48 Send private message

mercutio: the site is going slower than it was. i don't get why you're moving the web site to cloudflare?

curl -v http://www.geekzone.co.nz/ > /dev/null 0.00s user 0.02s system 2% cpu 0.789 total


Unrelated to SSL but I have just made a very small change that will speed up the frontpage and the forum discussion pages...





6733 posts

Uber Geek
+1 received by user: 435

Trusted
Subscriber

  Reply # 701489 15-Oct-2012 14:25 Send private message

I'm curious to hear how the CloudFlare CDN's working out for you. Reliability, uptime and downtime, any other thoughts or observations.




Asus eee pad transformer
iPod 2G
Windows 7 PC
Lots and lots of Nikon camera gear

 1 | 2
View this topic in a long page with up to 500 replies per page Create new topic




Twitter »
Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:




News »

Trending now »
Hot discussions in our forums right now:

Does NZ need better gun laws?
Created by mattwnz, last reply by KiwiNZ on 2-Sep-2014 06:46 (76 replies)
Pages... 4 5 6


Judith Collins: I am resigning
Created by Presso, last reply by gzt on 1-Sep-2014 23:59 (108 replies)
Pages... 6 7 8


Cirque du Soleil Cellphone Hijack
Created by myopinion, last reply by PhantomNVD on 1-Sep-2014 18:01 (21 replies)
Pages... 2


Lightbox quality comments
Created by ronw, last reply by Lurch on 1-Sep-2014 20:14 (99 replies)
Pages... 5 6 7


Orcon Global Mode launched
Created by freitasm, last reply by shk292 on 1-Sep-2014 11:32 (132 replies)
Pages... 7 8 9


Lightbox press event release
Created by freitasm, last reply by IcI on 30-Aug-2014 17:54 (562 replies)
Pages... 36 37 38


recovering light box video
Created by ronw, last reply by ripdog on 1-Sep-2014 21:12 (35 replies)
Pages... 2 3


VideoEZY OnDemand
Created by Andib, last reply by benokobi on 1-Sep-2014 22:34 (16 replies)
Pages... 2



Geekzone Live »
Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.

Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.