Questions tagged [isolation]

258 questions
0
votes
1 answer

How can I run an IHostedService separate from the WebApplication (WebApi)?

Suppose I have a number of IHostedService implementations with a ton of dependencies that no WebApi controllers do not have direct nor indirect dependencies, too. Ideally, I like it if could set up an IoC container just for the IHostedService…
softbear
  • 485
  • 6
  • 16
0
votes
1 answer

Isolation Scheduler in Apache Storm

I have defined two topology and use Isolation Scheduler in Nimbus. I have allocated below configuration to my topology. isolation.scheduler.machines: "Topology-Test1": 2 "Topology-Test2": 3 Now , I want if there is no work coming for…
0
votes
0 answers

Kubernetes Resources Grouping vs Isolation with Namespace/s

I always felt separating k8s resources with namespace is a good idea because: It isolates the apps. We can apply resource quotas for CPU or memory utilization. Namespaces can help improve performance also. RBAC/Network policy resources are locked…
Amit Thakkar
  • 687
  • 1
  • 5
  • 14
0
votes
1 answer

Spring JPA transactional to avoid concurrency read / update

Using Spring boot and JPA/hibernate , I'm looking for a solution to avoid a table record being read by another process while I'm reading then updating an entity. Isolation levels Dirty read, Nonrepeatable read and Phantom read are not so clear for…
Emmanuel BRUNET
  • 1,286
  • 3
  • 19
  • 46
0
votes
1 answer

appdomain load one com dll for multiple time and keep memory isolated

There is a COM DLL(VC6.0 ATL wizard built), I want to use appdomain's identities to impliment one process creates multiple appdomain,every one load this COM DLL and ensure everyone COM DLL to have isolated memory space。 For example AppDomain Domain1…
0
votes
1 answer

Set transaction isolation in Wildfly local datasource

I am using Wildfly 13 with a MS SQLServer database (sqljdbc driver 4.0.0) I am trying to set the transaction isolation for the connections created by Wildfly. The local datasource configuration is
0
votes
1 answer

Isolation Tree algorithm question about classification

In the part where we create the trees (iTrees) I don't understand why we are using the following classification line of code (much alike as it is in decision tree classification): def classify_data(data): label_column = data.values[:,…
0
votes
1 answer

How to set a field in a row to number of some rows in the same table without concurrency problems in postgresql?

Assume I have an schema like this: CREATE TABLE "test2" ( "id" SERIAL NOT NULL, "text" CHAR(10), PRIMARY KEY ("id") ); CREATE TABLE "test1" ( "id" SERIAL NOT NULL, "fkey" INTEGER NOT NULL, "order" INTEGER NOT NULL, …
mhk
  • 386
  • 1
  • 5
  • 18
0
votes
3 answers

How to prevent html in file:/// from accessing internet?

The background scenario is that I want to give my users a javascript which they can use to analyze their sensitive private data, and I want them to feel safe that this data will not be sent to internet. Initially, I thought I'll just distribute it…
qbolec
  • 5,374
  • 2
  • 35
  • 44
0
votes
1 answer

Access global variables and static class properties of another file, without bringing those into scope

Is there any way to include a PHP file, and be able to read what values global variables and/or class static properties would have in that file’s scope, without polluting those same global variables and static class properties in the calling…
KRyan
  • 7,308
  • 2
  • 40
  • 68
0
votes
2 answers

Node.JS: Converting tcp to stdin/stdout

Node.JS seems limited in its ability to live-update code and in its ability to automatically isolate exceptions. Both of which are practically by default in Java. One very effective way to live-update is to have a listener process that simply echos…
700 Software
  • 85,281
  • 83
  • 234
  • 341
0
votes
0 answers

Code Isolation: Windows AppContainer vs. Docker

My goal is to compile and execute a user inputted script (C# to start with but may expand to other languages) in an isolated environment to guard against malicious code. I first considered .NET AppDomains as I had some familiarity with them but…
PleasantB
  • 41
  • 5
0
votes
1 answer

Restrict azure function to outgoing requests

I need restrict my Functions in azure functionApp so they could't perform any outgoing requests(like get forecast from website, get some data from Blob storage) so it will be fully isolated. How I can do it?
0
votes
1 answer

what means sandboxing and software fault isolation exactly?

i'm really confused. is software fault isolation the same as sandboxing? or they are different? everywhere i read that sandboxing means that we can run an untrusted code without affecting other programs or host. ok but how? do they do this by…
capstonene
  • 179
  • 11
0
votes
1 answer

Blazor PWA Components Styling with css

There is this problem i have working with .net5 blazor PWA project. I have two css file. One is created by the blazor project app.css and the other css file is a css isolated file. I don't know if it is specificly css isolation problem but the issue…