Project

General

Profile

Is HTTP API Web component scaleable?

Kulshreshth Dhiman
Added over 4 years ago

Hi,

Like tigase server can support thousands of user and is scaleable, does the same thing hold for HTTP API as well? I need to run large HTTP api calls using groovy scripts for my project.

Thanks


Replies (2)

Added by Wojciech Kapcia TigaseTeam over 4 years ago

What do you mean exactly by 'scalable'?

Performance of the HTTP API will vary greatly depending on the handlers and actions they perform (database access, dependance on other components, etc.).

While we haven't run any extensive load test for HTTP API component, given that it's based on Tigase Component API it's possible to deploy it as external component (1...n) and then use round robin DNS load balancing to scale it.

Avatar?id=6023&size=32x32

Added by Artur Hefczyc TigaseTeam over 4 years ago

If the Tigase is run in a cluster mode, then you can have HTTP API component on each cluster node. In such a case they run pretty much independently. Of course if they all call to the same DB, the performance might be affected, otherwise you can execute HTTP API calls on all cluster nodes concurrently and scalability should be close to linear.

    (1-2/2)