openMF / mojafos

A Deployable Package for Mifos/Fineract, Payment Hub EE, and Mojaloop (Mojafos)
Apache License 2.0
5 stars 5 forks source link

[DMP 2024]: Performance Testing Tool/Harness for Monthly Costing & TCO of PH-EE #44

Open DavidH-1 opened 1 month ago

DavidH-1 commented 1 month ago

Ticket Contents

Description

The institutions that need to deploy Payment Hub EE to connect into inclusive instant payment systems like Mojaloop or to connect into mobile money APIs are resource-constrained and need to optimize the cost of deploying Payment Hub EE as much as possible. This project would center around building out a bundled performance testing tool and harness to project and monitor monthly costs and overall total cost of ownership

Goals & Mid-Point Milestone

Goals

Setup/Installation

.

Expected Outcome

Cost and Resource-constrained implementers will have better visiblity and control over costs of deploying valuabe tools like PH-EE

Acceptance Criteria

.

Implementation Details

Performance Testing Tool/Harness to Optimize Cost of PH-EE

Tech Skills Needed Docker, Kubernetes, Jenkins, Bash, Java - Spring, PostgreSQL, MariaDB, Cassandra, TDD With JUnit 4, Gradle

Mockups/Wireframes

.

Product Name

Performance Testing Tool/Harness to Optimize Cost of PH-EE

Organisation Name

The Mifos Initiative

Domain

Financial Inclusion

Tech Skills Needed

Docker, Java, Jenkins, Kubernetes, Spring Boot, Other

Mentor(s)

@tdaly61

Category

Backend, CI/CD, Delpoyment, Other

Weekly Goals (Updated 25th June by T Daly mentor for Devesh Pandey)

Week 1

Week 2

Week 3

Week 4

Week 5

Week 6

deveshpandee commented 2 weeks ago

Weekly Learnings & Updates (To be filled by contributor)

Week 1

DavidH-1 commented 1 week ago

Weekly Goals (Updated 25th June by T Daly mentor for Devesh Pandey)

Week 1

Deploy Mojafos and understand its components Deploy Mojaloop vNext Beta1 with ndogo-loop examine supplied Mojaloop vNext reference architecture flow diagrams Week 2

Deploy Paymenthub Mojaloop connector to Mojafos deployment Understand how to and actually try and run txns through Paymenthub Mojaloop connector. Report on the outcome (success or failure) Week 3

deploy Prometheus to local k8s cluster and understand how to use and interact with it so as to report system util of system under test (SUT) Look at open telemetry and deploy server to kubernetes and connect client to it Week 4

login to the supplied Mojafos instance and try running the bulk transactions from the operations-web UI Week 5

examine and understand the existing jMeter and perf testing resources for existing Mifos/PHEE installations (see https://govstack-global.atlassian.net/wiki/spaces/GH/pages/472973316/Deliverable+6+-+Stress+Performance+testing) Week 6

Using the learning and resources from week 5 the goal for this week is to run the postman collection at https://raw.githubusercontent.com/openMF/ph-ee-env-template/master/PostmanCollections/Payment%20Hub.json against existing Mifos/PHEE deployment so as to understand the PHEE APIs and payment flow run this existing workload against ideally the new supplied Mojafos deployment OR alternatively the existing MIfos/PHEE deployment and crucially document the setup in bullet points so others can replicate