Partitions? PreviousNext
Data Distribution Service (DDS) Forum > DDS FAQ >
Message/Author
Next message Anonymous posted on Friday, March 27, 2009 - 06:00 pm
Can anyone explain the concept of paritions in DDS? It seems redundant to me. Why create a topic with multiple partitions when you can just create multiple topics?
Next message Robert Poth  posted on Saturday, March 28, 2009 - 02:08 pm
The concept of partitions is to logically partition the communication space without having to modify application code.

e.g.
Lets assume we have a software component that consists of one or more DataWriters and DataReaders of a certain Topic and performes some arbitrary task.

If we want to deploy multiple instances of this component in a system and communication between the instances is not alowed then we can simple use partitions to separate communication.

If we want to achieve the same with Topics then we would need to modify source code and recompile the component.
Next message Erik Hendriks  posted on Monday, March 30, 2009 - 12:44 pm
Besides that, partitions allow you to dynamically change your interest: depending on the situation, your application can decide to leave one partition and attach to anoter one. Or it could decide to just add another partition to the list of partitions it is collecting its data from. If every partition would have a separate topic, the application would need to manage a variable number of topics, each one having its own separate reader and writer.
As you can see, just having a list of logical partitions to which your publisher and subscriber are attached is much more flexible.

Regards,
Erik.
Next message Hatem Arous  posted on Thursday, May 06, 2010 - 02:18 pm
can we talk about hardware partitionning (RAM, CPU...)?
Next message Erik Hendriks  posted on Friday, May 07, 2010 - 03:42 pm
Can you formulate your question more specifically? What sort of problem would you like to solve here?

Regards,
Erik.
Back to top
Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Post as "Anonymous"
Enable HTML code in message
Automatically activate URLs in message
Action: