Questions tagged [chat]

26 questions
9
votes
1 answer

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 are: users register with some data (phone number,…
user1002065
  • 193
  • 1
  • 1
  • 3
7
votes
1 answer

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 systems like Redis and Memcached, I was asking how…
DanielVip3
  • 83
  • 1
  • 5
6
votes
2 answers

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: player A sees B offline, A sends a message to…
5
votes
2 answers

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 servers behind a load balancer, keeping long lived…
Frankster
  • 159
  • 2
  • 10
5
votes
1 answer

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. Websockets. Using websockets the client…
nullReference
  • 295
  • 5
  • 11
4
votes
1 answer

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 Web Service or a Windows Form application? I have…
Darren
  • 153
  • 5
4
votes
5 answers

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-side code loads log from server every second. It needs…
mr null
  • 149
  • 1
  • 5
4
votes
5 answers

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

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 to 20 users at a time on the chat and I can't…
Cydonia7
  • 389
  • 1
  • 3
  • 11
3
votes
5 answers

Legitimate use for IRC bots

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 string I used as my title and was led to an article…
TecBrat
  • 331
  • 1
  • 12
2
votes
0 answers

OOP - Modeling a Chat Design Review

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; ChatWindow User user; ChatManager room; //interface to…
2
votes
1 answer

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 Hello etc I've spent a while and all I can come up with…
tones31
  • 787
  • 1
  • 5
  • 13
2
votes
3 answers

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 clearer now. Best possible logic to develop scalable…
user2633999
  • 21
  • 1
  • 3
1
vote
0 answers

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, and I know how to build and leverage a single…
Boris
  • 119
  • 1
1
vote
1 answer

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. But connected to different servers. UserA to…
Jeevi
  • 149
  • 4
1
vote
2 answers

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 found systems using ajax and jquery for chatting…
112233
  • 147
  • 1
  • 5
1
2