Skip to content

gen_server:call vs rpc:call from erlang to ergo #146

Answered by halturin
xiaodoudou12 asked this question in Q&A
Discussion options

You must be logged in to vote

this output...

finish_gen_call [1] time:1678417911 usetime:1 
finish_gen_call [3] time:1678417912 usetime:2 
finish_gen_call [5] time:1678417913 usetime:3 
finish_gen_call [2] time:1678417914 usetime:4 

says you handle your requests using the same processes, which is sleeping for a second handling every message.

Erlang' ERPC handles requests spawning a new process for every request.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@xiaodoudou12
Comment options

@halturin
Comment options

@xiaodoudou12
Comment options

Answer selected by xiaodoudou12
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants