Received: by 10.224.196.196 with SMTP id eh4mr2035868qab.3.1306859606605; Tue, 31 May 2011 09:33:26 -0700 (PDT) X-BeenThere: erjang@googlegroups.com Received: by 10.224.182.134 with SMTP id cc6ls1154558qab.4.gmail; Tue, 31 May 2011 09:33:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.178.6 with SMTP id bk6mr1703753qab.30.1306859605252; Tue, 31 May 2011 09:33:25 -0700 (PDT) Received: by a26g2000vbo.googlegroups.com with HTTP; Tue, 31 May 2011 09:33:25 -0700 (PDT) Date: Tue, 31 May 2011 09:33:25 -0700 (PDT) In-Reply-To: References: <6eea4df9-384f-4f68-ac2c-4974001e0711@e26g2000vbz.googlegroups.com> <538563a8-5b02-4499-b7d3-9d4bef5f5ba5@hg8g2000vbb.googlegroups.com> User-Agent: G2/1.0 X-HTTP-Via: 1.1 mhmd50xx:81 (squid/2.6.STABLE14) X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 6.1; rv:6.0a2) Gecko/20110530 Firefox/6.0a2,gzip(gfe) Message-ID: <83378461-d9a3-4784-bbed-edcfc4910f01@a26g2000vbo.googlegroups.com> Subject: Re: Embedding Erjang in a CEP Engine From: Jetztgradnet To: Erjang Content-Type: text/plain; charset=ISO-8859-1 > Cost is relative I guess. If you're thinking on the order of 15K > (interpreted) or 25K (compiled) calls per second > then erjang.RPC is absolutely fine. I suspect for 99% of use cases that is > more than a pleasent sufficiency. > > I'm in the other 1% camp. On my laptop I'm measuring ~42 microseconds for an > RPC call (including term > marshalling overhead) for some simple erlang function calls. But, I work in > low and ultra low latency environments. > In the general case 42us is fabulous. If the latency budget on your > applications critical path is 100us though then it > represents a considerable overhead! So it's all about cost/value tradeoff. OK, that's quite some requirement. So good luck at reaching your target latency!