Wednesday 27 November 2019

Node vs Python for RSS Parsing

I am trying to parse RSS feeds and quickly update my MongoDB using Node, I tried worker_threads. mixing threads and promisses is not working very well. My code with worker threads without using promisses working very well and fast, when i added database operations with await, all stops. I did a lot of testing and just using promises is getting faster.​Any has any suggestion for this?I was thinking of switching to Python and hopefully get better results​Any advice or suggestions greatly appreciated

Submitted November 27, 2019 at 10:04PM by enigmatic5000

No comments:

Post a Comment