C
C
ccakoxo2017-05-21 00:33:08
CDN
ccakoxo, 2017-05-21 00:33:08

Does it make sense with a CDN if the VPS is on AWS?

Does it make sense to bother with CDN integration for images and other statics, if I now have everything distributed by nginx with AWS? Is there a noticeable difference in speed?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
Eugene Wolf, 2017-05-21
@ccakoxo

CDNs are commonly used for several purposes:
1. If it is "generic" content, such as JQuery, it increases the likelihood that the user has already downloaded this library (or other file) from this link in the cache and will not have to download it again again.
2. To remove cookies and other "irrelevant" intermediate information from HTTP traffic, thereby speeding up the download process.
3. To unload the main server/channel from static
4. etc.
In your specific case:
1. Depends on the geography of a particular user
2. Depends on how fast the CDN and your server (and network and load) can give "pictures and other statics", which in turn can also be affected by user traffic (their number per unit of time)
3. CDN 's are different :)
4. And other factors
The common disadvantages of CDN's include the fact that sometimes they get blocked for various reasons (thanks to the efforts of admins of different companies) and it turns out that your site is loaded, but static is not . Although this happens extremely rarely, I even encountered a situation where Google-CDN was blocked. And also CDNs can "fall" like any other server, creating a similar situation when your site is working, but there is no static.

S
Svetlana, 2017-05-21
@Esmi

If your target audience is in Russia, then:

  1. traffic from AWS to Russia is more expensive than Russian CDN providers
    You can calculate the amount and cost of traffic and compare it with a Russian CDN provider , as well as see the network of servers . In addition, all CDNs provide a trial period so that they can try it out themselves and decide which is better.

P
Puma Thailand, 2017-05-22
@opium

pluses if you have a lot of traffic and a channel from one vps is not enough for
the second plus if your users are from different parts of the world and then your customers will simply be delivered to customers
for small projects faster, usually on a drum

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question