Page MenuHomePhabricator

[terraform] ddb table for identity workflows in progress
ClosedPublic

Authored by varun on Feb 22 2024, 8:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, May 7, 6:05 PM
Unknown Object (File)
Tue, May 7, 6:05 PM
Unknown Object (File)
Tue, May 7, 6:04 PM
Unknown Object (File)
Apr 9 2024, 12:59 AM
Unknown Object (File)
Mar 28 2024, 7:47 PM
Unknown Object (File)
Mar 9 2024, 7:22 PM
Unknown Object (File)
Mar 5 2024, 12:55 PM
Unknown Object (File)
Mar 4 2024, 10:53 AM
Subscribers

Details

Summary

we've had some issues with sticky sessions on web. specifically, grpc-web seems to ignore the load balancer cookie, which we rely on for stickiness. we need sticky sessions because some workflows require multiple RPCs, and only the identity service node that received the first RPC will have the necessary info to handle the subsequent ones. if we write this "state" to a DynamoDB table, any node can access it, eliminating the need for stickiness altogether.

Test Plan

terraform apply works on staging

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable