- Initialize schema:
$ psql $POSTGRES_CONNECTION_URL < schema.sql
-
Deploy Lambda with API Gateway in
insert-user
folder. -
Run jmeter ( change the HTTP Url to above) :
$ jmeter -n -t db-test.jmx -l results.jtl
A cloudformation template for deploying pgBouncer on free EC2 (t2.micro) is given at: pgbouncer-ec2-cloudformation.json