In-Memory peer to peer chat
2016-08-23
0 0 0
no vote
Other
Earn points
Translated by maninwest@Codeforge Author:Praveen Nair (NinethSense)@CodeProject
What about a chat portal which offers 100% privacy? Yes, in practice it is impossible but at least can't we manage not to store users' personal chat messages in server?
This article is an attempt to design such a chat system. I am using what ever language features coming to mind so please keep in mind that there are better and other suitable options available.
Solution Design
Requirement: A very simple chat program which allows individuals to chat each other, while not keeping their personal messages in database.
Solution: Keep the messages temperorily in an in-memory object until it is delivered to the other user or until a specific time delay, say 2 minutes is expired.
Technical Details:
Here, a static List<> is used to temperorily store messages. Bro
What about a chat portal which offers 100% privacy? Yes, in practice it is impossible but at least can't we manage not to store users' personal chat messages in server?
This article is an attempt to design such a chat system. I am using what ever language features coming to mind so please keep in mind that there are better and other suitable options available.
Solution Design
Requirement: A very simple chat program which allows individuals to chat each other, while not keeping their personal messages in database.
Solution: Keep the messages temperorily in an in-memory object until it is delivered to the other user or until a specific time delay, say 2 minutes is expired.
Technical Details:
Here, a static List<> is used to temperorily store messages. Bro
聊天
Related Source Codes
Online video chat
1
0
no vote
A professional Forumotion chat box modification
0
0
no vote
Facebook chat sniffer
0
0
no vote
Allows a standard-looking Lookup field to find Cha
0
0
no vote
Perfect World Chat
0
0
no vote
No comment