WARNING: yes, i am going to be THAT guy... . . . It amazes me that "thousands" of users sending simple messages is considered impressive nowadays on a machine with a xxxxMHz CPU and at least xxxMB ram. This was being done decades ago on xxMB ram and xxxMHz. sister comment says 100MB/1K connections, 150MB for 2K, so 50KB/connection and 50MB fixed cost?!!? - Dump Javascript/Go/$RANDOM_LATEST_BUZZWORD_7 and learn how to…
Show HN: RaspChat a chat system that can handle thousands of users on basic RPi
11–20 of 22 posts
Re: Show HN: RaspChat a chat system that can handle thousands of users on basic RPi
#12WARNING: yes, i am going to be THAT guy... . . . It amazes me that "thousands" of users sending simple messages is considered impressive nowadays on a machine with a xxxxMHz CPU and at least xxxMB ram. This was being done decades ago on xxMB ram and xxxMHz. sister comment says 100MB/1K connections, 150MB for 2K, so 50KB/connection and 50MB fixed cost?!!? - Dump Javascript/Go/$RANDOM_LATEST_BUZZWORD_7 and learn how to…
The chat portion was written in Golang, so it's compiled and running on bare metal (edit: okay, PL0 or ring-3, like most software today)
Go runtime, GC, random userspace bits this is on top of
50MB!
Re: Show HN: RaspChat a chat system that can handle thousands of users on basic RPi
#13Re: Show HN: RaspChat a chat system that can handle thousands of users on basic RPi
#14WARNING: yes, i am going to be THAT guy... . . . It amazes me that "thousands" of users sending simple messages is considered impressive nowadays on a machine with a xxxxMHz CPU and at least xxxMB ram. This was being done decades ago on xxMB ram and xxxMHz. sister comment says 100MB/1K connections, 150MB for 2K, so 50KB/connection and 50MB fixed cost?!!? - Dump Javascript/Go/$RANDOM_LATEST_BUZZWORD_7 and learn how to…
Re: Show HN: RaspChat a chat system that can handle thousands of users on basic RPi
#15Re: Show HN: RaspChat a chat system that can handle thousands of users on basic RPi
#16Re: Show HN: RaspChat a chat system that can handle thousands of users on basic RPi
#17Re: Show HN: RaspChat a chat system that can handle thousands of users on basic RPi
#18Re: Show HN: RaspChat a chat system that can handle thousands of users on basic RPi
#19Earlier quoted context omitted.
50KB/connection and 50MB fixed cost?!!?
Nops nothing is fixed it's just one scenario, besides your math is wrong. 50KB/connection won't map to 2000 connections.
150MB - 100MB
------------------- = 50KB/user
2k users - 1k users
no?Re: Show HN: RaspChat a chat system that can handle thousands of users on basic RPi
#20Earlier quoted context omitted.
Nops nothing is fixed it's just one scenario, besides your math is wrong. 50KB/connection won't map to 2000 connections.
(rate of) change in memory per user 150MB - 100MB ------------------- = 50KB/user 2k users - 1k users no?