corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » CHAT'S BACK!


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author CHAT'S BACK!
ed
Member

Registered: 10th Sep 03
User status: Offline
29th Nov 10 at 21:03   View User's Profile U2U Member Reply With Quote

But it's here

http://chat.joke.st/
RichR
Premium Member

Avatar

Registered: 17th Oct 01
Location: Waterhouses, Staffordshire
User status: Offline
29th Nov 10 at 21:07   View Garage View User's Profile U2U Member Reply With Quote

is it working goes to a login page then seems to stall
Steve
Premium Member

Avatar

Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
29th Nov 10 at 21:08   View Garage View User's Profile U2U Member Reply With Quote

dont work
ed
Member

Registered: 10th Sep 03
User status: Offline
29th Nov 10 at 21:08   View User's Profile U2U Member Reply With Quote

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
29th Nov 10 at 21:09   View User's Profile U2U Member Reply With Quote

I seem to be able to get into chat
RichR
Premium Member

Avatar

Registered: 17th Oct 01
Location: Waterhouses, Staffordshire
User status: Offline
29th Nov 10 at 21:10   View Garage View User's Profile U2U Member Reply With Quote

quote:
Originally posted by JonnyJ
I seem to be able to get into chat
Dom
Member

Registered: 13th Sep 03
User status: Offline
29th Nov 10 at 21:12   View User's Profile U2U Member Reply With Quote

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
29th Nov 10 at 21:13   View User's Profile U2U Member Reply With Quote

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
29th Nov 10 at 21:13   View User's Profile U2U Member Reply With Quote

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

Avatar

Registered: 17th Oct 01
Location: Waterhouses, Staffordshire
User status: Offline
29th Nov 10 at 21:16   View Garage View User's Profile U2U Member Reply With Quote

what does it matter - Chat's back.........
Dom
Member

Registered: 13th Sep 03
User status: Offline
29th Nov 10 at 21:17   View User's Profile U2U Member Reply With Quote

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
29th Nov 10 at 21:17   View User's Profile U2U Member Reply With Quote

I'll try and find a better chat.
Dom
Member

Registered: 13th Sep 03
User status: Offline
29th Nov 10 at 21:23   View User's Profile U2U Member Reply With Quote

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

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Online
29th Nov 10 at 21:25   View Garage View User's Profile U2U Member Reply With Quote

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
29th Nov 10 at 21:25   View User's Profile U2U Member Reply With Quote

Too many people are off key here.
Dom
Member

Registered: 13th Sep 03
User status: Offline
29th Nov 10 at 21:43   View User's Profile U2U Member Reply With Quote

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
29th Nov 10 at 22:51   View User's Profile U2U Member Reply With Quote

its wokin for me now
Ian
Site Administrator

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Online
29th Nov 10 at 22:58   View Garage View User's Profile U2U Member Reply With Quote

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.

 
New Topic

New Poll

Corsa Sport » Message Board » Off Day » CHAT'S BACK! 23 database queries in 0.0122781 seconds