Platform

Developers

Resources

Pricing

Server-Side Testing

Server-side testing refers to the process of testing the server components of an application. This includes testing the server's performance, security, load handling, and more. It's an essential part of ensuring that an application is robust, secure, and capable of handling real-world usage.

Some key terms and concepts related to server-side testing:

  • User Identifier: This is a unique identifier that can be used to assign users to a test group in a deterministic manner, also known as 'traffic splitting'. This identifier should persist across pages and visits.

  • Statsig SDK: This is a software development kit provided by Statsig. It needs to be initialized with a fresh 'config' to reflect up-to-date experiment rules configured in the Statsig Console.

  • Test Group and Parameters: The Statsig SDK is used to get the assigned test group and its parameters. These parameters are then used to generate and serve the proper experience to the user.

  • Edge: This is the server nearest to the viewer. Code can be run at the "Edge" to manipulate the incoming request prior to the Cache lookup.

  • Cache: This is a server that stores static assets like content, web pages, media, etc. These servers are designed to deliver static assets with low latency.

  • Colocated: This term refers to services located in the same network. Colocated services can call each other with minimal latency since requests don’t travel across the public internet.

  • Origin: This is the server that the cache is working for. It's usually a web/application server that generates and serves content based on the path a visitor navigates to and other contextual information.

  • Cache-hit ratio: This refers to the frequency with which the cache serves content.

For example, when running an experiment, you might use the user identifier to assign users to different test groups. You would then use the Statsig SDK to initialize the experiment and get the assigned test group and its parameters. The assigned group and parameters would then be used to generate and serve the appropriate experience to the user.

In terms of server-side testing, you might test how well the server handles traffic splitting, how effectively the cache serves content, and how well the server performs when running code at the "Edge".

Join the #1 Community for Product Experimentation

Connect with like-minded product leaders, data scientists, and engineers to share the latest in product experimentation.

Try Statsig Today

Get started for free. Add your whole team!

What builders love about us

OpenAI OpenAI
Brex Brex
Notion Notion
SoundCloud SoundCloud
Ancestry Ancestry
At OpenAI, we want to iterate as fast as possible. Statsig enables us to grow, scale, and learn efficiently. Integrating experimentation with product analytics and feature flagging has been crucial for quickly understanding and addressing our users' top priorities.
OpenAI
Dave Cummings
Engineering Manager, ChatGPT
Brex's mission is to help businesses move fast. Statsig is now helping our engineers move fast. It has been a game changer to automate the manual lift typical to running experiments and has helped product teams ship the right features to their users quickly.
Brex
Karandeep Anand
President
At Notion, we're continuously learning what our users value and want every team to run experiments to learn more. It’s also critical to maintain speed as a habit. Statsig's experimentation platform enables both this speed and learning for us.
Notion
Mengying Li
Data Science Manager
We evaluated Optimizely, LaunchDarkly, Split, and Eppo, but ultimately selected Statsig due to its comprehensive end-to-end integration. We wanted a complete solution rather than a partial one, including everything from the stats engine to data ingestion.
SoundCloud
Don Browning
SVP, Data & Platform Engineering
We only had so many analysts. Statsig provided the necessary tools to remove the bottleneck. I know that we are able to impact our key business metrics in a positive way with Statsig. We are definitely heading in the right direction with Statsig.
Ancestry
Partha Sarathi
Director of Engineering
We use cookies to ensure you get the best experience on our website.
Privacy Policy