Everything You Need To Know About Salesforce Architecture

Salesforce is the world number one Customer Relationship Management Platform and is used by many Fortune 500 companies. They help businesses grow by helping them understand their customers’ needs better. Salesforce has a customer base of over 150,000 companies consisting of large scale, medium scale and small scale enterprises. It is an emerging technology which will be used for a very long time. So if you’re just started learning salesforce, here is a blog for you which will help you understand Salesforce Architecture.

But before we talk about Salesforce Architecture, let me give you a quick Introduction to Salesforce.

Salesforce is a cloud-based software company which provides Customer Relationship Management (CRM) Service. Now, customer relationship management means a strategy or technique which business uses to administer their interactions with their customers. CRM systems allow organizations to manage their customer relationships and interactions through a single tool, which provides a better customer experience and improves business outcomes.

Initially, Salesforce started as Software as a Service (SaaS) CRM company, but now it provides various software solutions and a platform for users and developers to develop and distribute custom software.

Salesforce offers a variety of products for companies such as salesforce sales cloud, marketing cloud, service cloud, community cloud , analytic cloud, app cloud and many more. Each of these services has its own functionality and can be used by different teams in a company. Like the sales team can use the sales cloud, the support team can use the service cloud and so on.

So this was a brief introduction to salesforce. Now, let us talk about salesforce architecture,

Salesforce Architecture can be broken down into a series of layers for better understanding, with each layer having its own features and functionality.

The core architecture of salesforce can be divided into multi tenant layer, metadata and API services

Now, let us first understand what is the multi-tenant layer,


Basically, in a multi-tenant layer, one server instance is shared by multiple clients. There is one common application which is shared by multiple clients. But each client accessing the server will have his own working environment which is isolated from the other clients. With this multi-tenant architecture, a developer can develop an application, upload it on the cloud, and easily share it with multiple clients or groups.

Now, as multiple users access the same server and application, it becomes very cost effective. As the resources are shared, the cost for setting those resources and the maintenance cost are also shared. Also, the data from the applications are stored in a common shared database. But the data of one client is secure and isolated from the data of the other clients.

The next architecture we will be discussing is metadata.

Now as you know, all the data is stored in a common database. so, along with the data, salesforce also stores something called the metadata in the common database. Now the metadata can be defined as data about the data which includes things like where your data is present, what is your data all about and the sharing rules for your data.

Now each client has his own metadata. Let’s say for example, there are 2 clients A and B accessing the same server, so A & B will have their data in the common database, client A will have metadata to only his data and the same goes for client B who has metadata to only his data. Now as they both do not know each other’s metadata , they cannot access each other’s data. It’s that simple. This is to make sure that only the client or any user he/she permits can access his data. This is how salesforce keeps its user’s data secure while sharing a common database.

So this was about metadata.

Next, let us understand the API services.

APIs facilitates connectivity and data communication between different devices and applications. Sometimes developers need some more functionalities for their application to make some changes. Now, To make these changes, salesforce provides you with a powerful source of API’s. you can use these API’s to make modifications in your Salesforce application and also call API to retrieve data from other systems. Salesforce offers multiple kinds of APIs such as soap API, rest API, bulk Api, metadata api and many more. So this was about Salesforce Architecture. I hope it was helpful.

Check out our Salesforce Training in Hyderabad, which comes with instructor-led live training and real life project experience. Feel free to leave any questions you have in the comment box below.