Questions tagged [isolation]

258 questions
0
votes
2 answers

Rancher Unable to connect Cluster Ip from another project

I'm using rancher 2.3.5 on centos 7.6 in my cluster the "project Network isolation" is enable. I have 2 projects: In the projet 1, I have deployed one apache docker that listens to port 80 on cluster IP [enter image description network isolation…
Stephguen
  • 1
  • 1
0
votes
0 answers

How do i explain that a procedure is concurrently processed will not corrupt a database?

I have a procedure that will be concurrently processed with the following operations: Procedure: W(A) W(B) R(C) C + 1; W(C) I was tasked to choose between READ COMMITTED or SERIALIZABLE isolation level. How do I explain that this procedure will…
0
votes
0 answers

Restrict Python system calls to virtualenv or directory

Is there any simple way to restrict Python system calls (os.system, subprocess, ...) to a given folder/tree? A possible use case would be, a shared webserver, where the users/students can upload their i.e. Bottle APPs to run via wsgi/uwsgi and nginx…
0
votes
0 answers

Database: isolate data by column

One database. N tables. In each table we have column (ex. "user"). ~1000 users. We have to isolate data for each user from another users. How to do it? The most common solution is use queries like SELECT * FROM TABLE_NAME WHERE USER = 3. But the…
Mateil
  • 1
0
votes
1 answer

What concurrency issues can this PostgreSQL code create?

Ok so here's the schema, which is pretty self-explanatory: STORE(storeID, name, city) PRODUCT(productID, name, brand) PRODUCT_FOR_SALE(productID, storeID, price) I have 2 transactions: T1 and T2. T1 raises by 5% the price for any product sold in…
0
votes
0 answers

How to start a process as a different user with session id not equal to 0?

I'm trying to start a process as a different user. This process starts a pdf converter, with session id equal to 0. It has a problem.. it stops randomly! Maybe because of some calculation or a Gui problem of this converter? We can't even change…
0
votes
1 answer

IIS Process Vs Container Process

I am trying to understand what is the difference between Docker Container Process and IIS Process? From Container perspective, it is not advisable to have more than one process in a single container and in IIS also you can not do that. Each…
Mohit Jain
  • 61
  • 1
  • 6
0
votes
0 answers

How Docker / Container / Isolation can make the programs to run faster?

Recently, I discovered docker containers. Could someone please explain the performance difference in running a program on the host compared to running in a container? Also, what does "programs run faster" mean in terms of better performance and…
Akhil Surapuram
  • 654
  • 1
  • 8
  • 22
0
votes
0 answers

Memory isolation (multiple instantiation) of static/global variables

I use a third party class with some static members: class TheirClass{ //from metadata static TheirType TheirProp } I use instances of that class in my code class MyWorkLoad { TheirClass theInstance } But I require separate context /…
F.I.V
  • 317
  • 1
  • 14
0
votes
1 answer

How do I use an API of a windows service?

I've got a big windows service application. It performs actions on a time bound basis. Sometimes I need to be able to use some of it's functionality in isolation from the rest of the application. Currently I've got a battery of 'unit tests' which…
Anish Patel
  • 705
  • 3
  • 8
  • 19
0
votes
1 answer

Is Redshift/S3 Data co-mingled?

I am working on moving our business needs into the cloud, namely using AWS Simple Storage Service and Amazon Redshift. Because we are working with sensitive data we have some client concerns to consider. One question we will have to answer is…
0
votes
0 answers

Chroot for multiple SFTP clients in golang

I use Golang as SFTP server for my application and I would like to isolate my clients with a different root directory. This application allows multiple client connection but I would like to serve custom root directory for each clients (for better…
0
votes
1 answer

MySQL isolation levels in nodejs. Is each query in connection isolated or each pool isolated?

My current isolation level for MySQL is tx_transaction = REPEATABLE-READ for each session. So when I run the below code in different terminals the transactions are serially executed, meaning before the commit of the first transaction, the second…
forJ
  • 4,309
  • 6
  • 34
  • 60
0
votes
0 answers

Isolate external php code in Laravel

I need to integrate Slider Revolution editor into my Laravel (5.5) app. I've put the editor in public/revslider/ folder to be able to use the visual editor. I also created a helper class to "communicate" with it and be able to use it inside my…
Gacek
  • 10,184
  • 9
  • 54
  • 87
0
votes
2 answers

How do you isolate nested dependencies in PHP?

I have three files, foo.php, bar.php, and baz.php, each include'd by the next, as follows: foo.php '...', 'missileB' => '...', 'missileC' =>…
TheEnvironmentalist
  • 2,694
  • 2
  • 19
  • 46