Hi All,
I was using cassandra as database in my golang project. When i was using the Query function to retrive the data for the select query, it was taking more time, like 6 to 8 ms, is there any other way to fetch the data from db.
Here is how i am using Query function. please suggest me is any other good approch
Connections is the object of *gocql.Session
data,_ = connection.Query(query).Iter().SliceMap()
i also tried with the MapScan it also taking more time.