Giter Club home page Giter Club logo

redis-tasks's People

Contributors

majestic3691 avatar

Watchers

 avatar  avatar

redis-tasks's Issues

Texas data is throwing a "too big inline request"

The error "-ERR Protocol error: too big inline request" exists in both the redis-cli pipe operation and the Bash script RESP loader.

The Texas data set is 84547 and REDIS_INLINE_MAX_SIZE is set to 65536(64k) which is preventing the success of the import. Note the size value $84547 in the shell script.

Objective: Need to figure out how to send more than 64k in a single geoadd transmission

Reference data

Bash script using RESP

root@be52e2b94e4f:/home# sh file2resp.sh geoadd Texas /home/Texas.data
REDIS Server at: 172.17.0.2
REDIS Port: 6379
File exists: /home/Texas.data
-ERR unknown command '-e'
-ERR unknown command '$6'
-ERR wrong number of arguments for 'geoadd' command
-ERR unknown command '$5'
-ERR unknown command 'Texas'
-ERR unknown command '$84547'
-ERR Protocol error: too big inline request
root@be52e2b94e4f:/home# sh file2resp.sh geoadd Texas /home/Texas.data
REDIS Server at: 172.17.0.2
REDIS Port: 6379
File exists: /home/Texas.data
RESP contains: *3
$6
geoadd
$5
Texas
$84547

Transmitting to RESIS Server...
-ERR unknown command '-e'
-ERR unknown command '$6'
-ERR wrong number of arguments for 'geoadd' command
-ERR unknown command '$5'
-ERR unknown command 'Texas'
-ERR unknown command '$84547'
-ERR Protocol error: too big inline request

Load using Redis pipe from within the shell of the Docker container.

root@be52e2b94e4f:/home# cat /home/LoadAirportData.cmd | /usr/local/bin/redis-cli --pipe -h 172.17.0.2
All data transferred. Waiting for the last reply...
Last reply received from server.
errors: 0, replies: 61

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.