Back

[SOLVED] How I could load test an appwrite instance (including realtime)

  • 0
  • Self Hosted
D5
4 Sep, 2023, 21:45

Okay, thanks!

TL;DR
User is looking for advice on load testing an appwrite instance, including real-time testing. They mention considering using Pocketbase but ultimately chose Appwrite for its community, support, security, and features. They mention having about 100-170 users at peak and want to know the capabilities of their instance for handling such amount of users. Solution: The user is advised to consider factors like request size and amount of updates performed, and potentially make OS modifications. The user expresses interest in conducting a load test and mentions a specific article about a 32CPU machine handling 1 million concurrent connections vertically. The user receives thanks and intends to test it
D5
4 Sep, 2023, 21:45

Will test this tomorrow

Binyamin
4 Sep, 2023, 21:45

πŸ‘

greends
14 Nov, 2023, 16:35

Hey there, Does that article indicate a 32CPU machine can handle 1Million-ish concurrent connections? I mean vertically, on a single machine?

D5
14 Nov, 2023, 17:16

Yes, but with 128Gb RAM

D5
14 Nov, 2023, 17:16

And some OS modifications

D5
14 Nov, 2023, 17:16

To "override" limitations

D5
14 Nov, 2023, 17:18

We're talking of a specific environment so It will differ depending on several factors, in other words, it's an approximation

D5
14 Nov, 2023, 17:18

For example, how big is each request, amount of updates performed, etc

greends
14 Nov, 2023, 17:18

it's ok... our new project targets maximum 200K professionals. this machine is smiling to me πŸ˜„

D5
14 Nov, 2023, 17:19

Are you sure you need that?

greends
14 Nov, 2023, 17:20

not now, of course. I mean, if the project goes successful

greends
14 Nov, 2023, 17:20

so by slow increments

D5
14 Nov, 2023, 17:21

Then yes, have in mind usually it's not needed having a big server because you will not have (for example) 200 users simultaneously

greends
14 Nov, 2023, 17:21

that's even better

D5
14 Nov, 2023, 17:23

In peak, about 100 or 170 in the best case. I had an app where I had about 3k users a day and the machine I had (2 cores 2gb ram) handled it perfectly because it peaked only up to 40 simultaneous users (realtime connections)

D5
14 Nov, 2023, 17:23

I wanted the benchmark in this post to have an idea of my instance capabilities for such amount of users

greends
14 Nov, 2023, 17:25

I was keen on using the new and shiny pocketbase until the last minute, but after seeing Appwrite's 1 million post I was like who's going to scale pocketbase? I wonder how horizontal scaling goes with Appwrite though

greends
14 Nov, 2023, 17:26

though yeah, nobody's having 10K concurrent connections soon

D5
14 Nov, 2023, 17:26

Pocketbase seems to be scalable too, since it uses postgres under the hood, but in my case I have chosen Appwrite due to it's community, support, security and features...

D5
14 Nov, 2023, 17:28

Sincerely before launching my latest 2 apps (one of them an enterprise one) I made an exhaustive research and at least in my case, Appwrite fits better (that doesn't means it will fit for everyone thought πŸ˜… )

D5
14 Nov, 2023, 17:29

[SOLVED] How I could load test an appwrite instance (including realtime)

greends
14 Nov, 2023, 17:30

I can hve multiple projects on appwrite, with pocketbase I need to set up my nginx if I want a valid certificate or intall it on another vps blablabla

D5
14 Nov, 2023, 17:31

Yes, appwrite is almost one click, mainly with digitalocean or akamai

D5
14 Nov, 2023, 17:31

Thtat's a good advantage too

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more