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

External Servers Sync using Apache NIFI #2

Open
keymane opened this issue Oct 17, 2018 · 0 comments
Open

External Servers Sync using Apache NIFI #2

keymane opened this issue Oct 17, 2018 · 0 comments

Comments

@keymane
Copy link

keymane commented Oct 17, 2018

Currently the tomcat web container that we deploy OpenSRP server to is overworked. It handles user requests, schedule alert generation and periodic sync to external server. These servers are OpenMRS, DHIS2, OpenLMIS and RapidPro.

To scale we need to solve this problem.

One way to solve this is to have two tomcat instances, one acts as a REST API(Rest Api Processing) and another handles External(Third party) services. This could work but tomcat is built to handle client requests (multiple threads) and may not be the best option.

The other way is to have a broker between OpenSRP server and these external services. Apache NIFI can be that broker. It's able to pull data periodically, process it and push it to another service. We've used this in mVacc (OpenSRP RapidPro Integration) and OpenLMIS.

This feature involves creating Apache NIFI flows for syncing between OpenSRP server and the external servers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant