You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: developing-plugins/grpc-api-reference.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
last_modified_date: 2024-03-10 23:57:06
2
+
last_modified_date: 2024-04-16 08:43:06
3
3
layout: default
4
4
title: gRPC API Reference
5
5
description: GatewayD exposes a gRPC API that can be used to interact with the GatewayD plugin system. This API can be used by the GatewayD plugins and is available in the GatewayD SDK.
Copy file name to clipboardExpand all lines: getting-started/welcome.md
+16-8Lines changed: 16 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
last_modified_date: 2024-03-10 23:57:06
2
+
last_modified_date: 2024-04-16 09:17:27
3
3
layout: default
4
4
title: Welcome
5
5
description: Introduction to GatewayD and its key features
@@ -18,9 +18,9 @@ This documentation will help you go from a beginner to an advanced user and deve
18
18
19
19
## What is GatewayD
20
20
21
-
GatewayD is a free and open-source cloud-native database gateway and framework for building data-driven applications. It sits between your database servers and clients and proxies all their communication. It is like API gateways, but for databases.
21
+
GatewayD is a free and open-source cloud-native database gateway and framework for building data-driven applications. It is a middleware that sits between your database servers and clients and proxies all their communication. It is like API gateways in system design, but instead is used for proxying database traffic, rather than HTTP traffic.
22
22
23
-
GatewayD is an [L4](https://en.wikipedia.org/wiki/Transport_layer) proxy for SQLdatabases and clients. You can either write your own plugins or make use of our built-in, community and enterprise plugins.
23
+
GatewayD is an [L4](https://en.wikipedia.org/wiki/Transport_layer) proxy for SQL, and eventually NoSQL, databases and clients. The core is database-protocol-agnotic, and the plugins encode, decode and add value to the database traffic flow, hence it can technically support all databases. You can either write your own plugins or make use of our built-in, community and enterprise plugins.
24
24
25
25
Using GatewayD, you can see through the queries and the data passing between your database server and clients, and take action. For example, you can cache the result of SQL SELECT queries or detect and prevent SQL injection attacks.
26
26
@@ -42,19 +42,27 @@ GatewayD users are typically developers, DBAs, DBREs, security engineers, compli
42
42
43
43
-**L4 database gateway**
44
44
45
-
GatewayD is optimized for proxying SQL databases and clients.
45
+
GatewayD is optimized for proxying SQL databases and clients, but proxying is not the main use case, rather an enabler. GatewayD can be used as a database gateway for SQL databases and clients. It can be used to monitor, cache, detect and prevent SQL injection attacks, and more.
46
46
47
47
-**Caching results of queries**
48
48
49
49
The [gatewayd-plugin-cache](/plugins/gatewayd-plugin-cache) is a free and open-source plugin that parses PostgreSQL database traffic, extracts the SELECT query and caches its response with a TTL. Further queries will be served from the cached results. TTL, Upsert, delete, alter and drop statements invalidate cached results.
50
50
51
-
-**Advanced caching** (WIP)
51
+
-**Run JavaScript code to manipulate traffic**
52
+
53
+
The [`gatewayd-plugin-js`](/plugins/gatewayd-plugin-js) is a free and open-source plugin that allows you to run JavaScript functions as hooks. It is a great way to get started with manipulating traffic in GatewayD.
54
+
55
+
-**Detect and prevent SQL injection attacks**
56
+
57
+
The `gatewayd-plugin-sql-ids-ips` is an enterprise plugin that uses a deep-learning model trained with lots of SQL injection attack patterns. It can detect SQL injection attacks and take immediate and preventive actions to stop attackers from compromising your database and your precious data. It differs from WAFs in that it works with database traffic and not just user input, meaning that it has access to the entirety of the query and other messages, thus it can detect and prevent attacks that WAFs can't.
58
+
59
+
-**Advanced caching using Write-Ahead-Log** (WIP)
52
60
53
61
The `gatewayd-plugin-cache-advanced` is an enterprise plugin that works like its free and open-source counterpart, except it monitors the Write-Ahead-Log (WAL) of PostgreSQL for invalidating cached results. Even if a client accesses the database directly and changes something, the plugin checks the WAL and invalidates all the matching cached results immediately.
54
62
55
-
-**SQL injection detection and prevention** (WIP)
63
+
-**Change data capture** (WIP)
56
64
57
-
The `gatewayd-plugin-sql-ids-ips` is an enterprise plugin that uses a deep-learning model trained with lots of SQL injection attack patterns. It can detect SQL injection attacks and take immediate and preventive actions to stop attackers from compromising your database and your precious data.
65
+
The `gatewayd-plugin-cdc` is an enterprise plugin that captures changes happening in the database and sends them to another database or message broker like Kafka. It can be used for seamless logical replication and building real-time data pipelines, data warehousing, and more.
58
66
59
67
These are just a few examples and the list is not exhaustive, as new plugins are constantly developed.
60
68
@@ -64,6 +72,6 @@ GatewayD is not a silver bullet and won't solve all your database problems overn
64
72
65
73
You still have to design and normalize your database schema, take and test backups, secure your database and do whatever you used to do before GatewayD. GatewayD came into existence to fix the black box mentality that surrounds databases to this very day.
66
74
67
-
Over time many plugins will be developed either by us or the community that will try to solve different issues arose from utilizing databases.
75
+
Over time many plugins will be developed either by us or the community that will try to solve many of the problems that you face with databases.
68
76
69
77
GatewayD is originally designed to be database-neutral, and proxy traffic to and from SQL and NoSQL databases. However, for practicality reasons, we focused on PostgreSQL at the moment. We will be working towards adding support for other SQL and NoSQL databases in the future.
0 commit comments