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 - Memuneh
65025 posts

Uber Geek

Administrator
Trusted
Geekzone
Lifetime subscriber

# 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
15429 posts

Uber Geek

Trusted
Subscriber

  # 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.



BDFL - Memuneh
65025 posts

Uber Geek

Administrator
Trusted
Geekzone
Lifetime subscriber

  # 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.





 
 
 
 


15429 posts

Uber Geek

Trusted
Subscriber

  # 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).



BDFL - Memuneh
65025 posts

Uber Geek

Administrator
Trusted
Geekzone
Lifetime subscriber

  # 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 - Memuneh
65025 posts

Uber Geek

Administrator
Trusted
Geekzone
Lifetime subscriber

  # 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.




3115 posts

Uber Geek

Trusted
Subscriber

  # 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 - Memuneh
65025 posts

Uber Geek

Administrator
Trusted
Geekzone
Lifetime subscriber

  # 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.




 
 
 
 


1387 posts

Uber Geek


  # 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 - Memuneh
65025 posts

Uber Geek

Administrator
Trusted
Geekzone
Lifetime subscriber

  # 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.






478 posts

Ultimate Geek


  # 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.

478 posts

Ultimate Geek


  # 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 - Memuneh
65025 posts

Uber Geek

Administrator
Trusted
Geekzone
Lifetime subscriber

  # 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 - Memuneh
65025 posts

Uber Geek

Administrator
Trusted
Geekzone
Lifetime subscriber

  # 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 - Memuneh
65025 posts

Uber Geek

Administrator
Trusted
Geekzone
Lifetime subscriber

  # 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...





15429 posts

Uber Geek

Trusted
Subscriber

  # 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.

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



Twitter and LinkedIn »



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 »

Intel introduces cryogenic control chip to enable quantum computers
Posted 10-Dec-2019 21:32


Vodafone 5G service live in four cities
Posted 10-Dec-2019 08:30


Samsung Galaxy Fold now available in New Zealand
Posted 6-Dec-2019 00:01


NZ company oDocs awarded US$ 100,000 Dubai World Expo grant
Posted 5-Dec-2019 16:00


New Zealand Rugby Selects AWS-Powered Analytics for Deeper Game Insights
Posted 5-Dec-2019 11:33


IMAGR and Farro bring checkout-less supermarket shopping to New Zealand
Posted 5-Dec-2019 09:07


Wellington Airport becomes first 5G connected airport in the country
Posted 3-Dec-2019 08:42


MetService secures Al Jazeera as a new weather client
Posted 28-Nov-2019 09:40


NZ a top 10 connected nation with stage one of ultra-fast broadband roll-out completed
Posted 24-Nov-2019 14:15


Microsoft Translator understands te reo Māori
Posted 22-Nov-2019 08:46


Chorus to launch Hyperfibre service
Posted 18-Nov-2019 15:00


Microsoft launches first Experience Center worldwide for Asia Pacific in Singapore
Posted 13-Nov-2019 13:08


Disney+ comes to LG Smart TVs
Posted 13-Nov-2019 12:55


Spark launches new wireless broadband "Unplan Metro"
Posted 11-Nov-2019 08:19


Malwarebytes overhauls flagship product with new UI, faster engine and lighter footprint
Posted 6-Nov-2019 11:48



Geekzone Live »

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


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



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.