Implement Transaction Support in a Redis CloneRedis transactions provide a mechanism to execute a group of commands as a single atomic operation. When a transaction is initiated, subsequent commands are queued rather than executed immediately. Once all desired commands are added to the transacti...Sep 17, 2024·7 min read
Parsing Redis Commands with tokio-utilIn our ongoing series on building a Redis clone using Rust, we've covered the basics of setting up a TCP server and parsing basic RESP data types. Now, it's time to advance our project by understanding the structure of Redis commands and how to parse...Aug 28, 2024·16 min read
Build a Bare-Bones RESP parserIn this article, we explore the basics of RESP (REdis Serialization Protocol), a protocol used by Redis for client-server communication. We begin by understanding the structure and representation of basic RESP data types, such as BulkString, SimpleSt...Aug 27, 2024·10 min read
Setting Up a Simple TCP ServerIn this tutorial, you'll start the journey towards building Nimblecache (Redis clone) by first creating a simple TCP server using Tokio, a powerful asynchronous runtime for the Rust programming language. By the end of this tutorial, you will have a b...Aug 24, 2024·6 min read
Building a Function Calling Agent with OpenAI AssistantTutorial for developing a function calling agent in python using OpenAI libraryMay 28, 2024·8 min read