Skip to content

Refactor and cleanup codebase#1

Open
mohamean wants to merge 1 commit into
masterfrom
develop
Open

Refactor and cleanup codebase#1
mohamean wants to merge 1 commit into
masterfrom
develop

Conversation

@mohamean

Copy link
Copy Markdown
Collaborator

This pull request introduces, for the most part, a "cleaned-up" version of the issue classifier component, i.e. unused imports have been removed for clarity as well as performance, variable names have been renamed to better reflect their purpose/nature of content.

This, however, does not mean that the code is in a perfectly usable state. In particular, further rewriting of code (for example due to modifications to architecture) may be necessary to produce a production-ready release suitable for a given context.

In addition, the web server has been rewritten to utilise Flask as a Web framework, with an MQTT client to communicate with the standing between the Microservice and the Gropius tool. Intra-microservice communication will (probably) be carried out using AMQP as well as Celery, publish all issues to different pre-trained classifiers, where a single issue will be sent to a task queue, with several instances of the same pre-trained classifier competing for the issue to be classified (competing consumers pattern).

Furthermore, the entire architecture should be Dockerised and made easily integrable with Kubernetes for scenarios where scalability is of high importance.

A further study of the pros and cons of AMQP in comparison to MQTT w.r.t. a pubsub pattern is still required, though I assume that any benefits/drawbacks introduced by the one or the other are of negligible consequence to the overall target efficiency and/or operability of the Microservice.

@mohamean mohamean added the help wanted Extra attention is needed label Sep 26, 2020
@mohamean mohamean self-assigned this Sep 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

help wanted Extra attention is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant