RE: Cayenne with JGroups replication

From: Pirola Davide (davide.pirol..atrix.it)
Date: Wed Dec 24 2008 - 09:44:33 EST

  • Next message: Tore Halset: "Re: Cayenne with JGroups replication"

    Hi Tore,
    thanks for your answer.
    Ha-jdbc seems to be a great product.
    It can be used in conjunction with Cayenne?
    I prefer to demand to Cayenne all the stuffs involved in the connection to the database (es connection pooling), and use its API to read and write.
    Do you think that it is possible?

    Thanks
    Davide

    -----Original Message-----
    From: Tore Halset [mailto:halse..vv.ntnu.no]
    Sent: martedì 23 dicembre 2008 19.50
    To: use..ayenne.apache.org
    Subject: Re: Cayenne with JGroups replication

    Hello.

    Cayenne uses jgroups to synchronize the caches. Use ha-jdbc or sequoia
    to sync the databases.

      - Tore.

    On Dec 23, 2008, at 16:39, Pirola Davide <davide.pirol..atrix.it>
    wrote:

    > Hi,
    > i'm developing a web application that need to store some data.
    > For some reasons i can't have a database installed on a cluster, so
    > I inted to use Apache Derby (Java DB embedded in the JDK 6.0).
    > The main issue is due to the fact that i have 2 front end server so
    > I need to synchronize the data stored in the 2 instance of the Derby
    > database.
    > My idea is to use JGroups to permit to the servers to communicate in
    > multicast way and manually realize the synchronization.
    > Whit a great surprise I found this article in the Cayenne manual:
    >
    > http://cayenne.apache.org/doc12/configuring-caching-behavior.html
    >
    > so cayenne already perform this kind of job?
    > Where I can find some documentation or example about it?
    > This solution can be used in production with a high traffic web site?
    >
    > Thanks
    > Davide
    >
    > ________________________________
    > Le informazioni contenute nella presente e-mail potrebbero essere
    > confidenziali e sono dirette unicamente ai destinatari sopra
    > indicati. In caso di ricezione da parte di persona diversa ? vietato
    > qualunque tipo di distribuzione o copia. Chi riceva questo messaggio
    > per errore ? pregato di inoltrarlo al mittente e di distruggere
    > questa e-mail.
    >
    > This e-mail may contain confidential information and is intended
    > only for the use of the addressee(s) named above. If the reader of
    > this message is not the intended recipient of this message, please
    > note that distribution or copying of this communication is
    > forbidden. Anyone who receives this communication in error should
    > return it immediately to the sender and destroy the message.

    Le informazioni contenute nella presente e-mail potrebbero essere confidenziali e sono dirette unicamente ai destinatari sopra indicati. In caso di ricezione da parte di persona diversa è vietato qualunque tipo di distribuzione o copia. Chi riceva questo messaggio per errore è pregato di inoltrarlo al mittente e di distruggere questa e-mail.

    This e-mail may contain confidential information and is intended only for the use of the addressee(s) named above. If the reader of this message is not the intended recipient of this message, please note that distribution or copying of this communication is forbidden. Anyone who receives this communication in error should return it immediately to the sender and destroy the message.



    This archive was generated by hypermail 2.0.0 : Wed Dec 24 2008 - 09:45:13 EST