majestic3691 / redis-tasks Goto Github PK
View Code? Open in Web Editor NEWNode.js app to demonstrate redis for list, hash and geo spatial operations.
License: MIT License
Node.js app to demonstrate redis for list, hash and geo spatial operations.
License: MIT License
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
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
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.