Questions tagged [chat]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-2 votes
1 answer
199 views

Should I update local storage every new event in a chat app? [closed]

I am building a chat app using flutter and sqflite. In the chats screen we display a list of chats, each contain name and last message. Every time a user sends a message, should I update the last ...
ialyzaafan's user avatar
-1 votes
1 answer
699 views

Chat app database architecture [closed]

I understand that chat apps are a fairly well understood and architected thing. I’m looking for some best practices advice on structuring the backend, particularly as it relates to user inboxes. One ...
aroooo's user avatar
  • 255
5 votes
2 answers
2k 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 ...
Frankster's user avatar
  • 169
1 vote
0 answers
81 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, ...
Boris's user avatar
  • 119
0 votes
1 answer
497 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, ...
BinaryVeil's user avatar
1 vote
1 answer
281 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. ...
Jeevi's user avatar
  • 159
7 votes
1 answer
3k 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 ...
DanielVip3's 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 ...
Mirrana's user avatar
  • 1,057
0 votes
1 answer
94 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 ...
Seighth Hellsing's 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:...
Maria Ines Parnisari's 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 ...
112233's 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; ...
Sudhakar's user avatar
  • 123
1 vote
2 answers
8k 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 ...
Ericson Willians's user avatar
2 votes
1 answer
122 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 ...
tones31's user avatar
  • 787
5 votes
1 answer
4k 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. ...
nullReference's user avatar
1 vote
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 ...
n00b's user avatar
  • 113
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 ...
Dylan Meeus's 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 ...
user1002065's 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 ...
HIRA THAKUR's 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 ...
Abhay Prince's 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 ...
user2633999's 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 ...
TecBrat's user avatar
  • 331
4 votes
1 answer
314 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 ...
Darren's 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-...
mr null's 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 ...
Nitish's 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 ...
Cydonia7's user avatar
  • 389