* Load Balancer, fail tolerance and replication in PostgreSQL
@ 2004-04-12 12:35 Miguel González Castaños
2004-04-12 12:54 ` Miguel González Castaños
[not found] ` <407B2856.7050903@hosttuls.com>
0 siblings, 2 replies; 3+ messages in thread
From: Miguel González Castaños @ 2004-04-12 12:35 UTC (permalink / raw)
To: linux-admin
Dear all,
We have a web application served by Apache with Tomcat behind for the
JSPs. The database backend is PostgreSQL. I have been asked to do some
research about how to achieve fail tolerance and load balancing in our
application. After searching a little bit this is my first impression:
- There are integrated software for high availability using PostgreSQL
(i.e.: eRserver) but have commercial licences (you have to pay a lot for
it).
- There are some efforts for developing GPL application to achieve
replication, or load balancing or even clustering. My impression is that
they are in a earlier stage, but some of them look promising. Anyway I
am not very sure if any of them will suit into my setup (like pgcluster
or dbmirror).
What I have thought that in my setup maybe I just need to do
clustering with servers with the same setup: Apache/Tomcat. Then, just
do some sort of replication between the PostgreSQL databases that every
node of the cluster should have (i dont know which is the best GPL
replication software). Even I thought that maybe I could use some sort
of dns round- robin approach for load balancing for Apache.
Anyway as you can see I´m pretty lost and I need some guidance to put
me in the right direction...
Sorry for my English
Many thanks in advance
Miguel
Se que en Bulma sois mas forofos de MySQL que de PostgreSQL por
vuestras experiencias con la web de bulma, pero tengo que hacer un
estudio para usar PostgreSQL en un entorno donde se necesita balanceo de
carga y tolerancia a fallos.
Realmente lo que tenemos es una aplicacion web, con Apache y Tomcat
como servidores de JSPs cuya base de datos es PostgreSQL, digo esto
porque he pensado que tal vez lo de buscar un sistema de alta
disponibilidad para PostgreSQL no sea necesario para este sistema, y
simplemente lo que podria hacerse seria un cluster con Apache, o incluso
utilizar un algoritmo round-robin que vaya pasando las solicitudes a los
distintos servidores y un sistema de mirroring entre los distintos
servidores PostgreSQL.
He estado mirando en la página web de PostgreSQL y navegando un poco, y
veo que hay alternativas que ofrecen alta disponibilidad (tolerancia a
fallos, balanceo y replicacion), pero de pago.
Como os digo se me ocurre a priori este enfoque que os digo, ya que
realmente solo hay una base de datos que mantener sincronizada (creo que
esto se puede hacer con dbmirror aunque no se si es solo a nivel de
tablas o de bases de datos).
Tambien he visto una herramienta llamada pgcluster. La verdad estoy un
poco perdido, alguien me puede echar un cable?
Un saludo
Miguel
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Load Balancer, fail tolerance and replication in PostgreSQL
2004-04-12 12:35 Load Balancer, fail tolerance and replication in PostgreSQL Miguel González Castaños
@ 2004-04-12 12:54 ` Miguel González Castaños
[not found] ` <407B2856.7050903@hosttuls.com>
1 sibling, 0 replies; 3+ messages in thread
From: Miguel González Castaños @ 2004-04-12 12:54 UTC (permalink / raw)
Cc: linux-admin
Sorry I pasted a message in Spanish above my message my English, sorry
about that.
Regards,
Miguel
> Dear all,
>
> We have a web application served by Apache with Tomcat behind for the
> JSPs. The database backend is PostgreSQL. I have been asked to do some
> research about how to achieve fail tolerance and load balancing in our
> application. After searching a little bit this is my first impression:
>
> - There are integrated software for high availability using
> PostgreSQL (i.e.: eRserver) but have commercial licences (you have to
> pay a lot for it).
>
> - There are some efforts for developing GPL application to achieve
> replication, or load balancing or even clustering. My impression is
> that they are in a earlier stage, but some of them look promising.
> Anyway I am not very sure if any of them will suit into my setup (like
> pgcluster or dbmirror).
>
> What I have thought that in my setup maybe I just need to do
> clustering with servers with the same setup: Apache/Tomcat. Then,
> just do some sort of replication between the PostgreSQL databases that
> every node of the cluster should have (i dont know which is the best
> GPL replication software). Even I thought that maybe I could use some
> sort of dns round- robin approach for load balancing for Apache.
>
> Anyway as you can see I´m pretty lost and I need some guidance to put
> me in the right direction...
>
> Sorry for my English
>
> Many thanks in advance
>
> Miguel
>
>
>
>
>
>
>
> Se que en Bulma sois mas forofos de MySQL que de PostgreSQL por
> vuestras experiencias con la web de bulma, pero tengo que hacer un
> estudio para usar PostgreSQL en un entorno donde se necesita balanceo de
> carga y tolerancia a fallos.
>
> Realmente lo que tenemos es una aplicacion web, con Apache y Tomcat
> como servidores de JSPs cuya base de datos es PostgreSQL, digo esto
> porque he pensado que tal vez lo de buscar un sistema de alta
> disponibilidad para PostgreSQL no sea necesario para este sistema, y
> simplemente lo que podria hacerse seria un cluster con Apache, o incluso
> utilizar un algoritmo round-robin que vaya pasando las solicitudes a los
> distintos servidores y un sistema de mirroring entre los distintos
> servidores PostgreSQL.
>
> He estado mirando en la página web de PostgreSQL y navegando un poco, y
> veo que hay alternativas que ofrecen alta disponibilidad (tolerancia a
> fallos, balanceo y replicacion), pero de pago.
>
> Como os digo se me ocurre a priori este enfoque que os digo, ya que
> realmente solo hay una base de datos que mantener sincronizada (creo que
> esto se puede hacer con dbmirror aunque no se si es solo a nivel de
> tablas o de bases de datos).
>
> Tambien he visto una herramienta llamada pgcluster. La verdad estoy un
> poco perdido, alguien me puede echar un cable?
>
> Un saludo
>
> Miguel
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Load Balancer, fail tolerance and replication in PostgreSQL
[not found] ` <407B2856.7050903@hosttuls.com>
@ 2004-04-13 10:10 ` Miguel González Castaños
0 siblings, 0 replies; 3+ messages in thread
From: Miguel González Castaños @ 2004-04-13 10:10 UTC (permalink / raw)
To: Brandon Evans; +Cc: linux-admin
Hello Brandon,
Thank you very much for your hint, sounds very promising. I have tried
to find the roadmap of the version 7.5 and I cant find it. Do you know
more or less when version 7.5 are suppossed to be released?
Many thanks
Miguel
> Miguel González Castaños wrote:
>
>> - There are integrated software for high availability using
>> PostgreSQL (i.e.: eRserver) but have commercial licences (you have to
>> pay a lot for it).
>>
>> - There are some efforts for developing GPL application to achieve
>> replication, or load balancing or even clustering. My impression is
>> that they are in a earlier stage, but some of them look promising.
>> Anyway I am not very sure if any of them will suit into my setup
>> (like pgcluster or dbmirror).
>
>
>> Anyway as you can see I´m pretty lost and I need some guidance to
>> put me in the right direction...
>>
>
>>
>> -
>> To unsubscribe from this list: send the line "unsubscribe
>> linux-admin" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
> Not to sure what kind of timeframe you have here, but replication is
> marked as "Urgent" on the PostgreSQL 7.5 relese todo list
> http://developer.postgresql.org/todo.php
>
>
>
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-04-13 10:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-12 12:35 Load Balancer, fail tolerance and replication in PostgreSQL Miguel González Castaños
2004-04-12 12:54 ` Miguel González Castaños
[not found] ` <407B2856.7050903@hosttuls.com>
2004-04-13 10:10 ` Miguel González Castaños
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).