[freeside-users] Setup for Redundancy

Jason Hall jayce at lug-nut.com
Tue Nov 24 07:25:05 PST 2009


On Tue, Nov 24, 2009 at 1:12 AM, Madalitso Mzandu <amzandu at gmail.com> wrote:
> Has anyone ever tried to install two instances of freeside(on separate
> machines) with a single (PG) backend?
>
> Or better yet does can anyone suggest a setup that offers redundancy.

Actually, for a large company I implemented systems like this.  We
actually had 4 front end nodes, and a replicated database that they
would talk to.  There actually isn't a problem with this overall,
since Freeside makes generous usage of the mutex in PG to lock, so
different 'heads' won't clash.

The one thing you should watch, for wasted resources only because the
lock works, is if you are running -daily and friends on multiple
machines.  It works, but why waste the effort.

Also helpful to spread the load was my earlier commits (I think I
committed it all) of the bill queued job, that would run the ->bill
method of your daily process via the queue, so multiple machines could
split the load.

--
Jayce^

The Cloud is my Platform
ΜΟΛΩΝ ΛΑΒΕ


More information about the freeside-users mailing list