Skip to content

Feedback / suggestions / comments welcome! #56

Open

Description

@ysawa0
No description provided.

Activity

  1. owenville commented on Jun 20, 2019

    @owenville

    I've got a use case that Shadowreader would be delightful for: load testing resources through an AWS API Gateway, by mirroring traffic from one stage to another stage.

    We have two resource "lanes", each receiving traffic from the same API Gateway endpoint via Stages (one stage per lane.) The primary stage typically routes traffic to the primary lane, but occasionally we route primary stage traffic to the secondary lane while updating the primary lane.

    We'd get value out of mirroring primary stage traffic to the secondary stage in (near) real time, such as testing resized/updated resources in the secondary lane with real production traffic and observing the relative performance in (near) real time.

  2. ysawa0 commented on Jun 27, 2019

    @ysawa0
    ContributorAuthor

    I have looked into this a bit before and I believe it should be possible as API Gateway access logs can now be sent to CloudWatch:

    https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-logging.html

    One note is that there would need to be a process (Lambda) to tail the CW logs and ship them to S3 so that ShadowReader can parse and replay them.

  3. dskrvk commented on Oct 1, 2019

    @dskrvk

    I went through the documentation, and looks like this only works for GET requests with no body. My team would like to use this for an API that uses different HTTP verbs, some of which have bodies. I know ELB doesn't capture request body, so this might require a different approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions