Jump to content
MakeWebGames

Recommended Posts

Posted
Ok, ive noticed a theme with you. You love JS!

Wouldnt IM be the same as a chat.

Instant messaging = chat

Yes, I love JS lol. and sorta, but there would be a main chat where everyone talks, and then a seperate thing for friends only individual chatting

Posted

I made my own chat systems... and IM feature too.

Just a word of warning: MySQL memory tables do work well, but are a bit CPU intensive, so unless you have a dedi or VPS at least don't count on it. Files for chat is even worse.

Now that will help none of you I fear: the only solution which would work well would be to have a dedicated "server" part of the chat, and let PHP connect to it, yet better, it would be even be less CPU intensive written in Java or C# than PHP.

Why do I say so? Well, I have my own game running since more than 5 years now, and one of the most used feature in the game is the chat. And until recently I was using a pure PHP / MySQL solution and now switched to a self written IRC server + C# web client (wsirc). Since the switch the CPU load on the server went down, and yet the responsiveness of the chat is much higher.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...