creating a client
Opened this issue · 2 comments
scottywm commented
When creating a client to query the solana blockchain as below, can I create a new client for each request coming into my server or should I create just the one client and reuse it?
c := client.NewClient(rpc.MainnetRPCEndpoint)
What method is best?
scottywm commented
this is not a team who are trained with your library, i dont know why you referred me there.
yihau commented
It depends. The main point is the http client. I'll say you can do whatever you want before you encounter a performance issue.