Code Monkey home page Code Monkey logo

guery's Introduction

Guery v0.1

Guery is a pure-go implementation of distributed SQL query engine for big data (like Presto). It is composed of one master and many agents and supports to query vast amounts of data using distributed queries.

Status

This project is still a work in progress.

Todo list

  • Support more SQL statement
  • Improve performance
  • Improve error control
  • Add ut and regression test
  • Add Wiki
  • ...

NEED YOUR HELP !!!

This project is in progress and a lot of work need to do. If you are interested in it, please give me your hands and anything is welcome! I also list some issues. If you want to improve something, please open an issue to let others know :)

Supported

  • Datasource: hive
  • FileSystem: local/hdfs/s3
  • FileType: csv/parquet/orc
  • DataType: bool/int32/int64/float32/float64/string/date/timestamp

Web UI

Web UI is the web interface of a Guery cluster to monitor and inspect the task executions in a web browser. It provides following modules:

Task information/Agent information & management/Execute plan

ui

Deploy

  • build guery cd $GOPATH/src/github.com/xitongsys/guery; make build
  • run master ./guery master --address 127.0.0.1:1111 --config ./config.json >> m.log &
  • run agent ./guery agent --master 127.0.0.1:1111 --config ./config.json >> e.log &
  • web ui http://127.0.0.1:1111

Demo

cd $GOPATH/src/github.com/xitongsys/guery
make run
curl -XPOST -d"sql=select * from test.test.csv where var1=1" 127.0.0.1:1111/query
open web browser: http://127.0.0.1:1111

Benchmark

I did a simple and not strict performance test:

env: 1 master and 2 workers(8 CPU, 16G RAM)

table: hive, parquet

sql type guery presto hive
select 14.52 6.14 19.35
join 37.67 19.16 110.52
aggregate 9.14 4.29 27.04
group by 26.81 4.33 26.79

guery's People

Contributors

xitongsys avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.