Questions tagged [isolation]

258 questions
7
votes
4 answers

Should separation between API and Implementation be total?

Separation between API design and their implementation is often recommended in large software implementations. But somewhere, they have to be reconnected (i.e., the implementation has to be reconnected to the API). The following example shows an API…
Jérôme Verstrynge
  • 57,710
  • 92
  • 283
  • 453
7
votes
1 answer

TypeMock Isolator: WillThrow() bleeds across unit test boundaries?

I have two unit tests that use TypeMock Isolator to isolate and fake a method from asp.net's SqlMembershipProvider. In test 1 I have: Isolate.WhenCalled( () => Membership.CreateUser(...))) …
urig
  • 16,016
  • 26
  • 115
  • 184
7
votes
1 answer

Isolation of bulk operations in MongoDB

There's a new kind of operations in 2.6 that's called bulk operations. It resembles me transactions - user can specify a set of writes and subsequently execute them just like described below var bulk =…
madcyree
  • 1,427
  • 3
  • 15
  • 28
7
votes
2 answers

cgroups isolation (separating groups processes)

i have a question regarding cgroups, especially considering isolation. Wikipedia states, that you can use cgroups to isolate groups, so that there are "separate namespaces for groups, so they don't see each other's processes, network connections or…
6
votes
1 answer

Isolation in distributed (global) transactions using JTA

As we know Isolation and Atomicity are two different properties. Atomicity is the "all or nothing" property, either a transaction completes successfully or fails altogether. Atomicity is definetly supported by JTA and the X/Open XA Two Phase Commit…
Bat0u89
  • 610
  • 2
  • 17
  • 25
6
votes
3 answers

What is the relationship between blocking, locking, and isolation levels?

I understand a little about Oracle blocking - how updates block other updates till the transaction completes, how writers don't block readers etc. I understand the concept of pessimistic and optimisic locking, and the typical banking textbook…
Brian
  • 61
  • 2
6
votes
2 answers

iFrame isolation

Just a thought, but would using an IFRAME over a DIV essentially make that element isolated from the window in a way that slow scripts running in the IFRAME wouldn't affect the other frames/window?
Louis
  • 4,172
  • 4
  • 45
  • 62
6
votes
2 answers

N-layered database application without using an ORM, how does the UI specify what it needs of data to display?

I'm looking for pointers and information here, I'll make this CW since I suspect it has no single one correct answer. This is for C#, hence I'll make some references to Linq below. I also apologize for the long post. Let me summarize the question…
Lasse V. Karlsen
  • 380,855
  • 102
  • 628
  • 825
5
votes
3 answers

Dependency Isolation meaning

I 'm reading the 12-factor-app manifesto and I'm at the dependencies section right now. Dependency Isolation is something I cannot get my head around, though. Unfortunately no actual definition as to what that is is given, aside from that…
5
votes
1 answer

Is there a Javascript runtime in WebAssembly

I am trying to isolate user JavaScript code for security. I can do this via Iframe security and message passing. Is there a JavaScript runtime that can be loaded via webassembly to which i can pass something simple like '5+3' and read the result. If…
maxfridbe
  • 5,872
  • 10
  • 58
  • 80
5
votes
1 answer

Understanding of Isolation in Cassandra Db

As per the Cassandra docs Isolation in Cassandra provides row-level isolation. This means that a write to a row within a single partition on a single node is only visible to the client performing the operation. Now I assume that in cassandra docs by…
Yug Singh
  • 3,112
  • 5
  • 27
  • 52
5
votes
0 answers

How can I safely sandbox a pure javascript function in Node?

I'd like to be able to safely execute third party javascript inside a Node app. The code they would provide must be entirely pure, which means I can happily isolate them from anything globally available. They will need to call certain libraries but…
Dave Hunt
  • 157
  • 1
  • 8
5
votes
1 answer

What's the recommended way to run plugins with dependency dll's that have different version?

I have a WCF plugin service that loads plugins via MEF and runs them. Each plugin is a directory with multiple dll's that implements a specific interface. I load all the plugins in the same AppDomain using MEF (DirectoryCatalog) and run them in a…
Amir Popovich
  • 29,350
  • 9
  • 53
  • 99
5
votes
1 answer

How to separate webapi controllers in their own app domain?

I'm brainstorming some ideas about how to isolate web api controllers into their own "modules" that can be blended together into a single webapi application. However I'd like to isolate them and their dependencies form each other since there will…
Paul Fryer
  • 9,268
  • 14
  • 61
  • 93
5
votes
4 answers

How can i isolate Razor Views?

Is there a way to expose Razor syntax and (custom) helpers to people , but say ... not allow them to create code blocks or , to only limit them in the usage of the helpers and to not give them the power to execute pure C# code in the views ? Any…
Nikola Sivkov
  • 2,812
  • 3
  • 37
  • 63
1
2
3
17 18