Questions tagged [elasticity]
30 questions
98
votes
12 answers
What is the difference between scalability and elasticity?
I've heard many people using both terms interchangeably. However, in my opinion there is difference between them:
SCALABILITY - ability of a software system to process higher amount of workload on its current hardware resources (scale up) or on…

Miroslav Dzhokanov
- 1,084
- 1
- 8
- 8
6
votes
5 answers
Windows Azure and dynamic elasticity
Is there a way do do dynamic elasticity in Windows Azure? If my workers begin to get overloaded, or queues start to get too full, or too many workers have no work to do, is there a way to dynamically add or remove workers through code or is that…

Ryan Elkins
- 5,731
- 13
- 41
- 67
4
votes
2 answers
Elastic Load Balancing
I am wondering if there is a way to do elastic load balancing. I have read about HAProxy but it seems I need to bring down HAProxy to reconfigure it to work with more or less machines.
To make the picture more clear: I have a cluster of web backends…

dschatz
- 1,188
- 2
- 13
- 25
3
votes
0 answers
Calculating elasticities using a mixed effects model with lmer package in R
I have data for ten grocery stores, with weekly sales for multiple products (about 1000) during 3 years.
I'm trying to calculate store level elasticity to compare between those ten stores. Let's assume that all I have as variables are store_id,…

ArtK
- 31
- 3
2
votes
1 answer
R getting rid of nested for loops
I did quite some searching on how to simplify the code for the problem below but was not successful. I assume that with some kind of apply-magic one could speed things up a little, but so far I still have my difficulties with these kind of functions…

roming
- 1,165
- 1
- 9
- 22
2
votes
1 answer
Andengine Fixtures, Gravity, Mass - permanent bouncing ball
gravity: (x=0, y=EARTH)
I want make permanent bouncing ball. For example I set it coords (200, 200), after it falls down to ground, bounces and return to the same coords as in begin (200, 200). I tried to play with density, elasticity, friction and…

Aleksandrs
- 1,488
- 1
- 14
- 34
1
vote
1 answer
What is the difference between Coefficient of Regression and Elasticity
I am studying elasticity of demand and how to get the optimal price from elasticity using regression. I have referred Rbloggers and medium blogs to understand the concepts. But still I have a doubt. Say I have a linear equation as below
Sales of…

python_interest
- 874
- 1
- 9
- 27
1
vote
1 answer
Creating a loop for linear regression
I have one data.frame with three columns, Name_of_brand,Price and Quantity. I want to calculate coefficient of linear regression with (lm) function.
Name_of_brand Price Quantitity
1. Brand 1 80 100
2. Brand 1…

j235
- 150
- 1
- 10
1
vote
1 answer
YCSB sinusoidal workload for cassandra cluster
I am using ycsb to test a visual's cassandra cluster behavior.
Is there a sinusoidal workload? I have not found such an option at Core Workloads.
I would like to increase the throughput sinusoidal and then measure latency and cache sizes of the…

Hobowpen
- 71
- 1
- 6
1
vote
1 answer
How I can remove a body elasticity? (andengine)
My character's body keeps bouncing.
body = PhysicsFactory.createCircleBody(mPhysicsWorld, this, BodyType.DynamicBody, PhysicsFactory.createFixtureDef(1, 1, 1));
mPhysicsWorld.registerPhysicsConnector(new PhysicsConnector(this, body, true,…

user1691392
- 11
- 2
1
vote
1 answer
Drag and match objects
I want to make a game which needs to drag an object (UIView class object) and intersect with an another object (UIButton) and the same time an event generates , and checks the matching of object is right or wrong.
If wrong the objects come back to…

user1073831
- 63
- 8
0
votes
1 answer
How do you use a function you have made to calculate the % effect on the output of changing the input by 1%?
If the function is nonlinear, there should be a starting value that the percentage is calculated from.
x <- -2
get_y <- function(x) {
y <- xˆ2
}
get_z <- function(x) {
z <- get_y(x) * x
}
get_result <- function(x) {
get_z(x)
}
I want to get a…

Victor Nielsen
- 443
- 2
- 14
0
votes
1 answer
How to integrate MWAA with Dynamodb
I've tried to search all over the internet a solution to integrate my environment MWAA with dynamodb. I am trying to substitute the s3 buckets to have more scale and performance on my MWAA. Can anybody help me?

Nyk Casseano
- 5
- 2
0
votes
0 answers
Joining two temp tables and making calculations within them to find price elasticity
I'm trying to calculate price elasticity in product level, where I have to find Δprice/Δvolume for elasticity calculations. We have a weekly aggregated sales data with start and end date of each week. I know this is not the optimal solution but I…

canerman
- 1
- 1
0
votes
0 answers
Elasticity estimates: creating a table with own-price elasticity of OLS and IV specification
my task is to provide a table (row = state; column = specification) of (the absolute value of) own-price elasticities for the OLS specification and my preferred IV specification of this equation: qmt =α1m +α2t +γmYmt +βpmt +εdmt
--> q_{mt}=…

emilyinr
- 1
- 1