Skip to content
Discussion options

You must be logged in to vote

Hi neither the graph nor the checkpointer keep any internal state so using one global instance or a new one per request makes no difference. What id definitely recommend doing is ensuring you create a global connection pool for postgres and use that to get a connection to pass to the checkpointer on each request. That will ensure connections are reused, which saves latency

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@gmyrianthous
Comment options

Answer selected by nfcampos
Comment options

You must be logged in to vote
2 replies
@sudo-god
Comment options

@gbaian10
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants