Reputation: 771
Which serialization method/function/BIF etc has best performance in Erlang? My case is:
Please help me choosing the method of serialization. Only performance is my goal. Thanks!
Upvotes: 2
Views: 1071
Reputation: 6366
An alternative to the Binary Erlang format might be Google protocol buffers. It's a "a language-neutral, platform-neutral, extensible way of serializing structured data for use in communications protocols, data storage, and more". The Erlang implementation that is used by Basho's Riak product is available on Github.
Upvotes: 0
Reputation: 2409
binary_to_term is your friend. This is exactly what you need.
If you want to utilize this data buy other not-erlang systems here is a list of libraries to help you: http://bert-rpc.org/
Upvotes: 5