Skip to content

Test Environment

burak-58 edited this page Dec 9, 2018 · 10 revisions

Test environment has two parts: test server and SUT (system under test). We have two different setups for two different SUT.

One Instance Setup

Here we have only one Ant Media Server instance as SUT.

+-------------------+                  +----------------------+
|                   |   streaming      |                      |
|                   |   playing        |                      |
|                   | <--------------> |                      |
|    Test Server    |                  |   Ant Media Server   |
|                   |                  |                      |
|                   | <--------------> |                      |
|                   |    rest          |                      |
+-------------------+                  +----------------------+

Preparation of Setup:

  • To prepare Ant Media Server, please look at here.
  • To prepare Test Server, please look at here.

Cluster Setup

Here we have a cluster structure as SUT which contains one origin and N edge servers.

                                       +--------------------+
                                       |                    |
                                       |                    |
                                       |  Ant Media Server  |
                            +--------->+                    |
                            |          |     (Origin)       |
+-----------+               |          |                    |
|           |    streaming  |          |                    |
|           +---------------+          +--------------------+
|           |
|Test Server| playing +------------------------------------------------+
|           +<--------+                                                |
|           |         |             Load Balancer                      |
|           +---------+                                                |
+-----------+   rest  +--+------------+---------------------+----------+
                         |            |                     |
                         |            |                     |
                         |            |                     |
                         |            |                     |
                         |            |                     |
           +-------------+--+  +------+---------+     +-----+----------+
           |                |  |                |     |                |
           |                |  |                |     |                |
           |Ant Media Server|  |Ant Media Server| ... |Ant Media Server|
           |                |  |                |     |                |
           |   (Edge-1)     |  |   (Edge-2)     |     |   (Edge-N)     |
           |                |  |                |     |                |
           |                |  |                |     |                |
           +----------------+  +----------------+     +----------------+

Preparation of Setup:

  • To prepare Cluster, please look at here.
  • If you want to use HAProxy as load balancer, please look at here.
  • To prepare Test Server, please look at here.
Clone this wiki locally
You can’t perform that action at this time.