David Fetter david at fetter.org
Wed Dec 5 09:33:34 PST 2007
On Sat, Nov 24, 2007 at 11:31:15PM -0200, postgres at dac.e4ward.com wrote:
> On Nov 24, 2007 5:15 PM,  <slony1-general at lists.slony.info> wrote:
> > On Fri, Nov 23, 2007 at 12:21:48PM -0200, postgres at dac.e4ward.com wrote:
> > > Hi all.
> > >
> > > I want to know if anyone here has any experience using slony based
> > > replication on Ruby on Rails applications.
> >
> > Dump Rails.  It's a piece of crap.
> >
> > Cheers,
> > David (no, that is not a joke)
> 
> Well... I know it has some things to improve and such... like any
> piece of software. But maybe I and other's using it deserve the right
> to know why you're saying that without explaining your reasons.
> Specially when you use such a "superiority" tone.

Rails is designed with several truly idiotic principles, to wit:

* The current application owns the data store.

    In fact, useful data stores by definition are shared, and the
    application can no more touch them with DDL than a networking
    application can make design decisions about TCP, and for the same
    reasons.

* Initial construction of the software is important.

    In reality, over 99% of the work done on a useful piece of
    software is maintenance.  RoR makes maintenance increasingly
    difficult.

* By failing to provide useful modules, RoR gets you into "monkey patching." 

     This is equivalent to--and about as smart as--editing binary
    executables with a hex editor.

> Anyway... suppose I don't have the choice (which I have) and have to
> work with rails + slony.  Could you provide an opinion other than
> drop rails?

You *always* have options, including about where you work.

Cheers,
David.
-- 
David Fetter <david at fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter at gmail.com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate


More information about the Slony1-general mailing list