+ Start a Discussion
sfdc_syedsfdc_syed 

Why governor limits are required in salseforce?

Hi All,.

 

Normally  in dot net are java there is no limits but coming to salesforce it should have governor limits so Why governor limits are required in salesforce and what is the reason.Kindly let me know any one.

 

Thanks

Navatar_DbSupNavatar_DbSup

Hi,

 

For understanding Requirement of governor limits in salesforce follow the below link

 

http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_gov_limits.htm

 

Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved. 

metaforcemetaforce

This is what the documentation says:

 

Because Apex runs in a multitenant environment, the Apex runtime engine strictly enforces a number of limits to ensure that runaway Apex does not monopolize shared resources. If some Apex code ever exceeds a limit, the associated governor issues a runtime exception that cannot be handled.

Nitin B 2Nitin B 2
Hi,

Reason Why Java and Dot net doesn't have Governer LImits but Salesforce Has

Because Java and Dot net are not Cloud Based Technologies. In Java and Dot net you have an exclusive server. But in Salesforce everything for everybody is on Cloud. That means the database is not in your personal machine but on the cloud. So to allow everybody to avail the space in cloud Salesforce.com has to enfore Governer Limits.

What is Multitenancy

Multitenancy is the fundamental technology that clouds use to share IT resources cost-efficiently and securely. Just like in an apartment building—in which many tenants cost-efficiently share the common infrastructure of the building but have walls and doors that give them privacy from other tenants—a cloud uses multitenancy technology to share IT resources securely among multiple applications and tenants (businesses, organizations, etc.) that use the cloud. Some clouds use virtualization-based architectures to isolate tenants; others use custom software architectures to get the job done.

The multitenant design of a cloud service can have a dramatic impact on the application delivery and productivity of an IT organization, yet most CIOs, CTOs, system architects, and developers who use clouds don’t give it a second thought because it’s all magic that transparently happens behind the scenes. This paper presents an “under the hood” look at the unique underlying design of core Salesforce Platform technology, Force.com.

Thanks