We will not
talk about the stranger's syndrome , but simply say that we have launched a small project,
talk to me ,
ru , a very frank clone of the English-speaking service
omegle.com .
The service allows you to communicate with one randomly selected site visitor anonymously one-on-one. And most importantly! We have
cookies sound notification of messages :)
What for?
Indeed, why create another resource if there is
omegle.com and
Russian-language clones appeared? Me and
DMS got interested in making a clone. Just repeat an interesting idea, taking advantage of new technologies. When the desire appeared, there were no clones yet, it inspired hope to be the first, but ...

In general, this could have been done by invoking a habra effect on the heads of the hard drives and network interfaces of the server, but we decided to talk a little about the insides of the service. So:
The technical side of the service
The heart of the system is the
STOMP protocol and message delivery server. I will explain the picture:

')
- From clients using the STOMP protocol over HTTP (implemented by the js library bundled with orbited) messages are sent to the Orbited server, which is a bridge between the http and tcp protocols.
- Orbited proxies STOMP messages to any AMQP broker that has a STOMP interface.
An AMQP broker is such a server that is designed to guarantee the delivery of messages of any format to customers. Ideal for tasks chat, IM, etc.
This architecture allows you to exclude a relational database from the messaging process, which reduces resource intensity and increases reliability. The client JS library provided with
Orbited allows you to create
comet connections to the server and implements IRC, XMPP and STOMP protocols out of the box.
We do not yet know the loads that our system can withstand, so we cannot be sure for stability during habraeffect :)
So
welcome . Chat started, greet buddy.