From: Paul Lutus Date: 2006-09-22T02:10:13+09:00 Subject: Re: Question about drb and databases Ben Johnson wrote: > Let's say I have 2 servers. One has the database, the other doesn't. The > main application is being ran on the one with the database. If I was to > distribute ruby using DRb to the other server does that process need a > different kind of database connection? Basically what I'm asking is do I > need to connect to the database using localhost or the IP? Because wont > the database calls go over the wire like all of the other calls > therefore a localhost connection should work, right? No -- unless I am not understanding you. But if both machines are on the same intranet, the IP approach (using an intranet IP) should be fairly swift. Strictly speaking, 'localhost' refers to a particular machine's self-identity, not to an intranet machine's identity. -- Paul Lutus http://www.arachnoid.com