Solved

CORBA Event Service in C++

Posted on 2004-09-15
5
297 Views
Last Modified: 2008-03-06
Hello Experts,

I'm not sure this question is best posted here, but I couldn't find any topic related to CORBA...

Anyway, here is my question:

I'm currently develop an application using Iona's Orbix version 3.3.1 for C++ on a Unix machine.  I know Iona has newer and better version of Orbix, but I'm kind of stuck with this version of Orbix 3.3.1 for now.  By using one of the C++ example in the demos, I successfully created a PushSupplier and several push consumers by using Iona's Orbix Events Services.  The problem with this Event Services is that every time I do a broadcast for an event, if the first consumer in the list takes a long time to return to the push() method, then all the subsequent ones have to wait.  So my question is :  Is there anyway to setup some CORBA system option flag, or anything like that, for Event Services to bypass the slow consumer (for example in 1 second timeout), so that the next one can get the event without having to wait until all the previous ones return?

Thanks alot.
0
Comment
Question by:hoangohoango
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 3

Accepted Solution

by:
teratoma earned 63 total points
ID: 12072051
A CORBA scheduler shouldn't involve blocking the whole ORB while waiting for a consumer's response.  I'd tend to think this is some kind of demo behavior that doesn't happen in production mode.  For example, are you set up as a distributed system or is it just a single-machine demo?  I know nothing of Orbix so I can't say whether Iona owns the bug.
0
 
LVL 1

Assisted Solution

by:avinhpham
avinhpham earned 62 total points
ID: 12073260
Orbix Event Services 3.X uses a round-robin algorithm when broadcasting an event.  Therefore, each consumer is delivered the event in a round-robin system through the synchronous push() method.  If a consumer is slow in returning from the push() method, all other consumers will be affected.  OrbixNotification 2000 uses UDP broadcast with Quality of Services, which fixed this problem.

Since you are stuck with this old version of Orbix Event Services 3.X, there might be some options available for you to set the timeout flag for each broadcast.  Check out the following website for more information:
http://www.iona.com/support/knowledge_base/index.xml

avinhpham
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question