helix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Larry White <lwh...@tracelink.com>
Subject Re: Does helix work with PostgreSQL?
Date Tue, 19 Aug 2014 00:26:34 GMT
Thanks Kanak and Kishore,

We would like to do something quite similar to Espresso, but with Postgres
as the database in each persistence node. I haven't decided yet on a
replication strategy, but it sounds like we would need to write the drivers
for PostgreSQL, using the MySQL drivers as a prototype. Helix would then be
able to manage elasticity, rebalancing and so on.

We're quite early in our design process and I was mainly looking to 'prune
the search tree' if Helix had some incompatibility with Postgres.  For what
it's worth, we would likely be using RDS to build our Postgres farm, which
may have it's own issues and concerns.

Thanks again for the prompt reply.

On Mon, Aug 18, 2014 at 6:03 PM, kishore g <g.kishore@gmail.com> wrote:

> Hi Larry,
> We have drivers for MySQL and as Kanak mentioned you can find a
> functioning prototype at https://github.com/kishoreg/fullmatix. I think
> the exact model should work for PostgreSQL as well.
> The crux of the code relevant to PostgreSQL must go in here.
> https://github.com/kishoreg/fullmatix/blob/master/mysql-cluster/src/main/java/org/apache/fullmatix/mysql/Replicator.java.
> According to my limited knowledge PosgreSQL supports multiple types of
> replication. Do you know what type of replication you plan to use and how
> do you want to configure your topology.
> thanks,
> Kishore G
> On Mon, Aug 18, 2014 at 10:10 AM, Kanak Biscuitwala <kanak.b@hotmail.com>
> wrote:
>> Hi Larry,
>> Helix is designed to help build distributed systems. This includes
>> helping make single-node systems distributed, and making Postgres
>> distributed is an example of this.
>> Note that Helix is a logical framework. It doesn't know how to partition
>> or replicate your data, but it knows how to manage those partitions and
>> replicas. A worthwhile example to look at is this one:
>> https://github.com/kishoreg/fullmatix -- this is an example of building
>> a database by sharding MySQL.
>> Helix also has support for managing systems outside the JVM. With the
>> Helix agent module, we have code that basically manages the lifecycle of an
>> external process and provides facilities for triggering state transitions.
>> See this for instructions:
>> http://helix.apache.org/0.6.3-docs/tutorial_agent.html
>> May I ask how exactly you plan to use Helix to manage your cluster?
>> Kanak
>> ------------------------------
>> Date: Mon, 18 Aug 2014 12:42:07 -0400
>> Subject: Does helix work with PostgreSQL?
>> From: lwhite@tracelink.com
>> To: user@helix.apache.org
>> Hi, I tried Googling for this but didn't see any recent, definitive
>> statements.
>> I would like to use Helix to manage a Postgres cluster. Are there drivers
>> for this? Is anybody doing it in production?
>> Thanks much,
>> Larry

*Larry White |  TraceLink Inc. | Principal Software Architect*
200 Quannapowitt Parkway  |  Wakefield, MA 01880
e: lwhite@tracelink.com

*Protect patients, enable health, grow profits, ensure compliance*

View raw message