guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU Artanis on Fibers, and thoughts on server core development


From: Nala Ginrut
Subject: Re: GNU Artanis on Fibers, and thoughts on server core development
Date: Sun, 6 May 2018 00:50:06 +0800

For a mention, if people wants to try Artanis on GNU Hurd, it's
possible to use `guile' server core to make it work.
Although many people thought GNU Hurd is trivial to discuss for its
tiny community, I always care about and test Artanis on it either.

On Sun, May 6, 2018 at 12:47 AM, Nala Ginrut <address@hidden> wrote:
> Yes, that's why I managed to let Artanis support arbitrary customized
> server core, it's hard to meet every needs, so people always write
> their preferred server core. And the default server core of Artanis
> named Ragnarok, it's also relies on epoll, it even can't support GNU
> Hurd although it's GNU project. I've discussed with Hurd people about
> implementing epoll, someone told me it's not too hard, but no one have
> time for it now.
> Another way to support BSD is to write a server core with libuv which
> supports kqueue which is the original thing of epoll.
>
> But libuv is based on threads, so if there's something to be added to
> Artanis to let this kind of server core be well integrated. Because
> Ragnarok don't use threads, so Artanis has no locks. But it's trivial,
> we may use parameters to lock critical resources, if the server core
> don't use threads, then it will not actually lock.
>
> If someone wants to add new server core, feel free to discuss in
> address@hidden, or maybe CC address@hidden either.
>
> Best regards.
>
>
> On Sat, May 5, 2018 at 11:19 PM, Matt Wette <address@hidden> wrote:
>> On 05/05/2018 06:21 AM, Matt Wette wrote:
>>>
>>> On 05/03/2018 11:49 AM, Nala Ginrut wrote:
>>>>
>>>> Recently I've been asked if I can port Artanis to Fibers.
>>>> My design of Artanis is to support arbitrary server-core, so I tried
>>>> Fibers for it. After fixed some issues, it works roughly. Maybe not
>>>> perfect but it works.
>>>>
>>> Just want to let you know that Fibers relies on epoll and hence will not
>>> run on macOS or FreeBSD, to my knowledge.
>>
>>
>> And I looked a bit through the Artanis documentation.
>> To me, Artanis looks nicely done.  I will keep it in mind.
>>
>>
>> Matt
>>
>>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]