---
# System prepended metadata

title: Final Project

---

# Final Project

**---ElaSQLBench---**
- class ElasqlBench - benchmark(): emulators[i] = benchmarker.createRte(getConnection(), statMgr);
**---Maven Package---**
    - class YcsbBenchmark - createRte(): 
        return new YcsbRte(conn, statMgr);
    
        - class YcsbRte: 
            executor = new YcsbTxExecutor(new YcsbParamGen());
        
            - class YcsbParamGen - generateParameter()
        
            - class YcsbTxExecutor - execute(): 
                SutResultSet result = this.executeTxn(conn, params);
            
                - class TransactionExecutor<T extends BenchTransactionType> - executeTxn(): 
                result = conn.callStoredProc(this.pg.getTxnType().getProcedureId(), pars);
                **---ElaSQLBench---**
                    - class ElasqlBenchSpConnection implements SutConnection - callStoredProc(): 
                    ElasqlSpResultSet r = conn.callStoredProc(connectionId, pid, pars);
                    
                        - class GroupCommConnection implements VanillaCommClientListener - callStoredProc(): 
                        batchSender.callStoredProc(connId, pid, pars);
                        
                            - class BatchSpcSender implements Runnable - sendBatchRequestToDb(): 
                            commClient.sendP2pMessage(ProcessType.SERVER, sequencerId, batchSpc.toArray(new StoredProcedureCall[0]));
**---VanillaComm---**
                                - class VanillaCommClient implements P2pMessageListener, Runnable - sendP2pMessage(): 
                                P2pMessage p2p = new P2pMessage(message, globalId);