Home Help Center

how can construct apache +ice +mysql?

karlwukarlwu Member wu liuOrganization: xjtuProject: want to use ice to connect mysql and cgi program
now ,our company website is construct by apache +mysql .
but now my boss want to change this struct to apache+ice+mysql
ice can be add to it?
i don't know the ice can do it .everyone who have the samilar experience can tell me how can do ? thanks
my email:[email protected]

Comments

  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Hi,

    You can use IcePHP in your PHP scripts deployed with the Apache web server. Your IcePHP scripts will communicate with an Ice server that talks to your MySQL database server. I recommend to take a look at the IcePHP documentation in the Ice manual here and the IcePHP demos included with your Ice 3.3.0 distribution for more information on IcePHP.

    Cheers,
    Benoit.
  • karlwukarlwu Member wu liuOrganization: xjtuProject: want to use ice to connect mysql and cgi program
    thanks,i will try it.
    that's mean that in the server, i can use any language that i favouriate to communicate with mysql ,not only php?
  • karlwukarlwu Member wu liuOrganization: xjtuProject: want to use ice to connect mysql and cgi program
    can use ice to realize database cache ?

    i mean that can use ice to implement the databse cache?
    when the request is large, our mysql server can't endure,
    such this condition,i want to put some data which user frequently access
    in cache. in order to improve performance
    i don't know ,in ice , can i find the samiliar way to do it?
    or can i use memcache and ice together?
    thanks
  • matthewmatthew NL, CanadaMember Matthew NewhookOrganization: ZeroC, Inc.Project: Internet Communications Engine ✭✭✭
    The answer to all of those questions is yes :) I would first try without memcache, since you can most likely implement smarter application specific caching with Ice. I would look at the evictor pattern, as outlined in section 28.8.4 of the Ice manual.
Sign In or Register to comment.