Open-Assistant icon indicating copy to clipboard operation
Open-Assistant copied to clipboard

worker based implementation for user_streak , detoxify and feature extraction

Open melvinebenezer opened this issue 2 years ago • 2 comments
trafficstars

user_streak , detoxify and feature extraction make the main process very slow. Use redis-queue based worker implementation for these tasks

melvinebenezer avatar Jan 27 '23 13:01 melvinebenezer

Hello @melvinebenezer,

Thank you for bringing this issue to our attention. I understand that the current implementation for user_streak, detoxify and feature extraction is causing the main process to become slow. I suggest implementing a redis-queue based worker to handle these tasks. This will help to offload some of the workload from the main process and improve the performance of the application.

Additionally, I recommend conducting some performance tests on the new worker implementation to ensure that it is performing as expected. It would be also good to measure the performance of the system before and after the change to see the improvement.

I would also like to suggest looking into other potential areas of optimization in the codebase that may be contributing to the slow performance. It could be beneficial to identify and address these issues in order to further improve the overall performance of the application.

Thanks.

hemangjoshi37a avatar Jan 27 '23 15:01 hemangjoshi37a

link #906

andreaskoepf avatar Jan 27 '23 22:01 andreaskoepf

Is this done now?

olliestanley avatar Jun 02 '23 09:06 olliestanley

@olliestanley yes

melvinebenezer avatar Jun 05 '23 00:06 melvinebenezer