cancel
Showing results for 
Search instead for 
Did you mean: 

Webscript Node read-write issue

swapnilkamthe
Champ in-the-making
Champ in-the-making
I have added some custom properties to node using aspect and updating the same using javascript based webscript.
so this property that I have is just counter that i am incrementing on each wescript request.

I want to know is there any possibility of read-write issues across simultaneous requests..
3 REPLIES 3

kaynezhang
World-Class Innovator
World-Class Innovator
I'm sorry I am not clear about what you mean .
what do you mean by read-write issue?

I mean to say, if there are simultaneous requests to webscript, which reads & updates node properties, will this lead to dirty read & write operation. Or is node modification thread-safe

kaynezhang
World-Class Innovator
World-Class Innovator
By default there are no class level fields in webscript(also of course in javascript based webscript),so webscripts are all thread safe.
You can use it at ease.