Questions tagged [isolation]

258 questions
5
votes
7 answers

Thread isolation in Java

Is there any sure-fire way to ensure threads remain isolated from one another, in Java? I've had an issue for a week and a half, where threads implementing various 3rd party source code keep colliding due to static variables and other such things…
Monster
  • 1,573
  • 6
  • 23
  • 35
5
votes
3 answers

ShimNotSupportedException in MS VisualStudio 2012

I'm just trying to get familiar with the new Fakes Isolation Framework in Visual Studio 2012 RC but I'm consequently facing issues with ShimNotSupportedExceptions. At the first tries, each single shim method I tried to hook up a delegate to, had…
Ben Sch
  • 2,909
  • 4
  • 20
  • 23
4
votes
2 answers

repeatable read and second lost updates issue

With repeatable read isolation level, it is still possible to lose updates (second lost updates problem). E.g. in the scenario with isolation level set to RR: 1) transaction t1 reads data from row r1, 2) transaction t2 reads same data from row…
shrini1000
  • 7,038
  • 12
  • 59
  • 99
4
votes
4 answers

Isolation in PHP?

Here's something I've thought about for a while. I am creating an application where's my users will upload their own custom themes, which means that there's going to be a good opportunity for anyone with basic PHP/XSS/whatever skills to cause a lot…
Industrial
  • 41,400
  • 69
  • 194
  • 289
4
votes
2 answers

VMware Player 12 option "guest isolation" missing

I have a host (Windows 10) running VMware Player 12.5.4. I created a VM Guest (Windows 7) and also installed the VMware Tools on that. However the option "guest isolation" is not showing up in the VM preferences. Drag and Drop works but I want to…
saesch_coder
  • 67
  • 1
  • 1
  • 4
4
votes
1 answer

Does Linux support memory isolation for processes?

In more detail, the question is: without root permission, is it possible for a process to read (not only write) the memory of another process? (eg. by somehow reading /proc/gcore or /proc/[PID]/mem. I'm not sure their permission requirements yet.) I…
zzy
  • 751
  • 1
  • 13
  • 25
4
votes
1 answer

JavaScript sandboxing: hide global variables from a given scope

I want to create an HTML+JS environment where user can enter and run arbitrary JavaScript code which will be executed in context of given jail object. I've set up a playground to illustrate what I have so far. This one does a somewhat decent…
GreyCat
  • 16,622
  • 18
  • 74
  • 112
4
votes
1 answer

How to use Microsoft Fakes to isolate a web service without using Dependency Injection

I am testing a web service client and need to isolate the call to the web service. I have already been told that we can not use dependency injection. How can I isolate the webservice so that I can test the business logic that calls that service. …
4
votes
2 answers

migration to JBoss 5.1 - Failed to create a new SAX parser

I am trying to deploy my application (packed in .war file) that work properly on JBoss 4.2.3 to JBoss 5.1 (using java 5). Currently during deployment time I see in the server.log the error: ... Caused by: …
GyRo
  • 2,586
  • 5
  • 30
  • 38
4
votes
3 answers

Mysql InnoDB row locking from read

I have read mysql documentation and maybe I just don't understand it all. What I'm looking for is the row locking from reading for other sessions. While the row is locked I would like the other sessions to wait until the lock is released. I don't…
DarkSideOfTheMoon83
  • 702
  • 1
  • 8
  • 17
3
votes
3 answers

Speed Increase by Using the Global Assembly Cache

If I had a 1000 asp.net websites each with 30 DLL's in their /bin folders. Therefore 30,000 DLL's. Would the websites / web server / machine run faster if I registered one set of the DLL's into the Global Assembly Cache and each site used the DLL's…
Robs
  • 8,219
  • 6
  • 41
  • 57
3
votes
1 answer

Typemock vs Moq

I have heard/read a little about both of these frameworks and have decided I want to use of of the two. Which is better? Why? Thanks in advance! Oshiwoshydopaliscious
price
  • 43
  • 1
  • 6
3
votes
2 answers

SQLite: select results affected by subsequent insert

I am developing an application in which I am iterating over many (1,000,000+) rows in a table while inserting new rows and updating existing rows along the way. It is a requirement that the select statement yields every row in the table (those that…
millerdev
  • 10,011
  • 2
  • 31
  • 27
3
votes
1 answer

How to get Client IP Address in Dotnet-Isolated Azure Functions?

I'm writing a function in .NetCore 6.0 (C#) using Azure Functions Isolation and need to get the ip address of the client. Is there any way to get Client IP address from the HttpRequestData OR FunctionContext object? …
Sumit patel
  • 3,807
  • 9
  • 34
  • 61
3
votes
1 answer

What is the macOS alternative to namespaces(7) in Linux or jails in FreeBSD?

When I was using Linux I used to use Linux namespaces: https://man7.org/linux/man-pages/man7/namespaces.7.html Also on FreeBSD, there are jails: https://www.freebsd.org/cgi/man.cgi?jail I was wondering what the alternative was on macOS 12? I'm new…
Cromulent
  • 3,788
  • 4
  • 31
  • 41
1 2
3
17 18