Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: clarify limitations

Data export is performed by Back-end mod-data-export module. Drawbacks of the approach

Drawio
bordertrue
diagramNameData export by using mod-data-export
simpleViewerfalse
width400
linksauto
tbstyletop
lboxtrue
diagramWidth551
revision1

Pic. 1.


This approach's technical limitations to being extended to other use cases:

  1. This approach is customized specialized to export data from SRS and Inventory modules only. There are no extension points to other scopes, which allow to easily add export from other modules.
  2. Bad separation of concerns in the source code. As result, it is hard to extend it.
  3. Each export job is executed within the scope of a single HTTP request, which makes the job unreliable. The job may fail in case of HTTP request timeout.

  4. There is no job retry logic, which also makes jobs the job unreliable.
  5. The codebase is more complex than the Spring way one due to the usage of Vert.x and reactive programming.The reactive programming doesn't bring benefits in this case due to blocking operations.

  6. It is based on RMB which should be considered as deprecated soon