Skip to content

Should the Langfuse classs initialization be cached (does it do any I/O on init?) ? #4046

Answered by marcklingen
shner-elmo asked this question in Support
Discussion options

You must be logged in to vote

It just initializes the class and spawns a background process which handles the queue of events that need to be send to langfuse. Thus this will have some (minor) cpu/memory footprint which can be noticed when creating many instances in parallel.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@shner-elmo
Comment options

@marcklingen
Comment options

Answer selected by shner-elmo
@shner-elmo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants