You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clients per second: 1650
Duration: 60 seconds
Method: GET
Protocol: HTTP
Host: http://ec2-54-153-17-136.us-west-1.compute.amazonaws.com
Path: /overview/%{*:1-10000000}
GET Reviews
Clients per second: 835
Duration: 60 seconds
Method: GET
Protocol: HTTP
Host: http://ec2-54-153-17-136.us-west-1.compute.amazonaws.com
Path: /overview/ratings/%{*:1-10000000}
Results
GET Restaurants
Response Times:
Average: 83 ms
Min/Max: 64 / 403 ms
Response Counts:
Success: 98814
Timeout: 0
400/500: 0 / 0
Network: 0
Bandwidth:
Sent 15.00 MB
Received 343.30 MB
Redirects:
Valid: 0
Invalid: 0
Error Rate: 0.0%
GET Reviews
Response Times:
Average: 93 ms
Min/Max: 68 / 1096 ms
Response Counts:
Success: 50100
Timeout: 0
400/500: 0 / 0
Network: 0
Bandwidth:
Sent 7.97 MB
Received 80.84 MB
Redirects:
Valid: 0
Invalid: 0
Error Rate: 0.0%
New Relic
GET Restaurants
Error Rate: 0.00%
Throughput: 81.1k
Latency: 196 ms per request
GET Reviews
Error Rate: 0.00%
Throughput: 43.6k
Latency: 149 ms per request
Server.js
require('newrelic');constexpress=require('express');// const morgan = require('morgan');constpath=require('path');constproxy=require('http-proxy-middleware')ss();constport=80app.get('/loaderio-xxxxx',(req,res)=>{res.send('loaderio-xxxxx')})app.use(express.static(path.join(__dirname,'public')));app.use('/overview',proxy({target: 'http://ec2-54-183-204-115.us-west-1.compute.amazonaws.com/'}));app.use('/api/photos',proxy({target: 'http://ec2-52-15-166-74.us-east-2.compute.amazonaws.com/'}));app.use('/api/reserve',proxy({target: 'http://ec2-18-223-125-61.us-east-2.compute.amazonaws.com/'}));app.use('/menu',proxy({target: 'http://ec2-54-86-231-192.compute-1.amazonaws.com/'}));app.use('/:id',express.static(path.join(__dirname,'public')));app.listen(port,()=>{console.log(`Listening to server at http://localhost:${port}`);})