Questions tagged [chat]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
2 answers
348 views

Real time chat at scale

I have been looking at different solutions for large scale chatting solutions. I feel as if I understand 90 % of it but am turning to this forum to tie the knot. I imagine running a bunch of message ...
user avatar
  • 119
1 vote
0 answers
37 views

What's the best strategy for using dialogflow in a framework for building bots in which each user can build their own bots?

I'm considering building a feature in a customer service application that allows users to build their own chatbots and use them to respond to customer input. I've worked with Dialogflow in the past, ...
user avatar
  • 119
0 votes
1 answer
379 views

Go (Golang) efficient logic processing in a chat system

In order to build a messaging app, I have followed this example : https://github.com/gorilla/websocket/tree/master/examples/chat This consists of a Hub, running in a single goroutine in the program, ...
user avatar
1 vote
1 answer
250 views

Instant Messaging with WebSocket

I am trying to develop an Instant messenger using WebSocket. I have multiple instances of my servers running (say server1 , server2). Two users(say userA , userB) who wants to chat with each other. ...
user avatar
  • 149
7 votes
1 answer
2k views

How is caching used within messaging apps?

I'm actually studying about web development. I was just asking why a lot of web apps and chats(Whatsapp, Telegram, Discord, and a lot, a lot more!) are using cache. I mean, after learning cache ...
user avatar
0 votes
2 answers
94 views

How should I dynamically retrieve data depending on the size of the user's browser window?

I'm developing a chat module for my employer, and one of the requirements is that I "get enough backlog to fill the screen" when opening the room, instead of always limiting it to a specific number ...
user avatar
  • 1,027
0 votes
1 answer
85 views

Server load/capacity based on data structure

Using PHP, I created a chatbox, and I used an unorthodox way of storing chat messages in MySQL. The tbl_chat_messages has the following columns: id | sender_id | receiver_id | message | date The ...
user avatar
6 votes
2 answers
10k views

System Design: Scalable Chat Server

Suppose you were asked to design a scalable chat server with the following requirements: The main use case is: player A sees B online, A sends a message to B, B receives it. The secondary use case is:...
user avatar
1 vote
2 answers
3k views

The best way to create a PHP chat system

I'm into creating a php based web chatting system. About 1000 concurrent users across the world will be using it, so what would be the best tech to deploy? As I did some research online, mainly I ...
user avatar
  • 147
2 votes
0 answers
2k views

OOP - Modeling a Chat Design Review [closed]

Seeking thoughts on the following design. I know the design could be lot simpler if use Sockets. But I wanted to think of a design with pure POJO classes. User string id; string displayname; ...
user avatar
  • 123
1 vote
2 answers
7k views

How does the communication between a chat server and client work?

(Socket programming newbie here...) So, for learning purposes I've just started developing a chat server and client in Python, and I was wondering how it is usually implemented. When someone ...
user avatar
2 votes
1 answer
121 views

How to create a re-usable, command based messaging system

I am having trouble writing a simple command based system for a chatroom. I want users to be able to do chat actions such as /j myChatRoom or /join myChatRoom /w user12 Hello or /whisper user12 ...
user avatar
  • 777
5 votes
1 answer
3k views

Does the issue of battery life for constant polling warrant the extra logic/time to implement a solution with websockets?

I am in the process of designing a chat application with cordova for android devices. I have been researching and have come to the conclusion that there are two ways to go about this that could work. ...
user avatar
0 votes
2 answers
3k views

Ideal way of updating app's views when data changes [closed]

Okay this is not platform specific question. But any answer related to iOS,Android or Windows Phone will help. So I am building a chat application (yes another one) but I am really confused about how ...
user avatar
  • 103
1 vote
3 answers
1k views

Chat-service database design

I have an android/desktop application that I'm now releasing on the web and, as there are some social aspects, I thought of adding a chat-service so users can IM as well. For this chat service, I want ...
user avatar
9 votes
1 answer
12k views

Architecture for a mobile (Android) chat application

I want to develop a chat application that reminds a bit whatsapp, I am doing it as a learning project. I am currently doing it on Android just because I am doing an Android course. The requirements ...
user avatar
1 vote
1 answer
3k views

Erlang chat app design?

I have a chat app made in node/socket.io. Scalability factors have made us choose Erlang/Ejabberd/xmpp and it will replace node/socket. I have a few questions: Currently using MySql for chat ...
user avatar
0 votes
2 answers
1k views

Push response to the user for which the request is created in Asp.Net (Chat Server)

I am working on a Chat Server Application in Asp.Net with C#. Suppose there are 5 users online say User A,B,C,D,E. Suppose A sends a message in chatbox to user B, so how the chatbox (Textbox/Textarea ...
user avatar
2 votes
3 answers
4k views

High traffic chat - how to check if there is new message and show it for all users

I already had question about this but obviously it was not accepted very well, apparently too long when it's actually more information so you could have given me better answer. Ok, I will be much ...
user avatar
3 votes
5 answers
2k views

Legitimate use for IRC bots [closed]

I recently saw a question on SE about how to do such and such when creating an IRC bot. The only use of IRC bots I was familiar with was message flooding and spamming. I did a Google search for the ...
user avatar
  • 331
4 votes
1 answer
309 views

AJAX IRCX Client and Server

I am currently developing an IRCX AJAX Chat Based system and have a few questions regarding the Server and Client implementation. Any suggestions are welcome: Server: Should this be implemented as a ...
user avatar
  • 153
4 votes
5 answers
8k views

Is database based chat room bad idea?

Most of simple "group chat" systems are based on local file storage logs (e.g. log.txt ). I'm developing a simple group chat (under 20 users simultaneity ) with jQuery/AJAX. So basically, client-...
user avatar
  • 149
1 vote
1 answer
2k views

Understanding how audio/video chat works in the iPhone SDK

I am really looking forward on creating a chat application which features basic implementation of text chatting, as well as advanced features of audio/video chatting. I have clearly understood how to ...
user avatar
  • 113
4 votes
5 answers
16k views

Real-time chat in Ruby on Rails without owning a server [closed]

I'd want to implement a Real-time chat for my Rails app but I can't really host the server which handles the sockets. I've tried Faye but it needs a server. I've also heard of pusher but it's limited ...
user avatar
  • 389