4 ms·
Removing the single call to update Redis takes execution time from 3 minutes to ~5 seconds. Profiling the execution shows the most of the time is taken up insid
by bsg75 14y ago
Removing the single call to update Redis takes execution time from 3 minutes to ~5 seconds. Profiling the execution shows the most of the time is taken up inside the Redis driver, but I see similar times if I use the MongoDB Python driver.
The drivers are open-source, so I could invest some time in looking for bottlenecks there, but I believe the authors of those drivers are better Python developers than I.
Interest in a different language comes with some thought that drivers written in faster languages will perform faster.