-
Notifications
You must be signed in to change notification settings - Fork 0
QFJ performance
Baoying Wang edited this page Jan 18, 2018
·
6 revisions
- 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)
}
-
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)
-
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.