Skip to content

Instantly share code, notes, and snippets.

View hannahsohkim's full-sized avatar

Hannah Kim hannahsohkim

  • San Francisco Bay Area
View GitHub Profile
@hannahsohkim
hannahsohkim / core-db-queries.md
Last active May 1, 2019 06:13
Bandland: Database queries and sample results

PostgreSQL

  • Query time for PostgreSQL database seeded with 10 million data points.
    id    | album_id |  name  |  artist  |                 image                 |      tags       |                                         description                                          
----------+----------+--------+----------+---------------------------------------+-----------------+----------------------------------------------------------------------------------------------
 10000039 |  9999999 | Jennie | mollitia | http://lorempixel.com/640/480/animals | Gregorian Chant | Iste qui asperiores mollitia enim. Cumque blanditiis id est et quam optio veritatis nostrum.
(1 row)

Time: 15.255 ms
@hannahsohkim
hannahsohkim / service-rps.md
Last active May 1, 2019 20:51
Service RPS Details and Results

Arillery Testing & New Relic Metrics

Get Test

config:
  target: "http://localhost:3001"
  phases:
    - duration: 30
      arrivalRate: 10
 rampTo: 10