[
https://jira.jboss.org/jira/browse/JGRP-837?page=com.atlassian.jira.plugi...
]
Richard Achmatowicz commented on JGRP-837:
------------------------------------------
I've currently added these changes to the Simulator class, but haven't committed
anything yet. The changes to the operation of Simulator are fairly compact.
I've also created a test case called SimulatorTest which seta up a group of three
simulators with a non-existennt protocol layer (so that we are effectively simulating the
operation of a TP layer with no FIFO, no reliability, etc) and test each feature.
There is the possibility of keeping Simulator as is, and adding in the new functionality
using a subclass SimulatorWithFaultInjection.
Any preferences?
Add faulire simulation capabiliries to Simulator
-------------------------------------------------
Key: JGRP-837
URL:
https://jira.jboss.org/jira/browse/JGRP-837
Project: JGroups
Issue Type: Feature Request
Reporter: Richard Achmatowicz
Assignee: Richard Achmatowicz
Priority: Minor
The Simulator can be used to test protocol layers in isolation. Multiple Simulator
instances can be configured so that they model a multicast group.
In its present state, messages are transported from one Simulator instance to another by
the send_thread, which moves messages from send_queue to recv_queue in a reliable fashion.
Futhermore, all Simulators perform at the same speed. I'd like to use the Simulator
to additionally simulate failures, in order to check the robustness of the protocols. In
particular, i'd like to model:
* dropped, reordered, corrupted messages
* failed processors ('crash' failure)
* network partitions
* slow processes
This JIRA issue will track progress on this and allow for discussion.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira