Home > Paid Traffic Sources > Mobile

How do you HOST? (14)


08-13-2017 11:17 PM #1 nirvana (Member)
How do you HOST?

Hello STM,

Recently, ive been running some AU sweeps offers with BEYOND CLOUD HOSTING - $19/month + Beyond CDN.

Im noticing some horrendous page load speeds vs USA. The same lander loads in 0.4-0.5 seconds in US vs AU.

USA Speed


AU Speed



What hosting should I ideally use for pop traffic? I am going to be in a lot of geos so I do not mind investing into a nice service that can load my landers ultra fast.

Is there anything that you guys can recommend?

Cheers


08-14-2017 09:01 AM #2 manu_adefy (Veteran Member)

There are 2 main options imo:

1) Amazon S3 + CloudFront combination (pretty easy to setup, good price and good performance).
2) VPS in the geo you are running. If you have so much volume in AU, you should look into this and perhaps try it out. A well setup server in the geo beats almost any CDN service. It ends up being cheaper and faster. You have to make sure you have enough volume there - varies what enough means for each.


08-14-2017 11:01 AM #3 caurmen (Administrator)

AU is a particular pain in the ass as far as hosting goes - for some reason most CDNs are a bit ropy in that area.

Cedexis reckons Fastly is the fastest cloud service in the area - https://www.fastly.com/pricing offers $50 of free traffic, so you could test that and see how you go. They're showing median response times around 45ms.

Cloudflare also seems to do pretty well in that area, so you could set that up - remember to use Page Rules to cache everything.

Did you warm the CDN up before running your test, btw? You should always run about a dozen tests in quick succession from a particular region, then average the last three results.


08-14-2017 04:37 PM #4 matuloo (Legendary Moderator)

I have no experience with Beyond's CDN, but I do have one server with them ... and I'm using it for AU campaigns too, it's not POP traffic so I don't care about speed all that much... but I didn't have any problems with it. The speed tests are also not the most reliable sometimes, it's a good idea to test a few of them, to see if all report such bad loading times - 3 seconds is a lot for POPs, that's true.


08-16-2017 01:31 AM #5 nirvana (Member)

Quote Originally Posted by manu_adefy View Post
There are 2 main options imo:

1) Amazon S3 + CloudFront combination (pretty easy to setup, good price and good performance).
2) VPS in the geo you are running. If you have so much volume in AU, you should look into this and perhaps try it out. A well setup server in the geo beats almost any CDN service. It ends up being cheaper and faster. You have to make sure you have enough volume there - varies what enough means for each.
Hi Manu,

Thank you for your points. I have decided to give Amazon S3 + Cloudfront a shot! Seems like its the most practical. Regarding VPS... will definitely look into that. I talked to Rackspace, they said it starts from $100.. seems doable if the GEO is working well.

Cheers


08-16-2017 01:36 AM #6 nirvana (Member)

Quote Originally Posted by caurmen View Post
AU is a particular pain in the ass as far as hosting goes - for some reason most CDNs are a bit ropy in that area.

Cedexis reckons Fastly is the fastest cloud service in the area - https://www.fastly.com/pricing offers $50 of free traffic, so you could test that and see how you go. They're showing median response times around 45ms.

Cloudflare also seems to do pretty well in that area, so you could set that up - remember to use Page Rules to cache everything.

Did you warm the CDN up before running your test, btw? You should always run about a dozen tests in quick succession from a particular region, then average the last three results.
Hi Caurmen,

Fastly.. Thats great to know. It's added to the list. This makes me only wonder how much more there is that I need to know about each GEO.

I've used cloudflare before .. I like it. To clarify, the page rules the cache everything part.. you mean just set it to 7+ days right?

No I did not. I did'nt even think that was needed. Can you please clarify why this is important. Why did the CDN have to be warmed up?


08-16-2017 01:39 AM #7 nirvana (Member)

Quote Originally Posted by matuloo View Post
I have no experience with Beyond's CDN, but I do have one server with them ... and I'm using it for AU campaigns too, it's not POP traffic so I don't care about speed all that much... but I didn't have any problems with it. The speed tests are also not the most reliable sometimes, it's a good idea to test a few of them, to see if all report such bad loading times - 3 seconds is a lot for POPs, that's true.
That makes sense Matuloo. I definitely will be testing new hosting. Will keep this thread updated once im up and running.


08-16-2017 10:01 AM #8 caurmen (Administrator)

Warming up CDNs: CDNs need time to cache the files that you want them to serve.

When you make a request to them for the first time, they load the entire page from your origin server, then deliver it to you. That's slow as hell.

After a few requests, though, they're serving the page straight from their local server, which is - or should be - much faster - that's the entire point of the service.

So when speed testing, you need to hit the CDN with 10 or so requests to make sure that the page is cached and you're seeing the same speeds your visitors will see.

Cloudflare Page Rules: here's a tutorial on that: https://www.webhostinghero.com/confi...he-everything/


08-21-2017 09:36 PM #9 nirvana (Member)

Quote Originally Posted by caurmen View Post
Warming up CDNs: CDNs need time to cache the files that you want them to serve.

When you make a request to them for the first time, they load the entire page from your origin server, then deliver it to you. That's slow as hell.

After a few requests, though, they're serving the page straight from their local server, which is - or should be - much faster - that's the entire point of the service.

So when speed testing, you need to hit the CDN with 10 or so requests to make sure that the page is cached and you're seeing the same speeds your visitors will see.

Cloudflare Page Rules: here's a tutorial on that: https://www.webhostinghero.com/confi...he-everything/
Thanks for this info. Makes sense.

I have one question though regarding s3 caching. I have followed some guides and tried to add caching to browsers but on tools.pingdom.com and other similar services show me this :



The setup I have on s3 is : Each item has this header



Cloudfront :



I am just not sure what I am doing wrong? Is there a step I missed somewhere? How do I cache or expire things to speed up speed?

Thanks guys!


08-22-2017 12:29 AM #10 platinum (Veteran Member)

To avoid going on every object one by one just go to the folder of your S3 lander and specify max-age and Expiration date from there.

Your folder objects metadata will be updated accordingly (css example):


If, I'm not mistaking... One thing that might screw your tests, might be the fact that, right after creating your lander's folder and uploading your lander files, you create the CloudFront distribution and then after bad results you add Metadata tags to the objects.

Change the below Behavior settings of your CloudFront distribution as shown in the screenshot:


This way you only have to wait for 60mins for Metadata to be updated according to your CF Origin.

Melbourne, Australia results according to Pingdom:

Dallas, Texas US:

Stockholm, Sweden:


Google Page Speed Results:


I hope, this helps you fix your speed issues and move forward with launching more camps


08-22-2017 08:31 PM #11 nirvana (Member)

Thank you for the clear instructions. Ill be waiting another 60 mins until the meta tags update then give it a fresh test. Will update shortly.


08-22-2017 09:43 PM #12 nirvana (Member)

Still not working, gonna wait a little longer.


08-22-2017 10:48 PM #13 nirvana (Member)

Aha!

Had to re-upload the pages again after following your guide.

Seems to be working. Now time for traffic!



Thank you. Now I have to perfect cleaning landing pages.


08-23-2017 08:16 AM #14 platinum (Veteran Member)

Quote Originally Posted by nirvana View Post
Aha!

Had to re-upload the pages again after following your guide.

Seems to be working. Now time for traffic!
Glad to see you succeeded on this! Now it's time to focus on testing new offers, landers and geos.


Home > Paid Traffic Sources > Mobile