Git Product home page Git Product logo

cantor's Introduction

cantor's People

Contributors

akouthoofd avatar dependabot[bot] avatar phowden avatar pteyer avatar snyk-bot avatar svc-scm avatar yuhan-xiao avatar yuhanx0728 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cantor's Issues

Pull in a MySQL container

The unit tests for Cantor implementation on top of MySQL requires an instance of MySQL to run. Change the bang.sh script to start/stop one in a docker container.

EventsOnS3 can't upload multiple buckets buffer data at the same time

Currently Cantor creates a single thread to flush the buffer directories for every S3 bucket (See https://github.com/salesforce/cantor/blob/master/cantor-s3/src/main/java/com/salesforce/cantor/s3/EventsOnS3.java#L64). This doesn't scale well as any other EventsOnS3 initialized pointing to different buckets will block waiting to flush. We need a way to maintain a thread per bucket, so different instances aren't blocking flush cycles.

Write metric gathering wrappers

Write wrappers similar to the loggable wrappers, that record metrics for each method in cantor. Should record metrics such as frequency, duration, and potentially some characteristics of the response.

Finish scoped namespaces for storing on S3

Currently we can contact s3 by prefixing s3- to the front of any namespace. Ideally we would have something a little more obvious like s3://, but our servlet was inhibiting that ability. Since S3 datacenter specific we don't actually need to support the servlet, so axing prod support could be a simple approach

Replace INTERSECTs with INNER JOINs

To be able to support MySQL (not only Mariadb), replace SQL statements that contain INTERSECT with INNER JOINs.

Once this is complete, users should be able to run CantorOnMysql on top of MySQL as well as Mariadb.

Add sample code

Create a samples directory and include sample code for using various features of Cantor.

Implement cantor-node module

Nodes start as a stand alone JVM, connect to the master and report the namespaces they support. Requests to the master are routed to nodes based on the namespace lookup table maintained in the master.

Add query to events archive function

We should add the capability to only archive events that match metadata/dimension queries. Add these two as parameters, and pass them through to the call to get events to archive.

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.