Questions tagged [chat]
The chat tag has no summary.
26 questions
-2
votes
1
answer
453
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 ...
-1
votes
1
answer
951
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 ...
5
votes
2
answers
3k
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 ...
1
vote
0
answers
89
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, ...
0
votes
1
answer
553
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, ...
1
vote
1
answer
332
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. ...
7
votes
1
answer
4k
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 ...
0
votes
2
answers
110
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 ...
0
votes
1
answer
110
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 ...
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: ...
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 ...
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;
...
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 ...
2
votes
1
answer
130
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 ...
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.
...