https://www.growthbook.io/ logo
#announcements
Title
# announcements
m

mammoth-notebook-98808

08/07/2023, 5:59 AM
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

fresh-football-47124

08/08/2023, 7:02 AM
Hi Blake
I can check with the team, but I believe server send events do not count as API requests
m

mammoth-notebook-98808

08/08/2023, 8:19 AM
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? 😄
14 Views