Questions tagged [queueing]

57 questions
0
votes
0 answers

Determining the Fraction of Time there is More than x People in Line using the Queueing Library in R

I am using the queueing library in R to run a basic M/M/Q steady-state queueing model. I have the following code. library(queueing) fit <- QueueingModel(NewInput.MM1(lambda = 5, mu = 10)) summary(fit) fit$Lq(3) # no good I want to know what is…
324
  • 702
  • 8
  • 28
0
votes
0 answers

Queueing requests from Spring boot RestController?

I have a situation where I need to sequentially execute the requests, one at a time. For some reason, I need to select and update one at a time. (think of it as an I need to return the very unique number per request). Req1 --> …
jlc488
  • 1,051
  • 1
  • 8
  • 10
0
votes
1 answer

How to build the simplest simulation in Python using Simpy?

I have been trying to make this simulation using Simpy, but I just can't figure out how it works. If you have any tips on how to learn it from example code (starting at the bottom and going up through functions, or the other way around?), or any…
0
votes
0 answers

Oracle streams_pool_size

Environment: Oracle 12.2 64-bit EE under Linux. SGA_TARGET and STREAMS_POOL_SIZE are both equal to 0. SGA_MAX_SIZE = 180G. If I don't trust amount of memory, automatically allocated by Oracle internal system process, what value can I confidently…
0
votes
1 answer

Oracle dbms_aq.dequeue

Good day, respective all! Environment: Oracle 18c XE 64-bit under Windows. I have a simple point-to-point queue. Queue persitent. Single consumer. Can you tell me: In what moment exactly dequeuing messages must be removed from a queue? In my…
0
votes
0 answers

Oracle AQ dequeuing an array

Good day, respective all! Environment: Oracle 18XE 64-bit for Windows. I have a question about dequeueing an array of messages from persistent queue. It’s a simple point-to-point messaging. Queue is “single_consumer”, without propagation. I…
0
votes
1 answer

JBeret Queueing Mechanism

I'm receiving a bunch of csv files (e.g. 200) at once which I want to read and process one after the other with a JBeret job. How would I configure JBeret to achieve that? Is there some sort of queueing mechanism? Thanks in advance.
dilino
  • 97
  • 1
  • 3
  • 8
0
votes
1 answer

Checking Users in a Queue: Algorithm for managing Priority?

Let's say I have a large set of users in a queue that I query each user against a rate-limited API periodically. Once all users have been queried, the process is restarted. The rate limit is applied such that I cannot check all users within a…
Kevin Pei
  • 268
  • 1
  • 3
  • 12
0
votes
2 answers

localscroll jQuery plugin - animation queueing problem

I'm using the popular jQuery scrollTo / localScroll plugin to create a single page navigation system that automatically scrolls the window to various anchor tags. I have it working no problem, but am having trouble preventing it from queueing…
Mr_Beagle
  • 73
  • 1
  • 1
  • 7
0
votes
0 answers

How to consume messages one by one during consumer.received event handler gets the message via RabbitMQ?

In the code below, _model.BasicConsume is called before the messages received via consumer.received event gets the message. So it clears all the queue items from the event is triggered and then later event is triggered asynchronously. How can I make…
Kara Kartal
  • 249
  • 1
  • 2
  • 8
0
votes
1 answer

RenegeIn other trajectory R (simmer package)

I'm new in R. I'm trying to simulate queueing with simmer. I want to enable Renege from "Typhon" to "Tornado". BUT my code creates a new trajectory to "Tornado" and what I need is just one "Torando" trajectory. (see picture below). My question is…
Omri
  • 673
  • 4
  • 9
  • 25
0
votes
1 answer

queueing package R -> M/M/c queue: how to model machine-repair queueing system, but only allow #servers down-events?

M/M/c allows for modeling of c servers (in my case: repair men). Via lambda (arrival rate) I generate the arrival of events (in my case: failures that are triggered by some machines). This means that the max. number of failures-events in the system…
0
votes
1 answer

R Simmer: "no arrival running" errors when specifying a non-standard routing algorithm

Consider the system and routing algorithm specified below: Image of the system. Let us first define some attributes which will be useful in the simulation: library(simmer) library(parallel) library(simmer.plot) ############################# d<-…
anon
0
votes
1 answer

R Simmer - "Number of keys and values don't match"

I am trying to simulate a JSQ(d) (join-shortest-queue of d sampled queues) system but am having trouble executing my code. In this case, let us assume d=2. I wish to have job size determined upon arrival (the value of "X") as well as the selection…
BayesIsBaye
  • 115
  • 1
  • 6
0
votes
0 answers

Queuing functions so they fire synchronously

I have an application which controls some stepper motors using a propriety DLL. I am finding I occasionally get errors where it seems as though the functions I am using to communicate with the controllers are firing too close together and not…
MJ2507
  • 113
  • 1
  • 12