Giter Site home page Giter Site logo

myhololens / editor-ot-crdt-convergencelabs-convergence_server Goto Github PK

View Code? Open in Web Editor NEW

This project forked from convergencelabs/convergence-server

0.0 2.0 0.0 30.27 MB

The Convergence Server

Home Page: https://convergence.io

License: GNU General Public License v3.0

Scala 99.93% HTML 0.07%

editor-ot-crdt-convergencelabs-convergence_server's Introduction

Convergence Logo

Convergence Server

Build Status

The Convergence Server is the main server side component of the Convergence Realtime Collaboration Framework. Convergence enables developers to rapidly integrate realtime collaboration directly into their applications.

Issue Reporting

The core Convergence capability is composed of multiple individual projects that are released together. To simplify things, there is a central project that is used for issues, project planning, and road mapping. To report an issue please use the convergence-project repository.

Languages and Frameworks

  • Scala: The Convergence Server is developed primarily in Scala.
  • SBT: SBT is the build tool used by the Convergence Server.
  • Akka: Akka is the main development framework used by the Convergence Server. Akka provides the primary ability for multiple Convergence Servers to cluster together, providing horizontal scalability, and high availability.
  • OrientDB: Orient DB is used as the backing database.
  • Google Protocol Buffers: Protocol Buffers are used as the communications protocol for realtime collaboration over Web Sockets.

Development

The following development tools are required to build the Convergence Server:

The standard SBT tasks can be used to compile and test the server.

  • sbt compile
  • sbt test

The main entry point of the Convergence Server is the com.convergencelabs.server.ConvergenceServer class. This is a good place to start if you are new to the code base.

Binary Distribution

The Convergence Server uses the SBT Native Packager to build its binary distribution. To stage the build run:

sbt stage

The resultant build will be located in target/universal/stage.

Refer to the SBT Native Packager Documentation for additional build targets.

Convergence Dev Server

The Convergence Dev Server runs an all-in-one instance of Convergence along with an embedded OrientDB Database. The Convergence Dev Server will start up and OrientDB database and initialize it. It will also start a backend node, a rest API, and a realtime API. In order to better reflect a typical deployment, th Convergence Dev Server actually starts up three instances of the Convergence Server (cluster see, backend, and api server). These three instances are tied together using Akka clustering. By default ports 2551, 2552, and 2553 are used by the akka remoting subsystem (each port being used by one of the three ConvergenceServer instances).

By default, when the Convergence Dev Server successfully starts, it will provide two endpoints:

Running the Convergence Dev Server

The Convergence Dev Server can be run from your IDE of choice by executing the following main class:

com.convergencelabs.server.testkit.ConvergenceDevServer

Persistent Data

By default the Convergence Dev Server will delete the OrientDB database(s) when it starts up. IF you would like to retain data between runs set the following java property:

-Dconvergence.dev-server.persistent = true

Embedded Orient DB

In order to use the OrientDB web interface, the OrientDB Studio plugin must be loaded. The plugin is a dependency of the Convergence Server project but must be copied into the "target/orientdb/plugins" directory. As a convenience, there is an SBT task available to do this. To initialize the Orient DB plugins run the following SBT Command:

sbt orientDbPlugins

The embedded OrientDB can be accessed at: http://localhost:2480/

The credentials root / password can be used to access the databases.

Support

Convergence Labs provides several different channels for support:

License

The Convergence Server is licensed under the GNU Public License v3 (GPLv3) license. Refer to the LICENSE for the specific terms and conditions of the license.

The Convergence Server is also available under a Commercial License. If you are interested in a non-open source license please contact us at Convergence Labs.

editor-ot-crdt-convergencelabs-convergence_server's People

Contributors

mmacfadden avatar alalonde avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.