Skip to content

u/yellowtiegames

In this archive from Apr 2018 to Apr 2020

13
posts
10
comments
8
media
53
score
2 saved before deletion

Top posts

Protecting UDP server

I'm building a multiplayer game and I'm going to use AWS or Google Cloud service to host the servers. I was wondering if anyone had some experience with how to protect a UDP server against packets flood or other attacks that can effect the game server. I'm asking about UDP because with TCP I saw a f...

6 points4 comments
Open on Reddit

Top comments

I'm afraid a single instance per server will be a waste of good hardware. Because each room has 50 players I'm sure a modern server can handle multiple rooms and when I need to scale it up I can add a root server that will just forward the messages based on the room, just like you said. I'm not sure if there is an issue hardware wise to listen to multiple ports instead of one. Each server instance (a different process) listens on a different port.

2 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.