modeling message communication patterns with simevents -凯发k8网页登录
this example shows how to create common communication patterns using simevents®. in message-based communication models, you can use simevents® to model and simulate middleware, and investigate the effects of communication and the environment on your distributed architecture.
the systems in this example represent common communication patterns created by using simevents® blocks that can be used to simulate various network types, such as cabled or wireless communication, and channel behavior such as failure, or packet loss.
the communication patterns involve:
merging messages from multiple senders.
broadcasting messages to multiple receivers.
distributing work to multiple receivers.
multicasting messages among multiple senders and multiple receivers.
running a component based on message availability and data.
delaying messages for a set amount of time.
to create more complex networks and channel behavior, use combinations of these simple patterns.
by using these patterns, you can model:
n -to- n communication with multiple senders and receivers with an ideal channel with communication delay. for an example, see .
n -to- n communication with channel failure and packet loss. for an example, see model wireless message communication with packet loss and channel failure.
an n -to- n ethernet communication network with an inter-component communication protocol. for an example, see .
see also
| | |