Add analyze endpoint with goroutines and connection pooling