View Single Post
Old 12-25-2020, 06:43 AM   #44
xxyzz
Evangelist
xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.xxyzz ought to be getting tired of karma fortunes by now.
 
Posts: 418
Karma: 2666666
Join Date: Nov 2020
Device: none
v2.0.0
replace sqlite3 with redis

The performance of redis is nuts! I test the same book, it takes 1m38s on v1.7.1(sqlite3, single thread) and 28s on v1.8.1(sqlite3, 8 threads). On v2.0.0, it only takes 7 seconds runs on a single thread and the fan doesn't move at all!

v2.0.1
shutdown redis server after all books are parsed

Last edited by xxyzz; 12-27-2020 at 08:30 PM. Reason: v2.0.1
xxyzz is offline   Reply With Quote