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.
- create a DB called 'charglt'
- Run create_db.sql
- Run create_procs.sql
- 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
- Then run ChargingDemoTransactions with:
10.13.1.101 100000 10 120 30 root nevadaeagle
- ...or the Key Value store demo (ChargingDemoKVStore) with:
10.13.1.101 100 1 60 15 100 50 root nevadaeagle
- 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.
While this is fine to play with, it's not a fair representation of SingleStore at the moment.