Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 02-26-2005
andhow andhow is offline
Registered User
 
 
Join Date: Jan 2005
Posts: 16
solving a general problem using IceStorm

Is there a way to apply a user-defined "filter" so that every message published to an IceStorm publisher doesn't get automatically sent to every subscriber?

For example, in an online game, you would want subscribers that are "near" the source of the message to get all messages, subscribers farther away would receive messages less frequently, or not at all.

For a second question:
Reading the documentation, IceStorm only kicks subscribers if it gets a connection error. What would be the best way to make sure exceptions like ObjectNotExist, which aren't connection errors, so wouldn't be picked up by a oneway call, would remove a subscriber? Would this require making a seperate thread that ping()s subscribers in the background?
Reply With Quote
  #2 (permalink)  
Old 02-26-2005
matthew's Avatar
matthew matthew is offline
ZeroC Staff
 
Name: Matthew Newhook
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Feb 2003
Location: NL, Canada
Posts: 1,052
Quote:
Originally Posted by andhow
Is there a way to apply a user-defined "filter" so that every message published to an IceStorm publisher doesn't get automatically sent to every subscriber?

For example, in an online game, you would want subscribers that are "near" the source of the message to get all messages, subscribers farther away would receive messages less frequently, or not at all.
There are no user-defined filters in IceStorm. You could possibly solve this problem by using an IceStorm topology. ie: creating a federation of IceStorm topics. See the Ice manual for more information on Federation.

If you really need support for user-defined filters and have a commercial need please contact us at info@zeroc.com.

Quote:
Originally Posted by andhow
For a second question:
Reading the documentation, IceStorm only kicks subscribers if it gets a connection error. What would be the best way to make sure exceptions like ObjectNotExist, which aren't connection errors, so wouldn't be picked up by a oneway call, would remove a subscriber? Would this require making a seperate thread that ping()s subscribers in the background?
That sounds pretty expensive as a general purpose solution. Depending how your application is structured this problem may not exist in reality. An upcoming version of IceStorm will offer support for sending the IceStorm messages as twoway invocations which will help aleviate this problem if it really is an issue for you.

Regards, Matthew
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
General IceStorm questions brian Help Center 1 10-19-2005 09:53 PM
IceStorm problem sepp Help Center 2 04-05-2005 09:10 AM
IceStorm problem freshman Help Center 1 03-01-2005 12:10 AM
IceStorm problem freshman Help Center 2 01-26-2005 05:43 AM
Problem with IceStorm minifat Help Center 2 08-19-2004 02:54 AM


All times are GMT -4. The time now is 08:34 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.