How Riak Handle Request?

Jing Liu jingliu.cs at gmail.com
Mon Apr 17 21:19:40 EDT 2017


Hey,

I'm specifically concerned about connection reading, data sending,
data encoding and decoding. Is that done by a single process, a
fixed-size process pool or does Riak spawns a new process for every
incoming request/connection?

Thanks very much !
Jing

On Mon, Apr 17, 2017 at 12:36 PM, Christopher Meiklejohn
<christopher.meiklejohn at gmail.com> wrote:
> On Sat, Apr 15, 2017 at 2:16 PM, Jing Liu <jingliu.cs at gmail.com> wrote:
>> Hi, I'm learning Riak. I'm wondering that if this is the case that on
>> each physical node, a single process is reading the connection,
>> decoding the buffer, spawning a new process to process the request and
>> then be able to handle next request from client?
>
> Hi Jing,
>
> Depending on what you're looking it, it might be handled differently.
> Typically, a process pool is used to handle incoming requests, but
> processing of the request itself is handled by several processes that
> operate concurrently.
>
> What specific operation are you referring to?
>
> Thanks,
> Christopher




More information about the riak-users mailing list