Skip to main content

DEPRECATED: Data provider plugin for loading data stored in a Redis in-memory database.

Project description

DEPRECATED: phovea_data_redis

Phovea Build Status

Data provider plugin for loading data stored in a Redis in-memory database.

DEPRECATION Information

Please note that this project has been archived and is no longer being maintained. There is an active development under https://github.com/datavisyn/tdp_core and we will also contribute our future changes to it.

Installation

git clone https://github.com/phovea/phovea_data_redis.git
cd phovea_data_redis
npm install

Testing

npm test

Building

npm run build

Usage

The plugin is currently used to load ID mapping files.

Flush Mapping Database

redis-cli

select 3
flushall

Administrating Redis from your host machine

Follow this steps if you want to administrate the Redis instance that is installed inside the virtual machine (using Vagrant)

  1. Download any Redis administration tool (e.g., Redis Desktop Manager)
  2. Start docker-compose in debug mode: docker-compose-debug up -d
  3. Access via localhost

Backing up a Redis DB: -> https://www.npmjs.com/package/redis-dump

Restoring in a named volume:

  1. launch container
docker run -it -v workspacename_db_redis_data:/data -v F:\w\workspace_name\_backup\:/backup --name test redis:3.2-alpine sh ; docker rm test
  1. within shell
redis-server --appendonly yes &
cd /backup
cat redis_db_dump_id.txt | redis-cli -n 3
cat redis_db_dump_mapping.txt | redis-cli -n 4 
exit
  1. use backup tool to backup
./docker-backup backup db_redis_data

This repository is part of Phovea, a platform for developing web-based visualization applications. For tutorials, API docs, and more information about the build and deployment process, see the documentation page.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

phovea_data_redis-8.0.0.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

phovea_data_redis-8.0.0-py2.py3-none-any.whl (10.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file phovea_data_redis-8.0.0.tar.gz.

File metadata

  • Download URL: phovea_data_redis-8.0.0.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12

File hashes

Hashes for phovea_data_redis-8.0.0.tar.gz
Algorithm Hash digest
SHA256 1e10d558f888136b2286b12f1e55bce56afb4136ec182247071f7f1191390481
MD5 7514e85213b0460809e6804fd4a92b47
BLAKE2b-256 c0982e408073db4fa0f33cc0ecef74ec9d7ebe028bbd023a271f1c6a2a1d0fc4

See more details on using hashes here.

File details

Details for the file phovea_data_redis-8.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: phovea_data_redis-8.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.12

File hashes

Hashes for phovea_data_redis-8.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d2fdf8f8b55c83096948a80ead81b82514874b27d24f50e9b86be0940608e2c8
MD5 bd0efc26d7d1923f8100b828c2efd327
BLAKE2b-256 48dce8c43bd4e9dd8b7126a2face9071b78ecf7c23146cc6cc9e98a181e25210

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page