Skip to end of banner
Go to start of banner

EDIFACT Order Export workflow report 3 [Morning Glory]

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 14 Next »

Infrastructure

PTF -environment

  • 10 m6i.2xlarge EC2 instances
  • 2 instances of db.r6.xlarge database instances, one reader and one writer
  • MSK
    • 4 m5.2xlarge brokers in 2 zones
    • auto.create-topics.enable = true
    • log.retention.minutes=120

#

modules

task definition

running tasks 

CPU

memory

memoryReservation

maxMetaspaceSize

Xmx

#

modules

task definition

running tasks 

CPU

memory

memoryReservation

maxMetaspaceSize

Xmx

1

mod-inventory-storage

102102422081952512m1440m
2okapi33102416841440512m922m
3mod-invoice-storage32102418721536512m1024m
4mod-orders52102420481440512m896m
5mod-agreements5212815921488512m968m
6

mod-data-export-worker

22210243072 2800612m 2128m 
7

mod-data-export-spring

6125620481844512m1292m
8mod-notes321281024896128m768m
9mod-orders-storage421281024896128m768m
10mod-inventory42102428802592512m1814m

Software Versions

  • mod-data-export-worker: 1.4.10
  • mod-data-export-spring: 1.4.5
  • mod-agreements: 5.2.2
  • mod-notes: 3.1.2
  • mod-users: 18.3.0
  • mod-inventory-storage-24.1.0
  • mod-inventory-18.2.2
  • mod-orders-12.4.3
  • mod-orders-storage-13.3.3
  • okapi-4.14.2


Test Results



Test #JobsOrdersSuccess rateTime
1101006/10±10 sec

Failed login to FTP (FtpException)

Socket closed (SocketException)

2105008/1055-57 sec
31010007/103 min

Failed login to FTP (FtpException)

Socket closed (SocketException)

41010009/102 min 17 s

Connection refused (Connection refused) (ConnectException)

51010008/102 min 48 s

Connection refused (Connection refused) (ConnectException)

File upload failed. 450 PASV: data transfer in progress (FtpException)

610200010/10±5 min
710400010/109-10 min
81060008/1016 min

Connection closed without indication. (FTPConnectionClosedException)

Connection is not open (IOException)

Summary 

  • At this point we can conclude that more-or less safe limit is 8-10 jobs with 1000 orders per organisation
  • Most of jobs failed with Connection refused (Connection refused). However it doesn’t looks like it's the matter of FTP server. We did observe same behavior previously with 3-4 parallel job, and it was fixed with increasing of memory parameters on the module side. At same moment we can't see significant resource usage on FTP server side. 
  • It looks like percentage of success if highly depended on orders number. The more orders number - the higher chance to complete all jobs successfully.
  • we can conclude that safe limit for EDIFACT is 10 jobs with 1000 - 4000 orders per job.


Resources usage

test 1 

test 2

test 3

test 4

test 5





test 6






test 7






test 8




  • No labels