Archived
This forum has been archived. Please start a new discussion on GitHub.
Centralized Freeze?
Hi,
Can Freeze be centralized?
If I have 2 nodes on two different machines running the same service, can they point to the same db? Or better yet, can the db be replicated using IceGrid somehow?
What I'm thinking is for failover, for example, I'd like to be able to failover to another node and have all the state in the db up to date.
Thanks
Budyanto
Can Freeze be centralized?
If I have 2 nodes on two different machines running the same service, can they point to the same db? Or better yet, can the db be replicated using IceGrid somehow?
What I'm thinking is for failover, for example, I'd like to be able to failover to another node and have all the state in the db up to date.
Thanks
Budyanto
0
Comments
-
The IceGrid Freeze database cannot be centralized but IceGrid does support registry replication. You should take a look at the Registry Replication section of the Ice manual and the IceGrid replication demo that you can find in the Ice source or demos distribution.0
-
So how is IceGrid replication done? It uses Freeze too right? Is it something that's not exposed as part of the ICE public feature?
I'm wondering if there's a plan to support centralized Freeze database or replication in the future. I would think this is something that would be very useful.
Thanks
Budyanto0 -
Hi,
So it's may be reasonable to use Berkley Db directly to provide centralised db access across multiple processes without ice freeze ?0 -
Hi Maxim,
Welcome to our forums!
Yes, if you develop directly with Berkeley DB, you could use the same DB environment from several processes on the same computer. This would be unrelated to Ice & Freeze.
Best regards,
Bernard0