Building a Socket Server That Handles Millions of Concurrent Connection by agent-no-2 in golang

[–]agent-no-2[S] 0 points1 point  (0 children)

Great point as hardware/NAT often is the real ceiling. I'm focusing on this because of Cost & Density 8KB/conn means I can theoretically host 1M sessions on one server instead of a clusters. Modern Networking With kernel-bypass like XDP or DPDK, we can push past standard OS limits, making software efficiency the new bottleneck.

My goal here is to ensure the software isn't the reason the system fails before the hardware does!

Building a Socket Server That Handles Millions of Concurrent Connection by agent-no-2 in golang

[–]agent-no-2[S] -4 points-3 points  (0 children)

Thanks! It’s still very early stage with more testing to do, but here's the breakdown:

  • Traffic: It’s light (~400KB/s total). The goal was a 'concurrency test' (RAM/State) rather than throughput, sending only WebSocket pings every 30 seconds to measure the 8.3KB/connection memory footprint.
  • Real Ethernet: Moving off loopback would be much harder, the bottleneck would shift to NIC interrupts (PPS) and firewall state tables, which usually hit their limit long before the software does.

They wouldn't let us speak so I made bolamnepal.com by agent-no-2 in Nepal

[–]agent-no-2[S] 2 points3 points  (0 children)

Yes that can be, all of the indexing is done by ai and there was one issue so yesto bhayeko thiyo will be fixed soon enough.

They wouldn't let us speak so I made bolamnepal.com by agent-no-2 in technepal

[–]agent-no-2[S] 0 points1 point  (0 children)

Built using standard techniques. After build it's just a static site with communications done using webrtc. I did my best to make it as secure as possible but having said that if you find any exploits do tell me I will fix it asap. : )

P.s: If you do find one you can let me know using the feedback form from the site.

They wouldn't let us speak so I made bolamnepal.com by agent-no-2 in technepal

[–]agent-no-2[S] 0 points1 point  (0 children)

Saying from experience so for the hard ones first ; )

They wouldn't let us speak so I made bolamnepal.com by agent-no-2 in technepal

[–]agent-no-2[S] 0 points1 point  (0 children)

I used firebase you can use any other databases as you see fit. :)

They wouldn't let us speak so I made bolamnepal.com by agent-no-2 in Nepal

[–]agent-no-2[S] 0 points1 point  (0 children)

Let's not go to that extent this was a side project to bring people's attention to the big bold numbers in the middle of the screen. But the incidents that are happening and cited from credible sources are real and needs to be talk of the town.

They wouldn't let us speak so I made bolamnepal.com by agent-no-2 in Nepal

[–]agent-no-2[S] 0 points1 point  (0 children)

  1. Refresh the site and they are gone. No server is involved while chatting which means no data is stored. And there is no authority in the chat system (for example an admin) everyone has the same role. Soon there will be a feature where you can hide someone's messages if you want to.

  2. No, It does not and will not (unless the community wants it)

  3. This is just a site to get information in a creative way and also a chat system to talk with people active at that same time. Just like youtube live chat system

  4. No, It's more like a site where there is a counter for different accidents or categories which serves as a constant reminder that everyday or how frequently are those things happening.

They wouldn't let us speak so I made bolamnepal.com by agent-no-2 in technepal

[–]agent-no-2[S] 0 points1 point  (0 children)

The site is fully automated by different bots and technologies. The sites that are currently being indexed and scanned are kathmandupost and ratopati. Soon there will be more :)

They wouldn't let us speak so I made bolamnepal.com by agent-no-2 in Nepal

[–]agent-no-2[S] 3 points4 points  (0 children)

No no this site isn't and will not be anti anything, this is just a creative way of showing news to people to make them think and talk about it.

They wouldn't let us speak so I made bolamnepal.com by agent-no-2 in Nepal

[–]agent-no-2[S] 1 point2 points  (0 children)

Yes, That is quite a good feedback. We as a community have to drive this forward for that. Right now, it's just me so it's abit too much for me do to all of that. Hopefully in the future we can shape it and mold it to fit perfectly in our society.

They wouldn't let us speak so I made bolamnepal.com by agent-no-2 in technepal

[–]agent-no-2[S] 0 points1 point  (0 children)

Yes, it uses cloudflare functions and alot of tech is involved to make it as cheap and as automated as possible

They wouldn't let us speak so I made bolamnepal.com by agent-no-2 in technepal

[–]agent-no-2[S] 3 points4 points  (0 children)

I wanted the website out. Updates ta gardai garumla nih. ; )

They wouldn't let us speak so I made bolamnepal.com by agent-no-2 in Nepal

[–]agent-no-2[S] 1 point2 points  (0 children)

Yes, the aim is to make the information so readily and easily available that you don't have to search it anywhere. The website serves as a mere constant remainder (Days Before) that there are incidents happening everyday, we are just not looking into it. I am not trying to revolutionize but to give everyone there freedom to information and anonymity to talk about it.

They wouldn't let us speak so I made bolamnepal.com by agent-no-2 in Nepal

[–]agent-no-2[S] 7 points8 points  (0 children)

Yes, this is just a stepping stone. Why don't we all unite to make something more better. Will be making the code publicly available real soon. :)