All Projects → CppComet → comet-server

CppComet / comet-server

Licence: AGPL-3.0 license
CppComet - easy to use and fast in work.

Programming Languages

javascript
184084 projects - #8 most used programming language
C++
36643 projects - #6 most used programming language
c
50402 projects - #5 most used programming language
Yacc
648 projects
CMake
9771 projects
shell
77523 projects

Projects that are alternatives of or similar to comet-server

cettia-java-server
A full-featured real-time web application framework for Java
Stars: ✭ 40 (-29.82%)
Mutual labels:  comet
CometJS
Desktop Development built up on, Javascript, HTML, CSS, Chromium and Firefox.
Stars: ✭ 12 (-78.95%)
Mutual labels:  comet
js-explorer
Find the method you need without digging through the docs, directly on the command line!
Stars: ✭ 287 (+403.51%)
Mutual labels:  javascript-api
laravel-chat
chat application build with laravel and gopusher gateway.
Stars: ✭ 32 (-43.86%)
Mutual labels:  comet
Restbed
Corvusoft's Restbed framework brings asynchronous RESTful functionality to C++14 applications.
Stars: ✭ 1,551 (+2621.05%)
Mutual labels:  comet
comet
A http long polling comet implementation for nodejs and browser
Stars: ✭ 20 (-64.91%)
Mutual labels:  comet
PAW pipeline
A Comet-based, best practices proteomics pipeline.
Stars: ✭ 22 (-61.4%)
Mutual labels:  comet
lightning-hydra-template
PyTorch Lightning + Hydra. A very user-friendly template for rapid and reproducible ML experimentation with best practices. ⚡🔥⚡
Stars: ✭ 1,905 (+3242.11%)
Mutual labels:  comet
aiosfstream
Salesforce Streaming API client for asyncio
Stars: ✭ 46 (-19.3%)
Mutual labels:  comet
React on rails
Integration of React + Webpack + Rails + rails/webpacker including server-side rendering of React, enabling a better developer experience and faster client performance.
Stars: ✭ 4,815 (+8347.37%)
Mutual labels:  javascript-api

Gitter

CppComet

Comet server is written in C++, for storing data using MySQL.

Features

Comet technology – allows sending arbitrary messages to client through server initiative

How it fast

Report about load testing of 64,000 connections online

How it works

  • Introduction to comet technology EN and RU

Documentation and examples

Documentation in Russian and English languages

  • How to build and run EN or RU
  • CometQL API documentation EN or RU (To connect to the comet server api from any server-side language is used CometQL)
  • JavaScript API documentation EN or RU (To connect to the server from JavaScript API use file from api/CometServerApi.js )

Demo

Demo access to server API

For testing CppComet without install on vps you can use free cloud service with same api. In the all examples I will use demonstration access from comet-server.com for those who could not or were too lazy to deploy the server on their vps.

For demo access use credentials:

Login: 15
Password:lPXBFPqNg3f661JcegBY0N0dPXqUBdHXqj2cHf04PZgLHxT6z55e20ozojvMRvB8
Host: app.comet-server.ru

Example of connecting to cometQL api from console using mysql-client:

mysql -h app.comet-server.ru -u15 -plPXBFPqNg3f661JcegBY0N0dPXqUBdHXqj2cHf04PZgLHxT6z55e20ozojvMRvB8 -DCometQL_v1 --skip-ssl

Simple chat demo

Simple chat demo page Simple chat demo gif

On this gif animation you see how send message to web chat from CppComet api.

We connect to CppComet by mysql protocol and send CometQL query.

For connect to demo server use this command:

mysql -h app.comet-server.ru -u15 -plPXBFPqNg3f661JcegBY0N0dPXqUBdHXqj2cHf04PZgLHxT6z55e20ozojvMRvB8 -DCometQL_v1 --skip-ssl

For send message to demo chat use this query:

INSERT INTO pipes_messages (name, event, message)VALUES("web_MainPageChat", "", '{ "text":"My text","name":"My name"}' );

License

GNU AGPLv3

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].