Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Handling of locking issue with parallel processing

Former Member
0 Likes
1,398

Hi all,

I am using parallel processing approach for improving performance of my program.

But the issue is, i think all the sessions are running at the same time, so i am getting locking issue.

Please guide me how can we avoid this locking issue.

Regards,

Venkat

Hi all,

I am using parallel processing approach for improving performance of my program.

But the issue is, i think all the sessions are running at the same time, so i am getting locking issue.

Please guide me how can we avoid this locking issue.

Regards,

Venkat

1 REPLY 1
Read only

Former Member
0 Likes
811

Hi Venkat,

Your question is a bit general, so the answer will be too.

To avoid locking issues during parallel processing;

1. Only lock the things you need to update when you need to update them

2. Only split your processing into groups that are independent

Regards,

Nick