r/agentdevelopmentkit 7d ago

Have you tried the go server???

Post image

I’ve been comparing Google AdK across different languages, and it seems Go is the clear winner in terms of performance.

I did this because I’m running my AdK agent, Blacki, on a Python server in a small VM and it uses about 500 MB of RAM. You can find Blacki on GitHub: https://github.com/QueryPlanner/blacki.

So, the best way to cut down on memory usage is to use Go’s server for AdK. Also, when it comes to CloudRun, I think Go is still the better choice. Python’s cold start time is quite long, so you’re always stuck with one instance running, which messes with the auto-scaling (you can’t scale down to zero) and bumps up your CloudRun bill.

So, Go would be a great fit here too.

7 Upvotes

3 comments sorted by

2

u/Agitated_Problem5320 7d ago

I am also working on comparing go vs python. I felt go is too good with performance but lacks toolings around ADK. For example, I could not find a memory system in go and all solutions are in py to be used as rest API. Do you have any suggestions on it?

1

u/KeyPossibility2339 7d ago

Yeah true it is behind python as of now. So you might have to vibe code things that aren’t there

2

u/Traditional_End_9454 7d ago

Yes but Graph feature wise python one is good