advice for connection handling in aws lambda #73
-
I have 2 questions
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @chifi49, a. Yes that is safe and the recommended way. PlanetScale can handle 10's of thousands of connections. You don't need to worry about hitting a connection limit. b. They are valid for 7 days. Caching for 1 day would work great. Also, we're working on another method of connection which won't require the API call. Will be available soon. |
Beta Was this translation helpful? Give feedback.
Hi @chifi49,
a. Yes that is safe and the recommended way. PlanetScale can handle 10's of thousands of connections. You don't need to worry about hitting a connection limit.
b. They are valid for 7 days. Caching for 1 day would work great. Also, we're working on another method of connection which won't require the API call. Will be available soon.