GithubHelp home page GithubHelp logo

jameshnsears / xqa-shard Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 10.43 MB

BaseX engine with AMQP interface.

License: Apache License 2.0

Python 97.39% Dockerfile 1.98% Shell 0.63%
activemq basex python qpid-proton xml

xqa-shard's Introduction

xqa-shard Build Status Coverage Status sonarcloud Codacy Badge

  • BaseX engine with AMQP interface.

1. Trace Inserts from CLI / IDE:

  • mkdir $HOME/tmp
  • XQA_WRITE_FOLDER=$HOME/tmp python src/xqa/shard.py

2. Docker

2.1. Start

  • docker-compose up -d xqa-message-broker
  • docker-compose up -d --scale xqa-shard=2

2.2. Stop

  • docker-compose down -v

3. BaseX client

docker ps -a
CONTAINER ID        IMAGE                                    COMMAND                  CREATED              STATUS              PORTS                                                                 NAMES
149541f33e75        xqa-shard                                "python3 xqa/shard.p…"   42 seconds ago       Up 38 seconds       0.0.0.0:32774->1984/tcp                                               xqa-shard_xqa-shard_2_f1b6d058634a
728c11d6c054        xqa-shard                                "python3 xqa/shard.p…"   42 seconds ago       Up 39 seconds       0.0.0.0:32773->1984/tcp                                               xqa-shard_xqa-shard_1_68144eb07e3f

basexclient -U admin -P admin -p 32774 
list # nothing will show when using: -storage_mainmem
open xqa

xqa-shard's People

Contributors

jameshnsears avatar

Stargazers

 avatar

Watchers

 avatar  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.