Results 1 to 4 of 4

Thread: Guaranteed message delivery

  1. #1
    dilukhin is offline Registered User
    Name: Dmitry Ilukhin
    Organization: Telros
    Project: Rubin
    Join Date
    Jan 2011
    Posts
    15

    Guaranteed message delivery

    In some situations data sent between systems costs very much, so developer need to be very sure data was sent. Regardless of disconnection and time system was diconnected or even shut down. The only decision is to keep data to be sent persistent until receiving side confirms delivery. Can ICE store serialized methods' calls in nonvolatile memory and keep them persistent until delivery confirmed? In COM+ this feature is implemented and seems useful. Any comments?

  2. #2
    andreynech is offline Registered User
    Name: Andrey Nechypurenko
    Organization: GE Healthcare
    Project: hobby remotely controled vehicle
    Join Date
    Feb 2003
    Location
    Munich, Germany
    Posts
    59
    I am not aware about such functionality provided by Ice out of the box. It might be possible to implement it yourself using
    AMI Interface. In particular section 6.15.7 Flow Control might be relevant. However, I think it is not a trivial task to implement it in reliable production quality way.
    Andrey Nechypurenko
    GE Healthcare

  3. #3
    Gravitas is offline Registered User
    Name: Shane Tolmie
    Organization: NeuralFutures LLC
    Project: Server modules in C++, C# and Java, to client.
    Join Date
    Feb 2011
    Posts
    40
    The problem can be split into two parts: (a) confirming that the data has been sent and (b) persisting the request.

    I will confine my answers to .NET as I am familiar with it.

    You can solve (a) by using two way invocations. You can solve (b) by using an object database which can store native objects. I would not recommend using a RDBMS because it would involve unpacking each object to fit into a non-object oriented database structure. A great example of an object database is db4o. Its one line: ".Add(object)" to write a complete object to the database, the object may contain collections, sub-objects, etc. Another example is .NET Caching Library from Kellerman. Another example is MongoDb which can pesist an object with one function call.

  4. #4
    dilukhin is offline Registered User
    Name: Dmitry Ilukhin
    Organization: Telros
    Project: Rubin
    Join Date
    Jan 2011
    Posts
    15
    Of course i've solved this task. I've used MySQL for persisting and callback interface for confirming. But it would be great if ICE could do this task transparently.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. why is there only have one message print out?
    By ren-wei in forum Help Center
    Replies: 3
    Last Post: 07-01-2010, 01:58 AM
  2. IceStorm Oneway Delivery
    By slypete in forum Help Center
    Replies: 6
    Last Post: 01-27-2009, 03:21 PM
  3. Message Interception
    By Greenhippo in forum Help Center
    Replies: 3
    Last Post: 11-24-2006, 06:33 AM
  4. I have a error message!
    By terminate in forum Help Center
    Replies: 2
    Last Post: 10-10-2006, 10:46 PM
  5. about the size of message
    By simpley in forum Help Center
    Replies: 8
    Last Post: 06-23-2004, 06:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •