What is Memcache and how it is used in PHP?

Discussion in 'PHP' started by shilpamg, Nov 26, 2008.

  1. #1
    Hello Everyone,

    I need your help to know about Memcache in PHP.
    Please anybody tell me.
     
    shilpamg, Nov 26, 2008 IP
  2. krzyk

    krzyk Peon

    Messages:
    61
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Do you think you really need memcache? AFAIR it needs to be started separately from PHP, so either your hosting server has to have it, or you should have your own VPS or a dedicated one.
     
    krzyk, Nov 27, 2008 IP
  3. joebert

    joebert Well-Known Member

    Messages:
    2,150
    Likes Received:
    88
    Best Answers:
    0
    Trophy Points:
    145
  4. MMJ

    MMJ Guest

    Messages:
    460
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
  5. mwasif

    mwasif Active Member

    Messages:
    816
    Likes Received:
    23
    Best Answers:
    1
    Trophy Points:
    70
    #5
    Why you need Memcache?
     
    mwasif, Nov 27, 2008 IP
  6. shilpamg

    shilpamg Peon

    Messages:
    228
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    shilpamg, Nov 28, 2008 IP
    joebert likes this.
  7. adamhk

    adamhk Member

    Messages:
    41
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #7
    memcache is good for big aplication for storing needed information (for example joint sql select), which will be if not cached generated every time requested.
     
    adamhk, Nov 29, 2008 IP
  8. shilpamg

    shilpamg Peon

    Messages:
    228
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #8
    what is the design pattern in PHP? can we use it with memcache?
     
    shilpamg, Nov 30, 2008 IP
  9. onlywin

    onlywin Greenhorn

    Messages:
    97
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    18
    #9
    From php site: Memcache module provides handy procedural and object oriented interface to memcached, highly effective caching daemon, which was especially designed to decrease database load in dynamic web applications.
     
    onlywin, May 21, 2009 IP
  10. luizeba

    luizeba Active Member

    Messages:
    265
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #10
    Thanks for the MemCache explanation!
     
    luizeba, May 24, 2009 IP