HAST - documentation unclear to me

Łukasz Wąsikowski lukasz at wasikowski.net
Wed Jan 11 09:21:05 UTC 2012

W dniu 2012-01-10 18:21, Erik Scholtz pisze:

> 1) Only the Master can be operational, the slave is in standby (and
> therefor can not be used as loadbalancing system)
> 2) Slave can be operational too, but on a write-access to the slave it
> will be sent to the master, that syncs it back to the slave again (which
> will cost performance but will work).
> Does anyone of you have an idea which option (1 or 2) is the way HAST
> will work?
> If option 1 is the behaviour of HAST:
> Any recommendations howto loadbalance an apache webserver (with
> read/write operations)? Mounting the data from a NFS-Volume costs a lot
> of time (nearly 1 second slower per request) and therefor is not
> recommended in an apache highperformance-setup.

It's number 1.

You may try to put application files on local FS (fast access) and
user's uploads / files generated by application on NFS or in a database.
1 sec/req is a lot for NFS, probably you are using a slow/saturated
network or didn't tweak your NFS configuration. Did you turned off mmap
and sendfile in apache when using NFS? If you need performance consider
changing apache to nginx, it's much faster.

Also, look out these tools, you may find them useful:

best regards,
Lukasz Wasikowski

More information about the freebsd-cluster mailing list