Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

lambda-app tests run from EC2 instance

Benchmarks eth_call response times between two endpoints (pointing 2 different clusters), running multiple iterations to produce p50/p95/p99 latency stats.

Setup

1. Install Node.js

# Amazon Linux / EC2
sudo dnf install -y nodejs

2. Install dependencies

# Clone the repo (creates the folder automatically)
git clone https://github.com/ella-quicknode/lambda-app.git
cd lambda-app

# Install dotenv (npm doesn't need init first for a single package)
npm install dotenv

3. Configure environment

Create a .env file in this directory:

nano .env
# Add below variables
# qn_eth_mainnet=https://... 
# qn_eth_mainnet_2=https://...

Run

cd into the lambda-app directory, run this:

node local_test.js

Results are printed as ASCII bar charts and saved to results/test-<timestamp>.json.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages