The following resources are used:
...
2 items for all items (except mod-data-import)
2 partition for all DI kafka topics:
Examples:
delete old topic
# ./kafka-topics.sh --bootstrap-server=<kafka-ip>:9092 --delete --topic perf-eks-folijet.Default.fs09000000.DI_ERROR
recreate topic with "--partitions 2 --replication-factor 1"
# ./kafka-topics.sh --bootstrap-server=<kafka-ip>:9092 --create --topic perf-eks-folijet.Default.fs09000000.DI_ERROR --partitions 2 --replication-factor 1
WARNING: Due to limitations in metric names, topics with a period ('.') or underscore ('_') could collide. To avoid issues it is best to use either, but not both.
Created topic perf-eks-folijet.Default.fs09000000.DI_ERROR.
get topic info
# ./kafka-topics.sh --bootstrap-server=<kafka-ip>:9092 --describe --topic perf-eks-folijet.Default.fs09000000.DI_ERROR
Topic: perf-eks-folijet.Default.fs09000000.DI_ERROR PartitionCount: 2 ReplicationFactor: 1 Configs: min.insync.replicas=1,message.format.version=2.6-IV0,unclean.leader.election.enable=true
Topic: perf-eks-folijet.Default.fs09000000.DI_ERROR Partition: 0 Leader: 1 Replicas: 1 Isr: 1
Topic: perf-eks-folijet.Default.fs09000000.DI_ERROR Partition: 1 Leader: 2 Replicas: 2 Isr: 2
mod-data-import: -XX:MaxRAMPercentage=85.0 -XX:+UseG1GC / cpu: 128m/192m | memory: 1Gi/1Gi
mod-source-record-manager: -XX:MaxRAMPercentage=65 -XX:MetaspaceSize=120M -XX:+UseG1GC / DB_MAXPOOLSIZE = 15 / DB_RECONNECTATTEMPTS = 3 / DB_RECONNECTINTERVAL = 1000 / cpu: 512m/1024m | memory: 1844Mi / 2Gi
mod-source-record-storage: -XX:MaxRAMPercentage=65 -XX:MetaspaceSize=120M -XX:+UseG1GC / DB_MAXPOOLSIZE = 15 / cpu: 512m/1024m | memory: 1296Mi/1440Mi
mod-inventory: -XX:MaxRAMPercentage=80 -XX:MetaspaceSize=120M -XX:+UseG1GC -Dorg.folio.metadata.inventory.storage.type=okapi / DB_MAXPOOLSIZE = 15 / cpu: 512m/1024m | memory: 2592Mi/2880Mi
mod-inventory-storage: -XX:MaxRAMPercentage=80 -XX:MetaspaceSize=120M -XX:+UseG1GC / DB_MAXPOOLSIZE = 15 / cpu: 512m/512m | memory: 778Mi/846Mi
Tests:
env | profile | records number | time | Kafka partition number | module instance number | CPU | description |
---|---|---|---|---|---|---|---|
MG Perf Rancher | PTF Create - 2 | 5000 | 8 min | 2 | 2 | 128512/1024 | 2022-05-24T14:24:20.945+00:00 2022-05-24T14:32:39.051+00:00 |
MG Perf Rancher | PTF Update - 1 | 5000 | 25 min | 2 | 2128 | 512/1024 | 2022-05-24T14:39:07.476+00:00 2022-05-24T15:04:01.426+00:00 |
MG Perf Rancher | PTF Create - 2 | 10`000 | 1h 21 min | 2 | 2128 | 512/1024 | 2022-05-25T13:30:30.073+00:00 2022-05-25T14:51:13.963+00:00 |
MG Perf Rancher | PTF Update - 1 | 10`000 | 1h 23 min | 2 | 2128 | 512/1024 | 2022-05-25T17:57:06.429+00:00 2022-05-25T19:20:08.545+00:00 |
MG Perf Rancher | PTF Create - 2 | 30`000 | 3h 23 min | 2 | 2128 | 512/1024 | 2022-05-25T19:22:42.943+00:00 2022-05-25T22:45:57.436+00:00 |
MG Perf Rancher | PTF Update - 1 | 30`000 | min | 2 | 2 | 128 |
...