Bringing Redis to IBM i with redis400
If you’re running IBM i, you know it’s a powerhouse for business workloads. But what if you could turbocharge it with Redis, the in-memory data store built for speed? That’s what redis400 does—my custom integration that brings Redis to IBM i, tailored for flexibility and power.
What’s redis400? It’s a set of ILE C functions—think REDIS_INCR, REDIS_SET, REDIS_GET, REDIS_DEL, and REDIS_EXPIRE—each compiled into its own module. You can link them individually with any ILE language (RPG, COBOL, you name it) or bundle them into a service program (redisile.srvpgm) callable via SQL. This means incrementing counters, managing key-value pairs, or setting expiration times right from your existing code—cache API responses, run job queues, or track live data, all with Redis’s zip.
I built redis400 around socket programming, handling EBCDIC-to-ASCII conversions to keep it IBM i-native while talking to Redis over TCP/IP. It’s automation-ready—imagine a CL job setting session data or an RPG app pulling cached reports without database hits. As I prep er400.io for a 2025 launch, this project highlights my knack for system-level solutions.
Better yet, redis400 is open. Grab it at https://github.com/krakadin/redis400—fork it, link it your way, or pitch in. Got IBM i integration ideas? Hit me up via GitHub. Let’s make systems talk smarter, together.