spring-cloud / spring-cloud-dataflow

A microservices-based Streaming and Batch data processing in Cloud Foundry and Kubernetes
https://dataflow.spring.io
Apache License 2.0
1.11k stars 583 forks source link

spring run task is slowly #1865

Closed kentinchen closed 6 years ago

kentinchen commented 6 years ago

I run task in intellij ,it spend time about 9s,while run in spring cloud dataflow, it spend about 51s I want every 5s query stock info and save to db,is it possible reuse pre-run instance.

time used in local dev(no run in dataflow) [2017-12-26 17:59:20.332] [main] INFO c.h.stock.task.StockTaskApplication -Started StockTaskApplication in 9.447 seconds (JVM running for 10.107)

time used in spring could dataflow(IUT) [2017-12-26 18:07:31.086] [main] INFO c.h.stock.task.StockTaskApplication -Started StockTaskApplication in 51.646 seconds

mminella commented 6 years ago

Can you please provide the full logs for each execution?

sabbyanandan commented 6 years ago

Closing this due to inactivity.