Skip to content

MOQA-Solutions/moqa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this

Moqa is a Full Chat Server and Message Broker that can offer many Features.
The Current Server was designed to work as Frontend Server in association with Moqabase Backend Server but you can customize it to work Anywhere & Anyway.
You can check All Moqa's Features here, for more details and informations you should read Source Code.

Installation

  • Actually, this Server does not support Horizontal Scale, all what we have is One Server, but this will be my next step if you liked the work.
  • First, you should set your Frontend Node in All your Backend Nodes which run Moqabase as it was described in Moqabase Application.
  • Next, you should edit both moqa:partition_to_node/1 and moqa:node_to_partition/1 functions as your Backend Configuration, this was described in Moqabase Application.
  • Now you should edit moqa.app for 2 reasons :
    • To edit Start Argument which represents the Number of Backend Partitions (mnesia tables).
      • The Number of Backend Partitions = The Number of Backend Nodes
      • You should read Moqabase Description for more informations.
    • To edit the Port Number and the Number of Acceptors of TCP Connections.
  • After that, you can start Moqa Server on your Node :
rebar3 shell --sname somenode@somehost

When Moqa Application is running, you can use moqa_interface.erl to interact with the Application.
You can check here a full Description of moqa_interface.erl's Functions.

About

Erlang Full Chat Server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages