Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8700785
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T02:14:54+00:00 2026-06-13T02:14:54+00:00

I wanted to make sure I’m going about this the right way. I’m designing

  • 0

I wanted to make sure I’m going about this the right way. I’m designing a multitenant application. Im planning on creating one database per tenant on a single raven instance, but would also like to have one single instance of my codebase (i.e. one deployed mvc webapi instance).

So I’d call some service locator to get the singleton instance of the documentstore, and then pass it a tenant identifier so I can operate against the appropriate session (one session per tenant db).

Provided that each tenant db is relatively small, (in the hundreds of thousands of documents), transaction volume is fairly low (hundreds of users per tenant) ..is it realistic to expect to run more than a handful of tenants on a single server?

I know this is an open ended oranges-to-apples question, but the answer I’m looking for is either
a) yes this is a standard approach for multitenancy using raven and is limited by hardware
or
b) you’re going about it wrong and this will fail after a handful of tenants regardless of memory/compute capacity

thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T02:14:55+00:00Added an answer on June 13, 2026 at 2:14 am

    Dave,
    This is the standard approach.
    You should be able to run a minimum of a few hundreds tenants on a single instance.
    We have seen multi tenant servers that have thousands, but that depend a lot on the actual load.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I believe I am doing this right but wanted to make sure. In a
I just wanted to make sure I'm going in the right direction. I want
I am thinking this is impossible but I wanted to make sure. Is there
I don't think this is possible but I wanted to make sure. Lets say
I wanted to make sure about something in Java: If I have a Character
I have seen few questions similar to this one, but I wanted to make
I just wanted to make sure I am on the right track Sender generates
I was doing this as a personal exercise and wanted to make sure I
I know this is probably a stupid question, but I wanted to make sure
I just wanted to make sure I had this understood correctly. When I authenticate

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.