These are chat archives for rust-lang/rust

3rd
Apr 2019
Ogulcan Erduran
@erduranogulcan
Apr 03 20:13
I have 1k requests. Each request has 2 queries that check user mail and password ( not in 1 query for example ) how can I handle them in same time to finish in 500ms? Any suggestions?
Riley Cat
@WreckedAvent
Apr 03 21:10
you can run them in parallel but if it's performance critical you probably want to work some sql black magic to make it just one request