I would like to ask how to improve the performance of the program.
The main behavior of the program is after the query cassandra shows to the web page. But the same behavior, performance is not faster than python.
cargo build --release,full code.
tsc: ip: '127.0.0.1' port: 9042 thread: num: 8 web: worker: 16 port: '3009' log: path: '/home/jeremy/log/'
In hardware performance (aws instance), rust cpu usage is around 100%, memory usage is not high (normal performance). And python is both fully loaded.
I use a lot of for loops in my program, maybe for this reason. However, because the library used is mostly
iter(), in addition to the for loop, is there a way to get the corresponding value?