JackieChiles/Cinch

Migrate to using real web app framework for server

Closed this issue · 5 comments

The current web server, while delightful, is not cutting it. Random instabilities and code bloat make tracing errors problematic. Recommend an experimental branch be formed for the purpose of migrating to a real web framework, such as Twisted.

High priority. Feedback requested.

What all would need to be changed, and what can we reuse from the existing code base? I ask because I am a small child and know nothing.

The web server modules would be replaced, almost completely, as whatever
framework we use should have Comet built-in. Anything that communicates
with the web server directly (not through HTTP) would need to be changed,
probably to send all messages to a central message queue for the new web
server to query, so it wouldn't be much of change to those elements; I'd
need to study how Twisted (or any real web server) works.

CherryPy looks promising too. I think the point is that we need something
that handles message passing between clients and the game engine --
well. The BaseHTTPServer builtin is not proving to be a great fit
with a Comet-style approach. Also, using an established webkit would shift
possible sources of goofy error away from the web interface; considering
the complexity of web_server, that's a good thing.

On Wed, Nov 14, 2012 at 8:18 PM, mrpoodlepants notifications@github.comwrote:

What all would need to be changed, and what can we reuse from the existing
code base? I ask because I am a small child and know nothing.


Reply to this email directly or view it on GitHubhttps://github.com//issues/105#issuecomment-10393802.

Okay. I'm messing around with CherryPy in a separate branch. Once I get actual code written, i'll push it back up here for public score/ridicule. @JackieChiles What's your schedule look like this week? You'll need to pop into a cybercafe for a late-night Cinch meeting. MOLTO BENE

I'll try to stop by the Ravenholm Exports office here in Rome to get some
work done, but no guarantees. For real though, I probably won't be able to
get anything done until next weekend...

On Sat, Nov 17, 2012 at 5:20 PM, mrpoodlepants notifications@github.comwrote:

Okay. I'm messing around with CherryPy in a separate branch. Once I get
actual code written, i'll push it back up here for public score/ridicule.
@JackieChiles https://github.com/JackieChiles What's your schedule look
like this week? You'll need to pop into a cybercafe for a late-night Cinch
meeting. MOLTO BENE


Reply to this email directly or view it on GitHubhttps://github.com//issues/105#issuecomment-10475718.

Closed by 3f2bdd4.