[DiscordArchive] my network stronk?
[DiscordArchive] my network stronk?
Archived author: Tea • Posted: 2024-07-15T20:31:59.853000+00:00
Original source
my network stronk?
Archived author: robinsch • Posted: 2024-07-15T20:32:11.982000+00:00
Original source
network, DB, configs, loggers
Archived author: Tea • Posted: 2024-07-15T20:32:33.584000+00:00
Original source
db is... eh... passable
Archived author: robinsch • Posted: 2024-07-15T20:32:46.949000+00:00
Original source
it was really easy, just get the network packets implemented and you are golden
Archived author: Tea • Posted: 2024-07-15T20:32:50.873000+00:00
Original source
its fast but not very user friendly for result access
Archived author: robinsch • Posted: 2024-07-15T20:33:03.324000+00:00
Original source
but also Warhammer is written very similar client side to wow
Archived author: Takenbacon • Posted: 2024-07-15T20:33:50.561000+00:00
Original source
Can confirm with some minor changes
Archived author: Takenbacon • Posted: 2024-07-15T20:34:34.231000+00:00
Original source
But this comes down to making it quite a bit more memory hungry so...tradeoffs
Archived author: Takenbacon • Posted: 2024-07-15T20:36:32.570000+00:00
Original source
Two preallocated send buffers. One on session one on network socket. Every network update acquires a quick lock to swap the two. Then network just works off that buffer while session continues. Eliminates most locking and allocations
Archived author: Takenbacon • Posted: 2024-07-15T20:42:46.423000+00:00
Original source
Actually if I recall right it wasn't a fully preallocated buffer. It was dynamic up to a certain hard cap and automatically resize its self after a while