Skip to content

srmadscience/s2-charglt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

s2-charglt

SingleStore implementation of Charglt, but on SingleStore

It has the same basic functionality of charglt, but may be missing stuff - see TODO

Far more documentation is available at the link above.

Installation

  1. create a DB called 'charglt'
  2. Run create_db.sql
  3. Run create_procs.sql
  4. Create 'X' users by running CreateChargingDemoData with:
10.13.1.101 100000 10  1000 root nevadaeagle

... which is hostname, usercount, transactions-per-ms, user, password

  1. Then run ChargingDemoTransactions with:
10.13.1.101 100000 10 120 30  root nevadaeagle
  1. ...or the Key Value store demo (ChargingDemoKVStore) with:
10.13.1.101 100 1 60 15 100 50 root nevadaeagle

TODO

  • I have yet to implement ShowCurrentAllocations__promBL, which is used for running totals.
  • The original version allows you to send a delta of a JSON object instead of the whole thing. I haven't implemented this.
  • This runs either using a single thread doing sync calls, or with multiple worker threads. I have yet to do scaled test of the latter.

Status

While this is fine to play with, it's not a fair representation of SingleStore at the moment.

About

SingleStore implemention of charglt

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages