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
{{ message }}
This repository was archived by the owner on Jul 11, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+22-22Lines changed: 22 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ RediSQL is the Fast, in-memory, SQL engine with batteries included.
4
4
5
5
It provides several benefits for your application.
6
6
7
-
1. Fast, it can top up to 130k inserts per *seconds*.
7
+
1. Fast, it can top up to 130k inserts per *second*.
8
8
2. Familiar, it works with standard SQL, no weird dialect or syntax to learn.
9
9
3. Easy to Operate, it is based on Redis, just start the standard Redis binary and and pass the RediSQL binary.
10
10
4. Easy to Use, being based on Redis there are already bindings for any language.
@@ -16,55 +16,55 @@ There are several use cases for RediSQL.
16
16
### RediSQL to store Transient Data
17
17
18
18
RediSQL is wonderful for transient data.
19
-
With supports for lightweights DBs you can just store all the data that are important now, and trash them all together as soon as they are not necessary anymore.
19
+
With supports for lightweights DBs, you can just store all the data that are important now, and trash them all together as soon as they are not necessary anymore.
20
20
21
21
### RediSQL as main database
22
22
23
-
The product is stable, it does not loose data and you can store the data into regular files to gain in persistency.
24
-
Moreover RediSQL support all the persistency features of Redis, hence RDB and AOF are both fully supported.
23
+
The product is stable, it does not lose data.
24
+
Moreover RediSQL supports all the persistency features of Redis, hence RDB and AOF are both fully supported.
25
25
26
26
## Much more to explore...
27
27
28
-
There are a lot of features in RediSQL that is worth to explore more, here a short excerpt of those features.
28
+
There are a lot of features in RediSQL that are worth exploring more. Here are short explanations of those features.
29
29
30
30
#### Lightweight DBs
31
31
32
-
RediSQL provides you with lightweight inmemory databases.
33
-
It could completely shift your architecture, indeed you could thing to create a new isolated database each day, or for every tenant of your application or even for each of your users.
32
+
RediSQL provides you with lightweight in-memory databases.
33
+
It could completely shift your architecture. For example, you could create a new isolated database each day, one for each application tenant, or even one per user.
34
34
35
35
#### On disk storage
36
36
37
-
While RediSQL focus on in-memory database, it can also store data in a regular file. Of course this makes operations slower, but it allow to reach a level of persistency and safeness of data on pair with regular databases as Postgres or MySQL.
37
+
While RediSQL focuses on in-memory database, it can also store data in a regular file. Of course this makes operations slower, but it allows RediSQL to reach a level of data persistency on par with incumbent databases such as Postgres or MySQL.
38
38
39
39
#### Copy of DBs
40
40
41
-
With the concept of lightweight databases it become necessary to have a way to duplicate your database.
41
+
With the concept of lightweight databases, it becomes necessary to have a way to duplicate your database.
42
42
Indeed it is possible to copy a database into another one.
43
-
This allow several interesting patterns.
44
-
For example you could copy an in-memory database into a file-backed database and then ship the file for storage or other analysis.
43
+
This allows several interesting patterns.
44
+
For example, you could copy an in-memory database into a file-backed database and then ship the file for storage or other analysis.
45
45
Another pattern would be to copy a heavy read database into another for load balancing reasons.
46
46
Moreover you may use the copy function to keep a "base-database" to grow when new data comes in.
47
47
48
48
#### Directly expose the DB to users
49
49
50
-
With the ability to create several lightweight databases and the capability to copy those database, you could directly expose directly the databases to the final users instead of exposing a set of API that you would need to maintain.
50
+
With the ability to create several lightweight databases, and the capability to copy those database, you could directly expose the databases to the end users instead of exposing an API that you would need to maintain.
51
51
Just load all the data that the user may need into a RediSQL database, document the tables that are available, and give access to it to the users.
52
52
They will write their own API without waiting on you.
53
53
54
54
#### Stream and cache query results
55
55
56
-
RediSQL allow to store the results of queries into a Redis Stream.
57
-
This allow different clients to consume part of the result, or to delay the consuption of a result.
58
-
Moreover it allow to cache the result of expensive queries into Redis Streams and consume them over and over again.
56
+
RediSQL can also store results of queries into a Redis Streams.
57
+
This allows different clients to consume part of the result, or to delay the consuption of a result.
58
+
Moreover, it allows caching the result of expensive queries as Redis Streams to consume them over and over again.
59
59
60
60
#### Complete JSON support
61
61
62
-
JSON is the de-facto standard to share data between application, indeed RediSQL exploit the JSON1 module of SQLite to bring you the capability to easy and quickly manage JSON data inside SQL statements and tables.
63
-
In RediSQL you are able to manipulate JSON in all the possible way.
62
+
JSON is the de-facto standard for sharing data between applications. RediSQL exploits the JSON1 module of SQLite to bring that capability to easy and quickly manage JSON data inside SQL statements and tables.
63
+
In RediSQL you are able to manipulate JSON in every standard way.
64
64
65
65
#### Full text search support
66
66
67
-
RediSQL fully supports also the FTS{3,4,5} engine in SQLite giving you a full text engine at your fingertip.
67
+
RediSQL fully supports also the FTS{3,4,5} engine from SQLite, giving you a full text engine at your fingertip.
68
68
You will be able to manage and search for data.
69
69
70
70
## Getting started
@@ -101,9 +101,9 @@ This will start a RediSQL instance and allow you to work directly with RediSQL.
101
101
102
102
We create a few tutorial to guide you on using RediSQL with Node.js, Go(lang) and Python:
103
103
104
-
-[Using RediSQL with Python](http://redbeardlab.tech/rediSQL/blog/python/using-redisql-with-python/)
105
-
-[Using RediSQL with Golang](http://redbeardlab.tech/rediSQL/blog/golang/using-redisql-with-golang/)
106
-
-[Using RediSQL with Node.js](http://redbeardlab.tech/rediSQL/blog/node/using-redisql-with-node/)
104
+
-[Using RediSQL with Python](http://redisql.redbeardlab.com/rediSQL/blog/python/using-redisql-with-python/)
105
+
-[Using RediSQL with Golang](http://redisql.redbeardlab.com/rediSQL/blog/golang/using-redisql-with-golang/)
106
+
-[Using RediSQL with Node.js](http://redisql.redbeardlab.com/rediSQL/blog/node/using-redisql-with-node/)
107
107
108
108
Please open an issue and request a tutorial for any other language you are intereted in.
109
109
@@ -170,5 +170,5 @@ This software is licensed under the AGPL-v3, it is possible to purchase more per
0 commit comments