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

MongoDB dependancy #400

Open
ludan-av opened this issue Mar 22, 2018 · 2 comments
Open

MongoDB dependancy #400

ludan-av opened this issue Mar 22, 2018 · 2 comments

Comments

@ludan-av
Copy link

We are big users of ChatScript.
ChatScript is great but a nodejs based bot stack would be easier to scale.

ChatScript uses files to store conversations which (we think) is very convenient and easier (for us) to host than MongoDB.

Is the dependancy between SuperScript and MongoDB very strong? Would it be easy or super hard to use files instead of MongoDB?
Would it be a good or a bad idea independantly of the difficulty of doing it?

@hailiang-wang
Copy link
Contributor

MongoDB is for Production usage to persistence data, if you have many instances, the application would read or write simultaneously, the filesystem is not a good option.

MongoDB has great advantages for SuperScript.

Robomongo come up with a GUI Tool for Mongodb management.
https://robomongo.org/

@MaffooBristol
Copy link

I agree that a hard dependency on a specific database is not perfect. Even though using mongodb is definitely better if you want to scale, which you mention as a reason for moving from CS to SS. In fact, one of the best ways to scale CS is to move from file-based to Mongo.

I'd imagine the best course of action would be to write a pull request with a load of tests and request for it to be merged; but I don't know if enough people would find this an issue for the maintainers to do the work themselves, if that makes sense?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants