Questions tagged [bert-rpc]

BERT-RPC tag should be used when question is related to the Binary ERlang Term data interchange format (BERT) and it's protocol (RPC). Do note: that the bert-toolkit is another library it is not related to this.

BERT aims to be as simple as possible while maintaining support for the advanced data types we have come to know and love. BERT-RPC is designed to work seamlessly within a dynamic/agile development workflow. The BERT-RPC philosophy is to eliminate extraneous type checking, IDL specification, and code generation. This frees the developer to actually get things done.

BERT (Binary ERlang Term) is a flexible binary data interchange format based on (and compatible with) Erlang's binary serialization format (as used by erlang:term_to_binary/1). BERT supports the following simple data types (shown here using Erlang syntax):

(taken from the project homepage)

10 questions
3
votes
1 answer

"Rest" binary from binary_to_term

I want to use tcp to catch BERT-encoded messages, and I'm confused a little. binary_to_term(X) decodes only first term, without giving me back the rest of binary, nor saying how much did it use. Encode back with term_to_binary(X) to see it's size is…
desudesudesu
  • 2,185
  • 1
  • 15
  • 20
1
vote
1 answer

Secure SSH connection on with bert-rpc in Ruby

I'm using the bert-rpc gem in Ruby 1.9.3 to make calls to an Ernie server that is not on my local network: BERTRPC::Service.new("www.someurl.com", 9998) Now I want that connection to be secured via SSH. I was thinking about using a local unix…
Ronze
  • 1,544
  • 2
  • 18
  • 33
1
vote
1 answer

how to extract an object in node.js which object is decoded using bert.js?

I have an object that is equivalent to this BERT (wrapped for legibility): {"Hello",[{1,"john","john123"},{2,"Michale","michale123"}]} in Node: var S =…
1
vote
1 answer

Meteor email success alert

I am using Bert and Meteor Email. In my MEteor MEthods, I return the success of sending email. The problem is, after sending email, It does not return the success message. here is my sample code, Meteor.call('sendEmail', data.eadd, …
JMA
  • 974
  • 3
  • 13
  • 41
1
vote
1 answer

Binary Erlang Term serializer for C#

Are there any BERT or BERT-RPC implementations for C#? On the http://bert-rpc.org/ no C# implementations are listed.
wizzard0
  • 1,883
  • 1
  • 15
  • 38
1
vote
1 answer

Is There an Erlang BERT-RPC Client?

If I have a BERT-RPC Server (Ernie) on one machine, and would like to communicate with it from an Erlang/OTP application from another machine, what would be the best course? Is There an Erlang BERT-RPC Client? I suppose it wouldn't be too much…
0
votes
1 answer

Does Bert-rpc use http?

I'm building a low-level, high-performance, cross-platform cloud architecture that needs to utilize a fast rpc system. I'm considering bert-rpc, but I'm not sure if this uses http or sits directly on top of tcp/ip. Basically, I care about how many…
Tyler
  • 28,498
  • 11
  • 90
  • 106
0
votes
2 answers

Convert javascript string to binary erlang term

I have a cowboy ws handler with binary pattern matching as follows: websocket_handle({text, <<"Reg: ",Message/binary>>}, Req, State) I need to call this handler with js code, so I use Bert.js to encode js string variable to binary erlang term as…
H. SLF
  • 61
  • 8
0
votes
2 answers

how to use bert in android or java to erlang backend?

I want to use erlang as android backend, but the n2o/erlang framework use a bert/websocket. Can I use bert in android to it's backend ? Is there some library for android or java ?
homeway
  • 11
  • 2
0
votes
1 answer

Use binary erlang term for sending structured data over network?

Consider a client/server application in which the client and the server use a tcp connection to exchange messages. Messages can be of many types: text, video, picture, etc. Messages are transferred as Erlang terms. e.g. client --> …
Romstar
  • 1,139
  • 3
  • 14
  • 21