Author Archives: Vipul Goyal

Vipul Goyal

Working as a Salesforce Engineer on AI and ML projects at Mirketa.

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 , , .

Salesforce Machine Learning with Python

Machine Learning and Artificial Intelligence are considered as an integral part of future technologies.

Artificial Intelligence is an area focused on developing intelligent machines that work and react like humans. To achieve this Artificial Intelligence considers all the traits that can help achieve the feat, these traits include perception, learning, and planning. Salesforce Machine learning on the other hand focuses on development of programs in such a way that systems can access data and use it to learn for themselves Artificial Intelligence focuses on making machines smart i.e. react as the situation demands whereas machine learning is based on providing machines access to data, making them learn themselves which makes their decisions learned rather than smart. Continue reading

Posted in Artificial Intelligence, Machine Learning. Tagged with , , , .