JCR Sessions and multi threading

Avatar

Avatar

jakej40603950

Avatar

jakej40603950

jakej40603950

12-03-2020

As per this document, when dealing with multiple threads we'd have to create one session for each thread:

 

https://cqdump.wordpress.com/2013/11/25/cq-development-anti-pattern-single-session-multiple-threads/

 

Does this still apply with the latest JackRabbit Oak used in 6.3 and above?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

910

Correct Answer

1.0K

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

910

Correct Answer

1.0K
Jörg_Hoh
Employee

13-03-2020

Yes, this still applies.

Answers (2)

Answers (2)

Avatar

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

910

Correct Answer

1.0K

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

910

Correct Answer

1.0K
Jörg_Hoh
Employee

13-03-2020

Yes, that's still true.

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

999

Correct Answer

829

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

999

Correct Answer

829
Arun_Patidar
MVP

12-03-2020