Skip to content

QFJ performance

Baoying Wang edited this page Jan 18, 2018 · 6 revisions
  1. Session.send sequence. It will help us to understand related parameters
sendRaw(Message msg, num(always 0)){

    increase seq and set it to msg    
    
    send(String msgStr){
      log msgStr
      responder.send(msgStr){
         netty write(SocketSynchronousWrites=N-default or Y)
      }
    }
    
    persist the msgStr (PersistMessages=Y-default or N)
}

  1. Max 4000 order per second via FIX, based on the test result of https://github.com/baoyingwang/OrderBook/wiki/Track-Performance-Tuning-for-v1.1 note: if PersistMessages=N, better performance can be got. note: SocketSynchronousWrites=N (as default)

  2. The performance of FIX message marshal/unmarshal is also ok. Marshal(obj->string): 1.6us, unmarshal(string->obj):2.3us. The source code is here https://github.com/baoyingwang/LibrariesEvaluation/tree/master/src/main/java/perf/qfj/QFJPerformance.java. It should be migrated to this project later.

Clone this wiki locally