Live data from Hacker News

Show HN: RaspChat a chat system that can handle thousands of users on basic RPi

beta.raspchat.com

21–22 of 22 posts

Re: Show HN: RaspChat a chat system that can handle thousands of users on basic RPi

#21
post #20

Earlier quoted context omitted.

(rate of) change in memory per user 150MB - 100MB ------------------- = 50KB/user 2k users - 1k users no?

if 0 -> 1000 users is 100MB, how can you explain 1000 -> 2000 with 150MB

Fixed cost: 50 MB

Variable Cost: 50KB/user

50 + 1000 * (0.05) => 100 MB

50 + 2000 * (0.05) => 150 MB

Pretty straightforward?

Re: Show HN: RaspChat a chat system that can handle thousands of users on basic RPi

#22
post #20

Earlier quoted context omitted.

if 0 -> 1000 users is 100MB, how can you explain 1000 -> 2000 with 150MB

Fixed cost: 50 MB Variable Cost: 50KB/user 50 + 1000 * (0.05) => 100 MB 50 + 2000 * (0.05) => 150 MB Pretty straightforward?

Well if that's the math that works for you, but I won't assume anything here. If I would have written it in C or Rust lang I would have given quoted a more deterministic memory usage. Bottom line, benchmarks just quoted numbers. Should have put up a Notice disclaimer in comment as well.
Post reply on HN