Skip to content

Commit 51d64e6

Browse files
authored
Windmill for databases docs (windmill-labs#542)
1 parent 46ad984 commit 51d64e6

File tree

24 files changed

+904
-1218
lines changed

24 files changed

+904
-1218
lines changed

blog/2023-11-24-data-pipeline-orchestrator/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ For more details on storage in Windmill, see:
295295

296296
<div className="grid grid-cols-2 gap-6 mb-4">
297297
<DocCard
298-
title="Persistent Storage"
298+
title="Persistent Storage & Databases"
299299
description="Ensure that your data is safely stored and easily accessible whenever required."
300300
href="/docs/core_concepts/persistent_storage"
301301
/>

changelog/2024-03-04-workflow-as-code/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
slug: workflow-as-code
33
version: v1.284.0
4-
title: Workflow as Code
4+
title: Workflows as Code
55
tags: ['Scripts', 'Flow Editor']
66
image: ./python_editor.png
77
description: Flows are not the only way to write distributed programs that execute distinct jobs. Another approach is to write a program that defines the jobs and their dependencies, and then execute that program. This is known as workflows as code.

docs/apps/4_app_configuration_settings/1_app_component_library.mdx

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,19 @@ This app component allows you to create a decision tree controlled by a flow-lik
276276
src="/videos/aggrid_table.mp4"
277277
alt="aggrid table"
278278
/>
279-
<br />
279+
<br/>
280+
281+
### [Database Studio](./database_studio.mdx)
282+
283+
<iframe
284+
style={{ aspectRatio: '16/9' }}
285+
src="https://www.youtube.com/embed/Fd_0EffVDtw?vq=hd1080"
286+
title="Database Studio"
287+
frameBorder="0"
288+
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
289+
allowFullScreen
290+
className="border-2 rounded-xl object-cover w-full dark:border-gray-800"
291+
></iframe>
280292

281293
## Display
282294

docs/apps/4_app_configuration_settings/resource_select.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import DocCard from '@site/src/components/DocCard';
22

33
# Resource Select
44

5-
The Resource Select component allows you to have users pick [resources](../../core_concepts/3_resources_and_types/index.mdx) from your Windmil workspace to interact with [intergrations](../../integrations/0_integrations_on_windmill.mdx).
5+
The Resource Select component allows you to have users pick [resources](../../core_concepts/3_resources_and_types/index.mdx) from your Windmill workspace to interact with [intergrations](../../integrations/0_integrations_on_windmill.mdx).
66

77
![Resource Select](../../assets/apps/4_app_component_library/resource_select.png.webp)
88

docs/core_concepts/11_persistent_storage/index.mdx

Lines changed: 35 additions & 606 deletions
Large diffs are not rendered by default.
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# NoSQL and Document Databases (Mongodb, Key-Value Stores)
2+
3+
This page is part of our section on [Persistent Storage & Databases](./index.mdx) which covers where to effectively store and manage the data manipulated by Windmill. Check that page for more options on data storage.
4+
5+
Key-value stores are a popular choice for managing non-structured data, providing a flexible and scalable solution for various data types and use cases. In the context of Windmill, you can use MongoDB Atlas, Redis, and Upstash to store and manipulate non-structured data effectively.
6+
7+
## MongoDB Atlas
8+
9+
[MongoDB Atlas](https://www.mongodb.com/atlas/database) is a managed database-as-a-service platform that provides an efficient way to deploy, manage, and optimize MongoDB instances. As a document-oriented NoSQL database, MongoDB is well-suited for handling large volumes of unstructured data. Its dynamic schema enables the storage and retrieval of JSON-like documents with diverse structures, making it a suitable option for managing non-structured data.
10+
11+
To use MongoDB Atlas with Windmill:
12+
13+
1. [Sign-up to Atlas](https://www.mongodb.com/cloud/atlas/signup).
14+
15+
2. [Create a database](https://www.mongodb.com/basics/create-database).
16+
17+
3. [Integrate it to Windmill](../../integrations/mongodb.md) by filling the [resource type details](https://hub.windmill.dev/resource_types/22/).
18+
19+
:::tip
20+
21+
You can find examples and premade MonggoDB scripts on [Windmill Hub](https://hub.windmill.dev/integrations/mongodb).
22+
23+
:::
24+
25+
## Redis
26+
27+
[Redis](https://redis.io/) is an open-source, in-memory key-value store that can be used for caching, message brokering, and real-time analytics. It supports a variety of data structures such as strings, lists, sets, and hashes, providing flexibility for non-structured data storage and management. Redis is known for its high performance and low-latency data access, making it a suitable choice for applications requiring fast data retrieval and processing.
28+
29+
To use Redis with Windmill:
30+
31+
1. [Sign-up to Redis](https://redis.com/try-free/).
32+
33+
2. [Create a database](https://developer.redis.com/create).
34+
35+
3. [Integrate it to Windmill](../../integrations/redis.md) by filling the [resource type details](https://hub.windmill.dev/resource_types/22/) following the same schema as MongoDB Atlas.
36+
37+
## Upstash
38+
39+
[Upstash](https://upstash.com/) is a serverless, edge-optimized key-value store designed for low-latency access to non-structured data. It is built on top of Redis, offering similar performance benefits and data structure support while adding serverless capabilities, making it easy to scale your data storage needs.
40+
41+
To use Upstash with Windmill:
42+
43+
1. [Sign-up to Upstash](https://console.upstash.com/).
44+
45+
2. [Create a database](https://docs.upstash.com/redis).
46+
47+
3. [Integrate it to Windmill](../../integrations/upstash.md) by filling the [resource type details](https://hub.windmill.dev/resource_types/22/) following the same schema as MongoDB Atlas.

0 commit comments

Comments
 (0)