|
Is it delusion or strategy
Finishing up update server real quick.
https://github.com/dusk-rs/dusk/tree.../update-server
-- edit
Done the basic functionality for the update server.
Much thanks to these threads:
https://www.rune-server.ee/runescape-development/rs-503-client-server/informative-threads/639009-550-update-protocol.html
https://www.rune-server.ee/runescape-development/rs-503-client-server/informative-threads/191916-update-protocol.html
https://github.com/dusk-rs/dusk/blob...kBinder.kt#L35
I do not think that you require that many boss loop groups. Waste of resource to spin these up. At most you need 1
https://netty.io/wiki/user-guide-for-4.x.html
NioEventLoopGroup is a multithreaded event loop that handles I/O operation. Netty provides various EventLoopGroup implementations for different kind of transports. We are implementing a server-side application in this example, and therefore two NioEventLoopGroup will be used. The first one, often called 'boss', accepts an incoming connection. The second one, often called 'worker', handles the traffic of the accepted connection once the boss accepts the connection and registers the accepted connection to the worker. How many Threads are used and how they are mapped to the created Channels depends on the EventLoopGroup implementation and may be even configurable via a constructor.
https://github.com/netty/netty/issues/8925 - Netty dev
"Anyway let me answer this one quickly... It only makes sense to use more than 1 when you bind multiple times (to different ports) or re-use it between different ServerBootStrap. Often it is good enough to just use the same group for boss and worker"
Also the pure laziness https://github.com/dusk-rs/dusk/blob...kReader.kt#L28 the logger is right here yet e.printStackTrace()
Goodluck man
Why do I have credits lmao I want nothing to do with this
This project, like any of your other projects won't even make it till the end of 2021. Your complete lack of commitment is astonishing. All of the projects you've started so far are more boilerplate and academic mastrubation rather than programming something useful.
Have you even had a few hundred players online? What I'm more curious about is if your boilerplate code server can even handle a hundred players tick based, it will most likely start lagging. Try focusing on that instead of bashing people who actually know what they're doing. I honestly think that is the best contribution you can give to this community, stick to what you know.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |