HUB
Sign inSign up

cherrydatadocker/ayradb

By cherrydatadocker

•Updated almost 3 years ago

Image
0

209

cherrydatadocker/ayradb repository overview

⁠AyraDB docker image

⁠What is AyraDB?

AyraDB is a high performance database developed by Cherrydata Srl (more info on ayradb.com⁠)

⁠How to use this image

⁠Run AyraDB without persistence storage

AyraDB listens on container port 10019. Port mapping can be used to make AyraDB available to the host.

docker run --name my-ayradb-container -p <USER-DEFINED-PORT>:10019 -d ayradb
⁠Run AyraDB with custom disk size

Default disk size is 50 GB, of which 44 GB are available to user. Disk size can be customized using the environment variable DISK_SIZE. Disk size is configured during the first run of the container: if the container is stopped and subsequently restarted, the environment variable DISK_SIZE is ignored.

docker run --name my-ayradb-container -p 10019:10019 -d ayradb -e DISK_SIZE=<CUSTOM-DISK-SIZE-IN-GB> 
⁠Run AyraDB with persistence storage
docker volume create ayradb-vol
docker run --name my-ayradb-container -v ayradb-vol:/ssd0/data/appliance/cherrytable -p 10019:10019 -d ayradb
⁠Configurable parameters

These parameters are evaluated each time a container is started or re-started:

  • ACCEPT_THREADS [default 64]
  • SYS_THREADS [default 3]
  • SYNC_THREADS [default 1]
  • SYS_LOOP_WAIT_US [default 1000]
  • RSM_LOOP_WAIT_US [default 1000]
docker run --name my-ayradb-container -p 10019:10019 -d ayradb -e <ENV-NAME>=<ENV-VALUE> 
⁠Python client

The official AyraDB Python client is available on Pypi⁠

⁠License

Copyright © 2023 Cherrydata srl

This software is released with the 3-clause BSD license (or "Modified BSD License").

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Tag summary

Content type

Image

Digest

sha256:faca7be10…

Size

87.5 MB

Last updated

almost 3 years ago

docker pull cherrydatadocker/ayradb