Closed jnshi closed 9 years ago
Thanks =)
On second thought, the event-based architecture is maybe not such a good idea. It relies on non-blocking IO to work, with events that fire upon completion of reads/writes. Java does have a non-blocking IO library, but the library is more complicated.
Decided to revert to simple thread-based.
For @AMarcedone, following up on conversations from earlier today: http://berb.github.io/diploma-thesis/original/042_serverarch.html
Right now our server looks kind of like a Staged Event-driven Architecture with one thread-based stage (the one responsible for reading and parsing Requests) and one event-based stage (the one responsible for actioning those Requests).