Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Backend for web chat?

Name: Anonymous 2012-11-23 18:37

I need a backend for a web chat feature. I don't have a powerful server to run it on so I'm trying to squeeze as much juice as possible from my 1.5Ghz single core 512MB instance.

At first I thought I would just write a simple polling solution but it turns out there is this thing called comet (reverse-ajax) that in general is more efficient, so I was looking into that and I couldn't find much information.

I'm now thinking of simply installing an IRC server and just writing an AJAX IRC client (although I'm sure there are many other projects too chose from already).

Why does /prog/ think? Am I heading in the right direction?

Name: Anonymous 2012-11-23 18:40

Personally, I don't see what's wrong with the polling server.

You could also buy grove.io from Leah.

Name: Anonymous 2012-11-23 19:40

socket.io + whatever socket.io backend for your language of choice

Name: Anonymous 2012-11-23 19:42

>>3
Fuck off, corner rounder.

Name: Anonymous 2012-11-23 19:43


        });
    });
});

Name: Anonymous 2012-11-23 19:48

>>4
What other language do you expect for a web browser? And then what other websocket/AJAX/Comet/whatever library do you suggest?

Name: Anonymous 2012-11-23 20:03

Name: Anonymous 2012-11-23 20:33

>>6
http://jonathanscorner.com/ajax/

And developing a desktop application, instead of cloudy web 2.0 bullshite.

Name: Anonymous 2012-11-23 21:11

>>7
Only works on ancient versions of Internet Explorer.

Name: Anonymous 2012-11-23 21:35

>>9
/backplate getgoes/

Name: Anonymous 2012-11-23 22:58

We solved the problem over 20 years ago. It's called IRC.

Name: Anonymous 2012-11-24 6:11

>>8
500 Internal Server Error

Name: Anonymous 2012-11-24 6:39

This is a solved problem. There are free web interfaces to IRC. http://kiwiirc.com/docs/development/docs

Name: Anonymous 2012-11-24 7:23

>>11,13

Would the gentlemen be so kind as to refer me to a nice lightweight IRCd?

Name: Anonymous 2012-11-24 9:17

>>14
inspircd is the only modern codebase. All other ircds are forks of forks of forks of 20-year-old terrible shitty norwegian student code.
Not exactly lightweight, but well... modular.

Name: Anonymous 2012-11-24 9:45

>>14
grove.io

Don't change these.
Name: Email:
Entire Thread Thread List