Skip to content

Commit

Permalink
refactor(interactive): Refactor interactive image building (#4056)
Browse files Browse the repository at this point in the history
- [x] : Utilize caching for interactive image building.
- [x] : Merge interactive image building to `gsctl`.
- [x] : Merge Interactive dockerfile to `./k8s`

Fixes #4051 
Fixes #3948
  • Loading branch information
zhanglei1949 authored Aug 7, 2024
1 parent 7f09bb4 commit 33ce51d
Show file tree
Hide file tree
Showing 11 changed files with 29 additions and 2,428 deletions.
61 changes: 1 addition & 60 deletions flex/interactive/README.md
Original file line number Diff line number Diff line change
@@ -1,63 +1,4 @@
# GraphScope Interactive

GraphScope Interactive is a specialized construction of [GraphScope Flex](https://github.com/alibaba/GraphScope/tree/main/flex), designed to handle concurrent graph queries at an impressive speed. Its primary goal is to process as many queries as possible within a given timeframe, emphasizing a high query throughput rate.
For the full documentation of GraphScope Interactive, please refer to [GraphScope-Interactive](https://graphscope.io/docs/interactive_engine/graphscope_interactive).

## Minimal tutorial

In this minimal tutorial, we will show you how to run graph service on builtin modern graph.

### Preparation

Set `location` to `/home/graphscope/default_graph`.

### init database

```bash
./bin/gs_interactive init -c ./conf/interactive.yaml
```

### Start service

```bash
./bin/gs_interactive service start
```

### Stop service
```bash
./bin/gs_interactive service stop
```

### Restart service
```bash
./bin/gs_interactive service restart
```

### Get service status
```bash
./bin/gs_interactive service status
```

### Compile stored procedure
```bash
./bin/gs_interactive procedure compile -g modern -i ./examples/modern_graph/count_vertex_num.cypher
```

### Disable stored procedure
```bash
./bin/gs_interactive procedure disable -g modern -n count_vertex_num
```

### Enable stored procedure
```bash
./bin/gs_interactive procedure enable -g modern -n count_vertex_num
```

### Use user defined graph
```bash
./bin/gs_interactive service stop
./bin/gs_interactive database remove -g modern
./bin/gs_interactive database create -g test -c ./examples/modern_graph/graph.yaml
./bin/gs_interactive database import -g test -c ./examples/modern_graph/bulk_load.yaml
./bin/gs_interactive service start -g test
```
For the full documentation of GraphScope Interactive, please refer to [GraphScope Interactive Documentation](https://graphscope.io/docs/latest/flex/interactive_intro).
Loading

0 comments on commit 33ce51d

Please sign in to comment.