PDQ Version 6.2.0 Released
[This article was first published on The Pith of Performance, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
PDQ (Pretty Damn Quick) is a FOSS performance analysis tool based on the paradigm of queueing models that can be programmed natively in Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
This minor release is now available for download.
If you’re new to PDQ, here’s a simple queueing model written R that you can paste directly into an RStudio console or script window:
# A simple M/M/1 queueing model in R-PDQ.
require(pdq)
# input parameters
arrivalRate <- 0.75
serviceRate <- 1.0
## Build and solve the PDQ model
Init("Single queue model") # Initialize PDQ
CreateOpen("Work", arrivalRate) # Create workload
CreateNode("Server", CEN, FCFS) # Def single server
SetDemand("Server", "Work", 1/serviceRate) # Def service time
Solve(CANON) # Solve the model
Report() # Formatted output
Also, check out the relevant books and training classes.
To leave a comment for the author, please follow the link and comment on their blog: The Pith of Performance.
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
