Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

twitter-archive/Rowz

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# STATUS

Twitter is no longer maintaining this project or responding to issues or PRs.

To build project:

    % env DB_USERNAME=<user> DB_PASSWORD=<pass> sbt package-dist

To run tests:

    % env DB_USERNAME=<user> DB_PASSWORD=<pass> sbt test

To run the development server:

    % ./bin/rowz <db user>

To setup a simple forwarding table (while dev server is running):

    % gem install gizzmo
    % ./bin/setup

Play with a client:

    % sbt console

    scala> import com.twitter.rowz.RowzClient

    scala> val c = new RowzClient("localhost")
    c: com.twitter.rowz.RowzClient = com.twitter.rowz.RowzClient@5c08e00d

    scala> c.create("a row")
    res0: Long = 5335423358337025

    scala> c.read(res0)
    res1: com.twitter.rowz.thrift.Row = Row(id:5335423358337025, name:a row, created_at:1302593593679, updated_at:1302593593679)

Releases

No releases published

Packages

No packages published

Languages

  • Scala 61.3%
  • Ruby 28.8%
  • Shell 9.0%
  • Thrift 0.9%