Thoughts about Docker Compose environments

I’ve had the recent experience of a Node.js project that needed to interact with a Redis database, adding large amounts of data as a single action (between 300 000 and a million inserts). My instinctive thought was to decompose this project into a Node.js project image, and a Redis image, linked together through Compose. Redis has a mass insert protocol, but it is only available as a command-line tool (cat data.txt | redis-cli --pipe) - there’s no network protocol to use it. I’ve thought of a few options, but nothing ideal:

 
0
Kudos
 
0
Kudos

Now read this

Understanding Cgo a little better

Go is a language that has become popular for a lot of different purposes. It’s being used by back-end developers, who use it to build websites and services ; it’s being used by system engineers, who use it to interact with low-level APIs... Continue →