Fast Binary Encoding (FBE) allows describing any domain models…

Fast Binary Encoding (FBE) allows describing any domain models…
Average rating: 0
(0 votes)

You know that any developer would be happy to simplify his/her work. Of course, if this developer is not a crazy nerd. But we all nerds sometimes. However, if someone has done a piece of work to simplify our lives (like that awesome repos we presented this Friday in our JS digest), we’d be grateful and use represented solution. Like the next one called ‘FBE’. Fast Binary Encoding (FBE) allows describing any domain models…

Fast Binary Encoding allows to describe any domain models, business objects, complex data structures, client/server requests, and responses. FBE is ultra fast and universal serialization solution for C++, C#, Go, Java, JavaScript, Kotlin, Python, Ruby.

Typical usage workflow looks like this:

  1. Creating a domain model using base types, enums, flags and structs
  2. Generating a domain model for any supported programming languages (C++, C#, Go, Java, JavaScript, Kotlin, Python, Ruby)
  3. Building a domain model library
  4. Serializing objects from the domain model in unified, fast and compact FastBinaryEncoding (FBE) format
  5. JSON converting objects from the domain model in order to use them in Web API
  6. Implementing Sender/Receiver interfaces to create a communication protocol

Fast Binary Encoding needs to be provided by a domain model. A domain model is a set of flags and structures that relate to each other. The next step is a domain model compilation using ‘fbec’ compiler which will create a generated code for the required programming language. If the domain model compiled with –json flag, then JSON serialization code will be generated in all domain objects. As a result, each domain object can be serialized into JSON format and vice versa.

Feel free to check how it works by yourself.

Since Ruby on Rails is not the fastest web framework out there you sometimes need to improve the performance in order to keep up. This post will list some great tips to improve Rails performance.

Rate this article, if you like it

Thanks! You’ve rated this material!

Got a project? Let's discuss it!

*By submitting this form you agree with our Privacy Policy.

Mailing & Legal Address

Syndicode Inc. 340 S Lemon Ave #3299, Walnut CA, 91789, USA

Visiting & Headquarters address
Kyiv Sofiivska 1/2a, 01001, Kyiv, Ukraine
Dnipro Hlinky 2, of. 1003, 49000, Dnipro, Ukraine
Email info@syndicode.com
Phone (+1) 9035021111