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.


View this topic in a long page with up to 500 replies per page Create new topic
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 
14497 posts

Uber Geek
+1 received by user: 2667

Trusted
Subscriber

  Reply # 1320546 9-Jun-2015 19:01
2 people support this post
Send private message

A key to using a CDN is setting your HTTP headers appropriately. I set the expiry of rarely changing static assets to at least a month, then if they change I just purge everything - or sometimes I purge a single file.

Using CF speeds up my image rich site hugely - load time comes down from something like 10s to 3s.




AWS Certified Solution Architect Professional, Sysop Administrator Associate, and Developer Associate
TOGAF certified enterprise architect
Professional photographer


'That VDSL Cat'
9690 posts

Uber Geek
+1 received by user: 2247

Trusted
Spark
Subscriber

  Reply # 1320548 9-Jun-2015 19:02
Send private message

mercutio:
i did some casual testing a while back.  sydney performance seemed to go up and down a lot with small requests of simple pages. (giving 70 msec vs 35 msec or something) whereas auckland was reaslly consistent.

when requesting nz pages from US servers for cache misses performance seems a bit bad.  and i have a feeling it's likely to be quite bad in EU... 

I think for good page load performance for international audience really have to have a US server to get good performance with Cloudflare, as they pull directly from their origin caches.  A long time ago before the Sydney server I found California performance slow and hated how sites were shifting to Cloudflare - this got fixed eventually.  But I had a hack prior to push traffic to Texas where it was fast..

That said, there may be a few flaws still, but Cloudflare seems "okay" to me now.  And it's quite good in the free level.  And definititely seems to be forward looking, and growing in size.  So I suspect it'll get better.

If you really want good web page performance you need a CDN that supports PUSH mode, and to push all of your larger files close to the user with long expiry times and renaming of assets rather than expiration.


Kinda getting away from the topic for this thread but anyway...

I actually do recall your posts :)

For the situation i was reffering to, im generally talking rather 5~100MB bz2s, Of which do have long caches (source engine works off a filename exists, dont download logic so "updated" files can never be a thing anyway) Along with rules to boost their cacheability on cloudflares side


I would prefer to push content out to a CDN network rather than just trust on cloudflare caching, but its a cost to performance situation.

Origin server sometimes goes down (nullroutes on that subnet comes up every so often) For the most part Its more for a layer between origin server and traffic that cloudflare is used for - think masses of devnulled wgets.... the scriptkiddies are rather infrequent compared to my last community however. 

At some point i need to move our origin server out of its current hosting, shared hosting and into its own dedicated hosting on a bigger port for bursts.


sidenote i must point out, before anyone jumps, No i dont expect cloudflare to handle attacks.






#include <std_disclaimer>

 

Any comments made are personal opinion and do not reflect directly on the position my current or past employers may have.


 
 
 
 


14497 posts

Uber Geek
+1 received by user: 2667

Trusted
Subscriber

  Reply # 1320816 10-Jun-2015 07:36
Send private message

hio77: Kinda getting away from the topic for this thread but anyway...

I actually do recall your posts :)

For the situation i was reffering to, im generally talking rather 5~100MB bz2s, Of which do have long caches (source engine works off a filename exists, dont download logic so "updated" files can never be a thing anyway) Along with rules to boost their cacheability on cloudflares side


I would prefer to push content out to a CDN network rather than just trust on cloudflare caching, but its a cost to performance situation.

Origin server sometimes goes down (nullroutes on that subnet comes up every so often) For the most part Its more for a layer between origin server and traffic that cloudflare is used for - think masses of devnulled wgets.... the scriptkiddies are rather infrequent compared to my last community however. 

At some point i need to move our origin server out of its current hosting, shared hosting and into its own dedicated hosting on a bigger port for bursts.


sidenote i must point out, before anyone jumps, No i dont expect cloudflare to handle attacks.


CloudFlare is a CDN, it does keep websites online if they go offline, and it does handle attacks.




AWS Certified Solution Architect Professional, Sysop Administrator Associate, and Developer Associate
TOGAF certified enterprise architect
Professional photographer




BDFL - Memuneh
62676 posts

Uber Geek
+1 received by user: 13354

Administrator
Trusted
Geekzone
Lifetime subscriber

  Reply # 1320820 10-Jun-2015 07:55
Send private message

Once content is cached it should be pretty fast to serve - only first access needs to go back to the origin server. If it's going back for every static content (images, CSS, scripts) then your server is sending out the wrong headers or you have wrong rules in the CDN.





5 posts

Wannabe Geek


  Reply # 1320912 10-Jun-2015 09:39
Send private message

My Cloudflare hosted sites are still routed to Sydney on Spark.

Is there any timeframe at all?


3976 posts

Uber Geek
+1 received by user: 2668

Trusted
Spark NZ

  Reply # 1320926 10-Jun-2015 09:49
Send private message

gzz392: My Cloudflare hosted sites are still routed to Sydney on Spark.

Is there any timeframe at all?



We currently don't have a timeframe (or a decision) to connect locally to Cloudflare. We are however upgrading some other CDNs at the moment and adding hundreds of Gbps to local CDN capacity.

Cheers -N


'That VDSL Cat'
9690 posts

Uber Geek
+1 received by user: 2247

Trusted
Spark
Subscriber

  Reply # 1322049 10-Jun-2015 12:40
Send private message

timmmay: 
CloudFlare is a CDN, it does keep websites online if they go offline, and it does handle attacks.


Sure, cloudflare are designed to take it but that doesnt mean im going to be arrogant and expect them to take it.

cloudflare do have their limits...

freitasm: Once content is cached it should be pretty fast to serve - only first access needs to go back to the origin server. If it's going back for every static content (images, CSS, scripts) then your server is sending out the wrong headers or you have wrong rules in the CDN.



was more referring to when we have the likes of SYD, MLB and ALK all pull off a 100mbit port, for a new very large file, it slows down a bit... Once its in their System its there to stay.




#include <std_disclaimer>

 

Any comments made are personal opinion and do not reflect directly on the position my current or past employers may have.


1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 
View this topic in a long page with up to 500 replies per page Create new topic


Donate via Givealittle


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 »

Amazon introduces new Kindle with adjustable front light
Posted 21-Mar-2019 20:14


A call from the companies providing internet access for the great majority of New Zealanders, to the companies with the greatest influence over social media content
Posted 19-Mar-2019 15:21


Two e-scooter companies selected for Wellington trial
Posted 15-Mar-2019 17:33


GeForce GTX 1660 available now
Posted 15-Mar-2019 08:47


Artificial Intelligence to double the rate of innovation in New Zealand by 2021
Posted 13-Mar-2019 14:47


LG demonstrates smart home concepts at LG InnoFest
Posted 13-Mar-2019 14:45


New Zealanders buying more expensive smartphones
Posted 11-Mar-2019 09:52


2degrees Offers Amazon Prime Video to Broadband Customers
Posted 8-Mar-2019 14:10


D-Link ANZ launches D-Fend AC2600 Wi-Fi Router Protected by McAfee
Posted 7-Mar-2019 11:09


Slingshot commissions celebrities to design new modems
Posted 5-Mar-2019 08:58


Symantec Annual Threat Report reveals more ambitious, destructive and stealthy attacks
Posted 28-Feb-2019 10:14


FUJIFILM launches high performing X-T30
Posted 28-Feb-2019 09:40


Netflix is killing content piracy says research
Posted 28-Feb-2019 09:33


Trend Micro finds shifting threats require kiwis to rethink security priorities
Posted 28-Feb-2019 09:27


Mainfreight uses Spark IoT Asset Tracking service
Posted 28-Feb-2019 09:25



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.