Monthly Archives: December 2018

Deployment Tools in Salesforce

A typical development process requires building, testing, and staging before releasing to a production environment. During this development cycle, one might migrate many times, either to keep development organizations in sync or to move changes through development organizations toward production and this is what we call Salesforce deployment.

Salesforce deployment is the migration of metadata from one Salesforce organization to another. If you are looking to enhance your Salesforce DevOps (Continuous Integration and Continuous Deployments) practices, this blog could get you started with the basics.

There are number of deployment tools available each having its own pros and cons. Some of them are listed below:

Continue reading
Posted in salesforce development. Tagged with , , , , .

Is Race Condition a myth in Salesforce?

Since the introduction of the concept of multithreading in apex salesforce, there has been a drastic change in the way we code. Now multiple threads run in parallel, hence many tasks can be performed at the same time.

Salesforce too adhered to this concept taking a step forward in its endeavor and provided a multi-threaded environment.

But everything has its pros and cons and so did parallelism. Though it completely changed the way programs are executed but brought with it a new concurrency bug what we call as a race condition.

When does multithreading in apex salesforce actually occur?

Race condition occurs when two thread operates on the same object without proper synchronization and their operation interleaves on each other.

Continue reading
Posted in Salesforce. Tagged with , , .