execute multiple activities in parallel PAF? - ipaf

How can I execute multiple activities in parallel PAF? Is it possible to execute multiple activities in "parallel" PAF?

Parallel execution of multiple activities is not possible in PAF.

Related

How to run multiple gremlin queries as a single transaction?

I am wondering how to execute multiple queries in one transaction in go language.

Should I make identical thread groups in JMeter to simulate simultaneous user activity?

When doing load testing in JMeter, should I make multiple identical thread groups to simulate multiple users simultaneously performing actions on my site? Or does one thread group with multiple threads/users in it suffice?
Thread Groups is designed to represent a "group" of virtual users which is "grouped" by some factor.
As per Thread Group documentation:
A Thread Group defines a pool of users that will execute a particular test case against your server.
So the answer is one thread group with multiple threads/users in it suffice
For example if you are load testing StackOverflow you will have following example groups of users:
Not authenticated users searching for answers
Authenticated users providing answers
Authenticated users asking questions
Authenticated users writing comments
New users who are signing up
Assuming above setup you will need 5 Thread Groups to represent these 5 different groups of virtual users.
Distribution of users in the same thread group is also possible via Throughput Controller or Switch Controller, see Running JMeter Samplers with Defined Percentage Probability guide for more information
we can increase number of thread/users for simulation hence there is no need to add identical threads

can I control thread group while running concurrently in Jmeter

I have 30 different db queries. I want to run 5 db queries concurrently at any given time from 30 different queries. But it should not pick already executed query.
Like if any one query completed out of 30 db queries, it has to pick next query from 30 queries.
Can we achieve the above use-case in jmeter?. Please help on this.
For executing queries concurrently use Synchronizing Timer configured as follows:
For picking up unique queries the easiest is using CSV Data Set Config

MS Project - Adding multiples of the same resources to multiple concurrent tasks

I'm currently working on a project within MS Project and have most aspects covered apart from resources. I want to add multiple versions of the same resource (in this case a generic employee) to some tasks. I also have concurrent tasks which these generic employees will also be working on but I don't want this to count towards the total resource count. In short, I want to use the same resource multiple times each on 3 concurrent tasks which share resources. Is this possible in MS Project 2013?
Here's the context which will hopefully help: I'm currently working on a project to set up a conference. I have around 10 employees who are each on the same wage ($ per hour). I have 3 tasks running concurrently during the conference as follows ; Hand out brochures to patrons, Enforce rules and regulations and Be on hand at all times during the conference. I want the same 10 employees to work on all 3 of these tasks at once and to be paid only once for doing them all concurrently. Is there a way to specify this in MS Project? I've tried simply assigning the same employee resource object to the same task multiple times but it doesn't seem to like that. Should I just create 10 generic employees ('employee 1', 'employee 2' etc) and assign them to them all? If so, how then would you ensure that the employees are paid the same for doing all 3 tasks?
I hope I have provided enough clarification.
Thanks
Since these employees are interchangeable, set up ONE resource and set the Max Units to 10. Then assign as many of those resources as you want to each of the three concurrent tasks.

Is it possible to perform parallel nested transactions?

I've a scenario were I need to call a set of different Oracle procedures in parallel. These procedures must share the same initial context which has uncommitted transactions. I cannot commit the parent transaction under the danger of having read inconsistency between those parallel processes.
Is it possible in PL/SQL?
One thing comes to my mind: mapreduce with table functions http://blogs.oracle.com/datawarehousing/entry/mapreduce_oracle_tablefunction
I've used this in several scenarios to run things concurrently, though I'm not sure it is applicable to your problem.
You may be able to accomplish this using the DBMS_XA package, which allows you to "switch or share transactions across SQL*Plus sessions or processes using PL/SQL".
Oracle-Base has a good example of how to use the package.
(But if your goal is to use parallelism to improve performance you should use normal statement-level parallel execution instead.)
Far as I know: no.
DBMS_JOB and DBMS_SCHEDULER can be used to run Oracle procedures in parallel but they run them in their own sessions.

Resources