3 ms·
If you put an event bus in the middle (kinesis) your api-lambda functions don't need direct access to your RDS. Subscribe lambda functions to your kinesis strea
by mvanbaak 7y ago
If you put an event bus in the middle (kinesis) your api-lambda functions don't need direct access to your RDS.
Subscribe lambda functions to your kinesis stream, and let them handle the link to your RDS. This way you wont notice the cold starts.
- meekins 7y agoThis comment doesn't seem to make sense, could you elaborate a bit? How would you replace the database working as a persistence layer to an API application by polling an event stream?
- dabeeeenster 7y agoIt doesnt replace the DB. It just uses Kineses to be the messaging provider from the lambda to the DB and back. Not sure that's a great idea TBH but who knows?!
- scarface74 7y agoAnd then when you need to read the database?