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 
13971 posts

Uber Geek
+1 received by user: 2488

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'
8091 posts

Uber Geek
+1 received by user: 1688

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.


13971 posts

Uber Geek
+1 received by user: 2488

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
60771 posts

Uber Geek
+1 received by user: 11664

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?


3574 posts

Uber Geek
+1 received by user: 2087

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'
8091 posts

Uber Geek
+1 received by user: 1688

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

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 »

Microsoft Dynamics 365 Business Central launches
Posted 10-Jul-2018 10:40


Spark completes first milestone in voice platform upgrade
Posted 10-Jul-2018 09:36


Microsoft ices heated developers
Posted 6-Jul-2018 20:16


PB Technologies charged for its extended warranties and warned for bait advertising
Posted 3-Jul-2018 15:45


Almost 20,000 people claim credits from Spark
Posted 29-Jun-2018 10:40


Cove sells NZ's first insurance policy via chatbot
Posted 25-Jun-2018 10:04


N4L helping TAKA Trust bridge the digital divide for Lower Hutt students
Posted 18-Jun-2018 13:08


Winners Announced for 2018 CIO Awards
Posted 18-Jun-2018 13:03


Logitech Rally sets new standard for USB-connected video conference cameras
Posted 18-Jun-2018 09:27


Russell Stanners steps down as Vodafone NZ CEO
Posted 12-Jun-2018 09:13


Intergen recognised as 2018 Microsoft Country Partner of the Year for New Zealand
Posted 12-Jun-2018 08:00


Finalists Announced For Microsoft NZ Partner Awards
Posted 6-Jun-2018 15:12


Vocus Group and Vodafone announce joint venture to accelerate fibre innovation
Posted 5-Jun-2018 10:52


Kogan.com to launch Kogan Mobile in New Zealand
Posted 4-Jun-2018 14:34


Enable doubles fibre broadband speeds for its most popular wholesale service in Christchurch
Posted 2-Jun-2018 20:07



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.