Tag Info

Hot answers tagged

22

You don't simply host the whole site with the CDN, just your content. I just realized I answered a similar question a while back: What does akamaihd.net do? Image by WikiMedia So your site references http://akamai/myfile.ext. This will request myfile.ext from akamai. akamai can then send an HTTP redirect to the actual content server. Now, when that last ...


7

A pretty common approach to CDN is to use what's known as "anycast." How this works is that your distributed servers are colocated with DNSes that respond with that server as the destination; for example, you might have three servers in different hosting facilities, and their respective DNSes all claim their IP address to be the canonical one for your server ...


4

Also available are Origin Pull type CDNs. Amazon Cloudfront is able to use this technique. You set up a CNAME like media.example.com that points to their assigned server name and leave all your content on your server. For images and content you want delivered over the CDN, you use media.example.com in the URL. The request goes to their server network and ...


3

Yes it can be done. We need to take advantage of a seldom-used dnsmasq configuration feature, the statement server. You can find how to use it in Arch Linux wiki on dnsmasq, where it is stated: To prevent OpenDNS from redirecting all Google queries to their own search server, add to /etc/dnsmasq.conf: server=/www.google.com/<ISP DNS IP> It ...


3

If you want to restrict access to your port 80 to a specific list of IPs, then you should look into using iptables (presuming linux) or another firewalling solution to drop all incoming connections to port 80 which are not from IPs on the whitelist.


3

No, you can't do this in EC2. You can only assign an Elastic IP address to one instance at once. Building an Anycast network needs a degree of control over your netblocks and BGP routing tables that you can't get in EC2. You could use Amazon's CloudFront CDN instead of building your own, of course. Or you could use their Route53 latency-based DNS aliases to ...


2

The truth is (1) the people you are communicating with probably don't know and (2) the methods are probably somewhat proprietary. That being said, there are several things that you can look at to determine if traffic is flood traffic or if it seems legitimate. Usually, a DDoS attack isn't sending traffic that truly looks like a user is interacting with ...


2

We (CloudFlare) put something up for this in our knowledge base yesterday for Apache.


2

Is it possible to access your AWS S3 bucket via ftp? No, I don't think this is possible - sorry! However, there are lots of tools out there for uploading and syncing content to S3 - many of them free and many of them open source. I tend to use CloudBerry Explorer for my tasks - including the command line interface - but there are lots of alternative ...


2

Well, BitTorrent (the software) uses the - BitTorrent protocol. What is the difference between "BitTorrent" and CDN? One is a technology, the other is an organizational approach. A CDN is not a technology to start with - it is a network used to deliver content using whatever standard the customer needs (mostly HTTP) using technology. The term CDN does not ...


2

i've had the same problem, yslow required you to add the hostname only http://cdn.example.com will not work, although cdn.example.com will do fine.. at least for me :)


2

Try restarting firefox after you change the setting. For me, I specified the domain name as "cdn.ourdomain.com" - no http://. Then, when I ran yslow, it showed: Using these CDN hostnames from your preferences: cdn.ourdomain.com but it was ignoring the setting. Restarting firefox and rerunning yslow seemed to do the trick.


1

Generally the way it works is that all the content is stored on the primary server (Facebook in your example), and the CDN network caches a copy of the data being requested. So you request it from Akamai, which requests if from Facebook if they don't have it cached, or just serve it from their cache. So the next person who requests that data gets it from ...


1

Akamai's configuration is highly configurable, but normally, you can define what type of content you want to store, and for how long (on Akamai's network and on the user's browser). Akamai also has a multi-teir system, so that if a users makes a request from a local Akamai server, if it doesn't have the content, it will request it from a parent tier. If ...


1

they are different from the banking analogy in a few ways. first, if a node crashes, the content isn't lost because the nodes users connect to are not the "definitive" copy of the data. think of them as a subscriber. second, banks do not create infrastructure fault tolerance in order to make your user experience faster. they do it to prevent disaster. ...


1

It's typical for a single webpage to generate 10 or 20 HTTP requests, or even more. When you factor in all the images, the CSS stylesheets, and AJAX requests generated by Javascript, it isn't unusual. Web mail windows will also generate periodic AJAX HTTP requests to check for mail updates. I haven't investigated but I would wager that it would also be ...


1

I would imagine it will depend on the VPN. The 2 most likely things a CDN is looking at for how to direct your traffic are (1) Your IP address and (2) The nameserver you are using. This is the more likely of the 2. If the problem is the nameserver, try finding and forcing a nameserver from Japan. If the problem is your IP address, try changing your ...


1

Traditionally the CDN does the lifting for you on static resources. Say you allow image uploads for your site. After you take the upload, you need to resize it into thumbnails, then serve the resulting data back to the browser when required. A CDN could take care of some of this for you. But a CDN is normally used for making static resource download much ...


1

Akamai does not work this way. Different CDNs work differently, but Akamai specifically does not do anycast for their web servers. When a user in NY wants www.acme.com, acme.com's name server redirects ("delegates") to an Akamai name server. The Akamai name server sees where the machine that is asking the question located (based on its IP address) and ...


1

You're right: a web accelerator is a concept technology that can be used either standalone, as part of a commercial CDN, part of a home grown CDN, or even part of a client installation. There is no one true implementation of a web accelerator, it's a category of technology. Examples are on-the-fly compression/decompression, HTTP caches that are closer to ...


1

A web accelerator could be a CDN, but a very trivial one. The wikipedia definition of CDN is : a large distributed system of servers deployed in multiple data centers across the Internet While the web accelerator is defined as : a (one) proxy server that reduces web site access times The CDN is really a network, whose primary function is ...



Only top voted, non community-wiki answers of a minimum length are eligible