280 Multi-tenancy (MT)
Course overview
This course is self-contained. However, we recommend that you go through one of the 101-level courses, such as that for working with text, your own vectors, or multimodal data.
Multi-tenancy allows you to create a Weaviate collection containing a high number of lightweight "tenants".
Tenants are designed to house isolated, identical data structures. This is suitable for use cases such as software-as-a-service (SaaS) type applications, where each end user's data can be backed by a tenant. Tenants can be managed independently, and their data can be offloaded to cold storage to reduce memory and disk usage.
This course introduces you to multi-tenancy. It teaches you how to enable and configure a multi-tenant collection in Weaviate, as well as how to work with tenants and tenant data.
Learning objectives
Here, we will cover:
Learning Goals- Understand multi-tenancy concepts and their application in Weaviate
- Learn how to set up and manage multi-tenant collections for scalable applications
- Master techniques for efficient resource management in multi-tenant environments
By the time you are finished, you will be able to:
Learning Outcomes- Explain the concept of multi-tenancy and its benefits in Weaviate
- Set up a Weaviate instance and configure collections for multi-tenancy
- Create, manage, and remove tenants in a multi-tenant collection
- Perform data operations and queries specific to individual tenants
- Implement efficient resource management using tenant activity statuses
- Utilize advanced features like auto-tenant creation, activation, and offloading
- Apply multi-tenancy concepts to real-world scenarios for improved scalability and data isolation
Units
1. An overview of multi-tenancy
Learn what multi-tenancy is and how it helps to build scalable production applications.
2. Multi-tenant setup
Set up a Weaviate instance and configure collections for multi-tenant usage.
3. Work with tenants and data
Learn how to manage tenants and their data in a multi-tenant collection.
4. Manage tenant states and resources
Learn how to efficiently manage tenant states and optimize resource usage.