Is EPiServer threadsafe?
Asked Answered
E

3

5

I can't find any information about this on either www.episerver.com or world.episerver.com, anyone knows?

Ebb answered 9/10, 2008 at 7:8 Comment(0)
A
6

thread safe is a nebulous concept. In this particular case, if you are sharing data between different requests, it is not. Otherwise by the nature of web requests it is.

Alleyn answered 9/10, 2008 at 8:47 Comment(0)
P
9

From what I've seen Episerver uses two mechanisms to achieve thread-safety:

  • Locking (when initializing expensive resources)
  • Immutable data (when passing page data around)
Petit answered 10/10, 2008 at 7:10 Comment(1)
I also like how EPiServer handles database deadlocksVania
A
6

thread safe is a nebulous concept. In this particular case, if you are sharing data between different requests, it is not. Otherwise by the nature of web requests it is.

Alleyn answered 9/10, 2008 at 8:47 Comment(0)
R
0

Yes, per definition it is thread safe because it runs under a web service that uses threads to execute (so it has to be thread safe otherwise it is a bug, and there has been o few of those bugs – but no one reported for CMS R2 what I can see in the bug list).

Rainwater answered 15/5, 2009 at 7:15 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.