Hi team, very excited about your 2.3 launch! May ...
# announcements
m
Hi team, very excited about your 2.3 launch! May I know with the newly launched fastly powered real-time streaming, how would the server-sent events calls be counted towards the 10M per month API request limit? Previously we only had
<https://cdn.growthbook.io/api/features/sdk-xxx>
, which is understandably counted as consuming 1 token per request. Are
<https://cdn.growthbook.io/sub/sdk-xxx>
also counted as 1 token per request? If that’s the case, is there a way for us to control how often a reconnection happens? Cuz it seems the SDK will make a new connection every ~70 seconds. Or if these reconnections are all counted as 0 usages? 🙏
@fresh-football-47124 could you help clarify how are API requests counted wrt server-sent events?
f
Hi Blake
I can check with the team, but I believe server send events do not count as API requests
m
Thank you. Are there any plans to eventually charge them though? To my understanding, Fastly’s SSE usage is billed by no. of messages (low in GrowthBook’s case since feature definition change is at a relatively low cadence), and client connection minutes (this can blow up if tens of thousands of browsers are open at the same time). These will soon become expensive for your business. So… Would the SSE portion eventually move to a pay-per-minute usage model? Or would it be counted in the existing API usage? As much as I like it, I don’t think SSE will remain free forever? 😄