Mirror of
forum.nim-lang.org
index
8050 :: how to handle concurrent requests when my chronos based web framework with chronos based mysql lib
[2021-05-27T15:34:37+02:00]
View Orginal
bung
(orginal)
[2021-05-27T15:34:37+02:00]
view original
I recently run a framework benchmark , during concurrent test it raise pending reading operation, I realise I can't do concurrent operation on mysql, how to correct handle this use case ? related code:
https://github.com/bung87/amysql/blob/master/experiments/test_concurrent.nim