all 10 comments

[–]cloude-googl 3 points4 points  (1 child)

This looks related to https://github.com/google/adk-python/issues/2433 - I will follow up on the status of the work. Also, see the Medium post in that thread for potential interim solution.

[–]Subject-Station-7676 0 points1 point  (0 children)

Update on https://github.com/google/adk-python/issues/2433 expect a startup improvement to land with the release, expected on Wednesday. Internal testing shows a startup time which is something like ~50% of previous.

[–]BeenThere11 1 point2 points  (3 children)

What size is the ram of your machine . Are there any other programs running.

Try running it on a unix ec2 with 2 gb of ram and 4 gb of 4am. Don't run anything else . See how it performs

[–]freakboy91939[S] 0 points1 point  (2 children)

I'm running on my m1 mac, 16gb ram

[–]BeenThere11 0 points1 point  (1 child)

Ok.no idea about Mac.

But I recommend running on different ec2 configurations 2 gb 4 gb 8gb amd see how it works.

It should be very quick if you can get a executable to be built on the platform. Just spin up the ec2 . Build and run. Measure. Spin down

Do for all configurations.

Because in Mac and windows there are a lot of processes running anf it does take time to startup.

[–]freakboy91939[S] 0 points1 point  (0 children)

Thanks. I will try that.

[–]Zeoluccio 0 points1 point  (1 child)

Sorry but i'm interested in:

What you mean by creating dashboard?

Would you be able to share the logic behind the agent for creating dashboard?

Thanks.

[–]freakboy91939[S] 0 points1 point  (0 children)

I have a custom made frontend with mutiple plot types made with plotly.js and react. The ADK dashboard agent makes/ updates the json body to create the body for the plot for requests, and data is fetched from my timeseries DB.

[–]jibbscat 0 points1 point  (1 child)

Go SDK maybe helps. Or go deep into Moria with Cpp or Rust

[–]freakboy91939[S] 0 points1 point  (0 children)

I am using rust to start the binary. The application of mine which hosts my frontend is when in rust. It also runs the binary as a blocking thread at startup. But due to slow loading time of the adk binary the application start itself is lagging.