Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chatterbot slows down on large databases #45

Closed
SethDusek opened this issue Jun 10, 2015 · 4 comments
Closed

Chatterbot slows down on large databases #45

SethDusek opened this issue Jun 10, 2015 · 4 comments

Comments

@SethDusek
Copy link

So my plan was, to make a irc bot that would learn from logs and then be in the channel.

I fed it about 25k lines of logs from a large log file, and then I decided to test it out.

I asked it something, then waited for it to respond, it was taking about 40% CPU usage, and I waited an hour for it to respond. Nothing.

Also I am on PyPy so the default json library is already very fast

@gunthercox
Copy link
Owner

This is a known issue. I'm working on writing database adapters for mongodb and possibly sqllite. The mongodb adapter should be available in the next release of ChatterBot.

@gunthercox
Copy link
Owner

Greetings! Just to provide an update, #51 adds support for connecting ChatterBot to MongoDB which should yield significant performance improvements on large databases.

@SethDusek
Copy link
Author

Okay I'll give it a try, thanks!

@lock
Copy link

lock bot commented Mar 10, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Mar 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants