ed
Member
Registered: 10th Sep 03
User status: Offline
|
But it's here
http://chat.joke.st/
|
RichR
Premium Member
Registered: 17th Oct 01
Location: Waterhouses, Staffordshire
User status: Offline
|
is it working goes to a login page then seems to stall
|
Steve
Premium Member
Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
|
dont work
|
ed
Member
Registered: 10th Sep 03
User status: Offline
|
Fuck knows what's going on, I can't even get on it now... I fail.
|
JonnyJ
Member
Registered: 23rd Sep 05
Location: Scotchland
User status: Offline
|
I seem to be able to get into chat
|
RichR
Premium Member
Registered: 17th Oct 01
Location: Waterhouses, Staffordshire
User status: Offline
|
quote: Originally posted by JonnyJ
I seem to be able to get into chat
|
Dom
Member
Registered: 13th Sep 03
User status: Offline
|
quote: Originally posted by ed
But it's here
http://chat.joke.st/
Takes forever to load and using a DB for queuing messages is a bit of a shite idea. Comet (ie: Reverse Ajax/HTTP Push) is a better idea.
Ed - I'd check the stats on your host/box as it's stupidly slow to load, so something isn't playing nicely.
[Edited on 29-11-2010 by Dom]
|
ed
Member
Registered: 10th Sep 03
User status: Offline
|
I just kicked my server, none of the sites hosted on it were working but now they are.
|
ed
Member
Registered: 10th Sep 03
User status: Offline
|
quote: Originally posted by Dom
quote: Originally posted by ed
But it's here
http://chat.joke.st/
Takes forever to load and using a DB for queuing messages is a bit of a shite idea. Comet (ie: Reverse Ajax/HTTP Push) is a better idea.
I'm sorry. I just whacked on the first thing I found
|
RichR
Premium Member
Registered: 17th Oct 01
Location: Waterhouses, Staffordshire
User status: Offline
|
what does it matter - Chat's back.........
|
Dom
Member
Registered: 13th Sep 03
User status: Offline
|
quote: Originally posted by LiVe LeE
what does it matter - Chat's back.........
Funnily enough it is
|
ed
Member
Registered: 10th Sep 03
User status: Offline
|
I'll try and find a better chat.
|
Dom
Member
Registered: 13th Sep 03
User status: Offline
|
quote: Originally posted by ed
I'll try and find a better chat.
If you have access to the box then Nginx (webserver) + HTTP Push module (will need to compile it). Been pissing around with it for a client, works well for 'push' chat/notification style apps. Plus Nginx is pretty decent at handling static content (and PHP if you use fastcgi).
|
Ian
Site Administrator
Registered: 28th Aug 99
Location: Liverpool
User status: Offline
|
I was just going to do frequent AJAX polls, probably more simple to code.
Never played with HTTP push but got complete access to the box.
|
Ojc
Member
Registered: 14th Nov 00
Location: Reading: Drives : Clio 197
User status: Offline
|
Too many people are off key here.
|
Dom
Member
Registered: 13th Sep 03
User status: Offline
|
quote: Originally posted by Ian
I was just going to do frequent AJAX polls, probably more simple to code.
Never played with HTTP push but got complete access to the box.
This is the module, has an example on the right side of a basic chat - http://pushmodule.slact.net.
As said, it's a module for Nginx so either you run Nginx on another port or you replace Apache for it. Although i've yet to personally run Nginx on an external facing production server (Wordpress and a load of other use it for their webserver though). But Nginx does appear to work well and i've yet to notice any performance issues compared to Apache, even for PHP scripts.
Tomcat is another option, looked into it briefy but couldn't get it to run correctly.
Ian - Polling is probably the easiest option tbh. What were you going to do for the backend? Message queue in a DB?
|
stu_c
Member
Registered: 11th Dec 07
Location: Westleigh, Greater Manchester
User status: Offline
|
its wokin for me now
|
Ian
Site Administrator
Registered: 28th Aug 99
Location: Liverpool
User status: Offline
|
Would probably run the other web server and bind it to a different port, switching from Apache would be a rather larger job.
Hadn't really thought any further than that, just timestamped messages and sync the requests, possibly get a user id in there and write something so you don't see duplicates if that isn't too expensive.
|