ravendbravenhq

use same ravenhq db with two different applications


Ok, I know that this is not an opptimal approach, but I was thining of using the same ravenhq db with two different applications.

Why I'm thinking of it, is because I have two really small web-applications that is going to use ravendb as db. And I have one registered paid ravenHq database.

My two applications is not going to share any documents. And both apps data is not going to grow especially big. So my question is. Is this possible to do, or will there be any complications?

//thanks


Solution

  • It really depends on the particulars of your applications. In general, there's nothing wrong with multiple applications accessing the same database. The RavenDB client library can run from anywhere you like, or you can access the DB with raw HTTP. Just because it's a different app calling into the database doesn't mean you'll have problems.

    However, you should consider the following:

    There are probably other areas of overlap. Be careful, and test thoroughly.