Results 1 to 5 of 5

Thread: how can construct apache +ice +mysql?

  1. #1
    karlwu is offline Registered User
    Name: wu liu
    Organization: xjtu
    Project: want to use ice to connect mysql and cgi program
    Join Date
    Aug 2008
    Posts
    3

    how can construct apache +ice +mysql?

    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:wuliudan@gmail.com

  2. #2
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    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.

  3. #3
    karlwu is offline Registered User
    Name: wu liu
    Organization: xjtu
    Project: want to use ice to connect mysql and cgi program
    Join Date
    Aug 2008
    Posts
    3
    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?

  4. #4
    karlwu is offline Registered User
    Name: wu liu
    Organization: xjtu
    Project: want to use ice to connect mysql and cgi program
    Join Date
    Aug 2008
    Posts
    3

    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

  5. #5
    matthew's Avatar
    matthew is offline ZeroC Staff
    Name: Matthew Newhook
    Organization: ZeroC, Inc.
    Project: Internet Communications Engine
    Join Date
    Feb 2003
    Location
    NL, Canada
    Posts
    1,458
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Apache crash with Ice/PHP
    By ntyler in forum Bug Reports
    Replies: 17
    Last Post: 08-18-2009, 03:00 PM
  2. Ice Client + apache + Ice Server
    By fd98444 in forum Help Center
    Replies: 1
    Last Post: 02-21-2009, 04:22 PM
  3. Is it possible to use mysql in Freeze?
    By RusselHarvey in forum Help Center
    Replies: 8
    Last Post: 12-21-2005, 06:16 AM
  4. Replies: 1
    Last Post: 12-21-2005, 03:12 AM
  5. Replies: 3
    Last Post: 06-17-2005, 01:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •