Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Does the performance will be influenced when use in Cloudflare Workers env #2988

Closed
shiyuhang0 opened this issue May 29, 2023 · 1 comment
Labels

Comments

@shiyuhang0
Copy link

#2971 has supported the Cloudflare Workers.

I wonder if there is any performance influence when I use node-postgres on Cloudflare worker?
How does the worker handle the TCP long connection?

@shiyuhang0 shiyuhang0 changed the title [Question] Does the performance will be influenced when ues in Cloudflare Workers env [Question] Does the performance will be influenced when use in Cloudflare Workers env May 29, 2023
@brianc
Copy link
Owner

brianc commented May 31, 2023

I'm not really sure how performance is inside cloudflare...but as far as the code in node-postgres itself it should be just as performant as in any other environment as its doing the same parsing/serializing code which is where 99% of the time in the library is taken up during normal execution. @petebacondarwin might know more specifics about CF in general. I'm gonna close this but feel free to continue the discussion after the fact. 😄

@brianc brianc closed this as completed May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants