Hey all! <For the custom remote evaluation endpoin...
# ask-questions
a
Hey all! For the custom remote evaluation endpoint, do we really need to use this npm package
@growthbook/proxy-eval
? I was wondering if we could develop it using another tech stack such as Kotlin/Java
f
Hi @adorable-balloon-99556 good morning To better understand your query, please could you share a bit more about your usecase for wanting a custom remote evaluation backend in Kotlin/JVM instead of using GrowthBook Proxy or the existing options? Are there any specific constraints or operational reasons?
a
We are currently interested in Remote Evaluation. We have some clients such as apps and frontends and we need to hide data our experiments might have. GrowthBook Proxy is great but it comes along with other concerns such as deployment, monitoring and maintaining (we are self-hosting GrowthBook). A custom remote evaluation endpoint might be easier for us right now. We have the app and the infrastructure ready to go. We'd just need to develop the endpoint.
f
Super, thank you for the context Sid, will cross check with the team on the solution here and will have an update for you later 🙏
a
Thank you Natasha. I appreciate!
f
My absolute pleasure to assist 🌻
♥️ 1
From the client SDK's perspective,
/api/eval/:key
is the primary endpoint used during Remote Evaluation, where user attributes are sent and evaluated feature values are returned. However, on the backend, we periodically fetch the feature payload from`/api/features/sdk-abc123` too
a
Yeah yeah. The GrowthBook Proxy requests the GrowthBook Server at
/api/features/*
. I'd like to know which endpoints will be requested by the GrowthBook SDK to the GrowthBook Proxy thus we can configure our Internet Facing layer with those endpoints appropriately
I just figured out the SDK may request
/sub/{clientKey}
when talking to a GrowthBook Proxy rather than GrowthBook Server: https://github.com/growthbook/growthbook/blob/eb3b428f4906d365fb235708d0dab9f3da522195/docs/docs/lib/build-your-own.mdx#server-sent-events