Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Thanks for all the 3 upvotes:) I am the developer of the OIDBS, and glad to answer any question here.


I have a WIP, more or less working, MQTT Client & Server, is there a way for me to benchmark my implementation with your benchmark suite ?


Great. The OIDBS is using a built-in MQTT client. So, if you want o benchmark your server, just run the `import` command like as shown in the quick start video:

``` MODELS_ROOT=CURRENT_OIDBS_DIR import DIR_TO_DATA_SOURCE -n nyct_lite -d ```

here,

CURRENT_OIDBS_DIR is a hacky ENV var, for finding the models, should be removed in the future.

-n: is for the built-in model name, only the OIDBS repsect two models: nyct_lite and nyct_strip, you can get the two model sources from the article

-d: is for importing data only without injecting schemas. This is common if you are benching against a MQTT broker or server as you said. In fact, with this opt enabled, you can import any data source iff the data source is CSV or JSON. The benchmark logic is just to read and send the message line by line. That is, the files in the nyct_lite and nyct_strip directory is can be any CSV or JSON format. And the files'name is not important, but the model name still to be one of above two. Because the code checks the name.

(Ok, OIDBS may let the model name to be optional for such case, I will record this issue. thanks!)

If you have any problem, you can ask details in the community. I will help you as possible.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: