Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simulation JMS #1340

Open
1 task
Tracked by #1339
AvocadoMoon opened this issue Aug 26, 2024 · 0 comments
Open
1 task
Tracked by #1339

Simulation JMS #1340

AvocadoMoon opened this issue Aug 26, 2024 · 0 comments
Assignees
Labels
Type: enhancement enhance existing feature

Comments

@AvocadoMoon
Copy link
Contributor

AvocadoMoon commented Aug 26, 2024

Problem

Background:
Current method for updating Java clients with information is to use JMS as the communication protocol handler, ActiveMQ as a Queue of messages, and MongoDB as a place to store the larger messages.

What Is Wrong With This System:
The problem with this entire system is not it's architecture, but instead the message type used by JMS. It uses java object serialization which makes the communication protocol brittle, being directly coupled to Java objects and their Java version.

Solution

Change the message type used by JMS to text (JSON or XML), which will require changes in ActiveMQ and MongoDB as well, but will make the communication significantly more flexible and potential to be used in other programming languages.

  • Round trip test, ensuring that API clients can initialize the state machine, it continues internally with the simulation process giving update messages, and if requested by the client, to stop the entire simulation process.
@AvocadoMoon AvocadoMoon added the Type: enhancement enhance existing feature label Aug 26, 2024
@AvocadoMoon AvocadoMoon self-assigned this Aug 26, 2024
@AvocadoMoon AvocadoMoon moved this to Active in vcell development Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: enhancement enhance existing feature
Projects
Status: Queued
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant