Python code slow (10 seconds) vs go code fast (1 second) - help?

Please check a similar thread about using asynio package with the Aerospike Python client: Bucketing / splitting data - #2 by meher. As pointed out there, the recommended solution today is to use multiple threads for optimal performance. While we don’t have guidance for using asyncio with the existing Python client library, we have it on our radar to support async io in the future. In the meanwhile, we would like to learn any insights you may gain from your experimentation in this area.