Memcached Expert Anyone?

Discussion in 'Programming' started by Brad77, Nov 13, 2013.

  1. #1
    I wondering what memcached can do for my site? Make faster? Allow more traffic? Etc


    And next I ask if someone can direct me somewhere or to someone that can analyze my site and code to see if memcached could be implemented and could do some good?
     
    Brad77, Nov 13, 2013 IP
  2. competent123

    competent123 Notable Member

    Messages:
    1,752
    Likes Received:
    71
    Best Answers:
    6
    Trophy Points:
    255
    #2
    1- are you in a dedicated/vps or a shared hosting

    you can't do anything on shared hosting.
     
    competent123, Nov 13, 2013 IP
  3. Vooler

    Vooler Well-Known Member

    Messages:
    1,146
    Likes Received:
    64
    Best Answers:
    4
    Trophy Points:
    150
    #3
    Memcached is using for content caching and can increase the speed of website extremely well.
    What usually is done, is caching the sql content and loading using id's or hash keys. It is key pair cache. If you have a lot traffic and you want to bring down the load of sql then memcached is a very good solution. Facebook uses Memcahced. And you can use it on either VPS or dedicated not on shared as competent123 mentioned.
     
    Vooler, Nov 13, 2013 IP
    ryan_uk likes this.
  4. Brad77

    Brad77 Member

    Messages:
    95
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    33
    #4
    Dedicated to answer your question. Should this be implemented before someone starts or after they have been out awhile and can analyze stats?
     
    Brad77, Nov 13, 2013 IP
  5. Vooler

    Vooler Well-Known Member

    Messages:
    1,146
    Likes Received:
    64
    Best Answers:
    4
    Trophy Points:
    150
    #5
    Memcached integration may be done anytime. But keeping it in mind before developing the whole system is good.

    regards
     
    Vooler, Nov 13, 2013 IP
  6. ryan_uk

    ryan_uk Illustrious Member

    Messages:
    3,983
    Likes Received:
    1,022
    Best Answers:
    33
    Trophy Points:
    465
    #6
    Before implementing any caching system like that, I would advise focusing on optimising your site as it is. As in code (such as PHP, Python or whatever you are using), databases, images, CSS, HTML, JS and whatever other technologies you are using. Then look at caching solutions, if it's actually required (you might find bottlenecks elsewhere). Keep in mind using caching solutions such as serving up a cached copy of the rendered HTML for "anonymous" visitors and similar stuff like that.
     
    ryan_uk, Nov 13, 2013 IP
    Vooler likes this.
  7. akram123khan25

    akram123khan25 Active Member

    Messages:
    102
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #7
    If you are on VPS/Dedicated you can install memcached to rebuild apache
    if you are on shared hosting can install other cache plugin like total cache for wordpress etc
     
    akram123khan25, Nov 13, 2013 IP