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

Use something other then sqlite #20

Open
voidfiles opened this issue Mar 11, 2014 · 5 comments
Open

Use something other then sqlite #20

voidfiles opened this issue Mar 11, 2014 · 5 comments

Comments

@voidfiles
Copy link
Contributor

It's great for development, but when you actually deploy probably won't work, right?

@jeffknupp
Copy link
Owner

Would work fine while the database is small and uncomplicated. I actually run bull, my digital sales app for selling my book, with sqlite as it simplifies things for small databases.

That being said, if you want to change the DB engine, you're welcome to send a pull request :)

@voidfiles
Copy link
Contributor Author

Out of curiosity how is this app deployed?

On Tue, Mar 11, 2014 at 11:14 AM, Jeff Knupp notifications@github.comwrote:

Would work fine while the database is small and uncomplicated. I actually
run bull, my digital sales app for selling my book, with sqlite as it
simplifies things for small databases.

That being said, if you want to change the DB engine, you're welcome to
send a pull request :)

Reply to this email directly or view it on GitHubhttps://github.com//issues/20#issuecomment-37330074
.

@jeffknupp
Copy link
Owner

The contents are copied to a certain directory (/srv/www/bull) and the app is run via uWSGI controlled by supervisor. So the database ends up being a file in the top level of the directory hierarchy.

@voidfiles
Copy link
Contributor Author

Are you running multiple workers? I guess I am wondering how sqlite3 does
when you start to increase concurrency.

On Tue, Mar 11, 2014 at 11:30 AM, Jeff Knupp notifications@github.comwrote:

The contents are copied to a certain directory (/srv/www/bull) and the app
is run via uWSGI controlled by supervisor. So the database ends up being
a file in the top level of the directory hierarchy.

Reply to this email directly or view it on GitHubhttps://github.com//issues/20#issuecomment-37331996
.

@jeffknupp
Copy link
Owner

SQLite can certainly handle the level of concurrency I require. I just run
3 workers, but SQLite is one of the most tested open source projects
around, so I wouldn't be surprised if it can handle as many threads as your
process can create.

On Tue, Mar 11, 2014 at 2:33 PM, Alex Kessinger notifications@github.comwrote:

Are you running multiple workers? I guess I am wondering how sqlite3 does
when you start to increase concurrency.

On Tue, Mar 11, 2014 at 11:30 AM, Jeff Knupp <notifications@github.com

wrote:

The contents are copied to a certain directory (/srv/www/bull) and the
app
is run via uWSGI controlled by supervisor. So the database ends up being
a file in the top level of the directory hierarchy.

Reply to this email directly or view it on GitHub<
https://github.com/jeffknupp/review/issues/20#issuecomment-37331996>

.

Reply to this email directly or view it on GitHubhttps://github.com//issues/20#issuecomment-37332433
.

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

2 participants