# my-gogin **Repository Path**: zkyCoder/my-gogin ## Basic Information - **Project Name**: my-gogin - **Description**: 高性能数据采集系统 - **Primary Language**: Go - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 3 - **Created**: 2020-05-26 - **Last Updated**: 2020-12-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #### 概要 高性能数据采集 #### 系统架构 Go + Cassandra Go: 负责高并发请求处理 Cassandra: 负责高速写、存储及扩展 #### 安装启动 git clone https://gitee.com/daniujineng/my-gogin.git cassandra 安装及建模: 1. cd ./docker/cassandra_cluster/ 2. docker-compose up -d 3. 登陆cassandra,复制建模: cassandra_model.sql 启动项目: 1. 配置Go语言环境:GOPATH vim ~/.bash_profile export GOROOT=/usr/local/go export GOPATH=$HOME/code/my-gogin source ~/.bash_profile 2. go get -d -v ./... 3. go run src/myserver/main.go 4. 更改连接到cassandra的hosts, 配置位置: ./src/mycassandra/cassandra.go 4. request http://127.0.0.1:9001 #### 引用技术引用一览 Gin: https://github.com/gin-gonic/gin.git