compute shard lookup in a Future