Skip to main content

Section 7-3 : Agentic Pattern Data Parallel

How Is Agentic Pattern Parallel Used

How Is EasyManage AI Agentic Pattern Parallel Used For fetching data from multiple tables in parallel, in batches.

  • Please see the log outputs below.

Sample Run

  • Showing Usage of: EmAgentParallel
    • In Plan Mode
  • Note: Entity level agentic parallel patterns are useful for parallel data tasks for one entity. e.g. Process very large table with sales transaction data, each quarter data fetched in parallel.
    • e.g. ErpSales.ErpSalesEmAgentParallel

Sample Run Outputs

Parallel    : ------- Processing Batches in Parallel ------------
Processing Batch [1]
With table: erp_product
With table: erp_customer
Processing Batch # 1 : begin
2025-11-04T16:58:12.320+05:30 INFO 27352 --- [emagent] [pool-9-thread-1] c.example.emagent.app.EmAgentParallel : ------- EmAgentParallel, Processing erp_product, Mode = Plan (Edit to change) -----
2025-11-04T16:58:12.320+05:30 INFO 27352 --- [emagent] [pool-9-thread-1] c.example.emagent.app.EmAgentParallel : ------- EmAgentParallel, Processing erp_customer, Mode = Plan (Edit to change) -----
Processing Batch # 1 : end
...
Processing Batch [2]
With table: erp_inventory
With table: erp_sales
Processing Batch # 2 : begin
2025-11-04T16:58:12.320+05:30 INFO 27352 --- [emagent] [pool-9-thread-1] c.example.emagent.app.EmAgentParallel : ------- EmAgentParallel, Processing erp_inventory, Mode = Plan (Edit to change) -----
2025-11-04T16:58:12.320+05:30 INFO 27352 --- [emagent] [pool-9-thread-1] c.example.emagent.app.EmAgentParallel : ------- EmAgentParallel, Processing erp_sales, Mode = Plan (Edit to change) -----
Processing Batch # 2 : end
...
2025-11-04T16:58:12.430+05:30 WARN 27352 --- [emagent] [ parallel-7] i.m.c.transport.StdioClientTransport : Process terminated with code 1
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
------------------------------------------------------------------------
[INFO] Total time: 06:04 min
[INFO] Finished at: 2025-11-03T21:38:54+05:30
------------------------------------------------------------------------