Skip to main content

19 posts tagged with "tutorials"

View All Tags
Share

Release of JavaScript SDK v1.3.0

· 2 min read
Alexey Timin
Software Engineer - Database, Rust, C++

Hey everyone,

we are pleased to announce the release of version 1.3.0 of the ReductStore SDK for JavaScript. This version supports the new features of ReductStore v1.3, including labels and content type.

Now you can write a record with MIME type and labels to ReductStore:

const client = new Client("https://play.reduct.store");

const bucket = await client.getOrCreateBucket("bucket");

const record = await bucket.beginWrite("entry-1", {
contentType:"text/plain",
labels: {type:"example"}
})

await record.write("Some text");
Share

Release of Python SDK v1.3.0

· 3 min read
Alexey Timin
Software Engineer - Database, Rust, C++

We are happy to announce the release of version 1.3.0 of the ReductStore SDK for Python! This release introduces several new features to support users in organizing and filtering their data.

One of the most notable new features is the ability to attach labels to data when writing and querying. Labels are key-value pairs that can be used to classify and categorize data. For example, you might use labels to store metadata about a record, such as its md5 sum or class. To start using labels, you need the version of the ReductStore database higher than 1.3.0.

Share

Quick Start with the ReductStore JavaScript SDK

· 6 min read
Alexey Timin
Software Engineer - Database, Rust, C++

This quick start guide will walk you through the process of installing and using the ReductStore JavaScript client SDK to interact with a ReductStore instance.

Installing the SDK

To install the ReductStore SDK, you will need to have Node.js 16 or higher installed on your machine. Once Node.js is installed, you can use the npm package manager to install the reduct-js package:

npm install reduct-js
Share

Quick Start with the ReductStore Python SDK

· 6 min read
Alexey Timin
Software Engineer - Database, Rust, C++

This quick start guide will walk you through the process of installing and using the ReductStore Python client SDK to interact with a ReductStore instance.

Installing the SDK

To install the ReductStore SDK, you will need to have Python 3.7 or higher installed on your machine. Once Python is installed, you can use the pip package manager to install the reduct-py package:

pip install reduct-py
Share

ReductStore behind NGINX

· 3 min read
Alexey Timin
Software Engineer - Database, Rust, C++

I think, [NGINX][1] doesn't need any introductions. It is one of the most widely used HTTP servers and reverse proxies. You can route your microservices or monolith application through it and make it responsible for:

  • TSL encryption
  • Basic HTTP authorsization
  • Map public URL to services or applications
  • Load balancing
Share
Share
Share
Share

Integrating ReductStore into C++ Applications

· 3 min read
Alexey Timin
Software Engineer - Database, Rust, C++

This guide will help you get started with the ReductStore C++ SDK to integrate ReductStore into your application.

Requirements

The ReductStore C++ SDK is written in C++20 and uses CMake as a build system. To install it, you will need:

  • C++ compiler with C++20 support (we use GCC-11.2)
  • cmake 3.18 or higher
  • conan 1.40 or higher (it is optional, but conan is a convenient package manager)

Currently, we have only tested the SDK on Linux AMD64, but if you need to port it to another operating system or platform, you can create an issue for assistance.

Installing

To install the ReductStore C++ SDK, follow these steps: