Project Metacube Devlog

Saturday, August 12, 2006

Day 4

Back to work on the project for day four. This day I've fixed up my servlet structure so it's almost functional. In a little bit more time I can get some basic ones working and make it easy to write system services that can be polled. Logins should work soon, despite there not being any world server or taskmaster to connect onward to. MetaCube's servlets aren't entirely like HTTP ones but they are based on them.

Essentially it's the same principal to receive a request from the client, spawn a servlet object that will deal with that request and push back a responce when it's done running. The main differences are that MetaCube uses binary for headers and data instead of text data like HTML does. This makes parsing faster and easier, while also conserving bandwidth. It may not seem like much, but when you have a couple hundred people coming and going a couple bytes here and there really start adding up.


Post a Comment

<< Home