API requests to Stream take around 50-100ms to complete. However, now that we’re closing in on our first 1000 users, many of these requests are from outside of Europe. In fact both the US east coast and Asia are growing quickly. Latency to US east coast can easily add an additional 400ms to your response times. The numbers for the US west coast and Singapore are even worse.
Today we’re shipping the first iteration of multi-region support. We now replicate part of our infrastructure in:
- us-east-1
- ap-northeast-1
- ap-southeast-1
- eu-west-1
For apps running in the US and Asia this represents a 50-75% performance improvement.
In the coming weeks we’re making region selection configurable in the dashboard. You can already take advantage of this today by getting in touch with support@getstream.io. Simply let us know the region you would like to use and where your app’s servers are located.
We’re excited about this huge step forward in terms of performance. As our user base grows we’ll eventually replicate larger parts of our stack to further improve response times.
If your preferred region is missing from our 4 launching regions please get in touch.