top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Memcached: How does Memcached compare with CDNs?

+1 vote
213 views

The concepts of the two seem very similar. How do the two compare and contrast? In simple terms, what applications are best for each?

posted Jun 13, 2014 by Mithun Kumar Muddan

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Both are different and serves different needs -
memcached is a caching tool which run on the local machine (i.e. server) stores the DB queries or small files so that frequent DB access can be avoided.

Whereas CDN i.e. Content Delivery Networks caches web content/images/css/js on a global scale to provide latency and load improvements.

For a better delivery both are required as serves different purpose. Let me know if still has some doubt.

answer Jun 13, 2014 by Salil Agrawal
Similar Questions
+2 votes

Wanted to know how QueryHome is using memcached with PHP and mysql?

+2 votes

Can someone help me with this (Better to provide code for top 3 providers Google, Microsoft and JquerySite).

+2 votes

When I'm running PHP+memcache, I cannot store values into memcache. My PHP version is 5.4.12 and memcache version is 3.0.8

I am setting ini_set('display_errors', true); and error_reporting(E_ALL); and getting the notice:

Notice: MemcachePool::set(): Server 127.0.0.1 (tcp 11211, udp 0) failed
with: Network timeout (0) in xxx/test/my_test.php
on line XX

and when I try to use the "telnet 127.0.0.1 11211". It show like this:

$ telnet 127.0.0.1 11211
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
stats

there's no any response... Does anyone have any idea...

...