On Fri, Feb 6, 2015 at 8:24 PM, <chanse...@gmail.com> wrote:

> Hi
>
> Because my application is  running on one thread now. (It maybe extend to
> multi-thread in the future)
>
> To be frank,
>
> I get benefit from akka by using actor model programming paradigm instead
> of its concurrency.
>

You can use an Akka Dispatcher with a single thread and then make it
non-daemonic and exit your main thread and your Akka application will be
single-threaded?


>
> Br,
> Chansey
>
> 在 2015年2月7日星期六 UTC+8上午2:58:10,√写道:
>>
>> Hi Chansey,
>>
>> What would you look to gain by switching to coroutines?
>>
>> On Fri, Feb 6, 2015 at 7:44 PM, <chan...@gmail.com> wrote:
>>
>>> Hello,
>>>
>>> Does akka support fiber/coroutine?
>>>
>>> I found that all akka's dispatchers rely on JVM threads now.
>>>
>>> Is there any way to config dispatchers which could run actor on
>>> fiber/coroutine?  (do not modify the akka source code)
>>>
>>> Like StubFiber in retLang which use ExecuteAllPendingUntilEmpty to run
>>> dispatcher schedule instead of actual JVM thread.
>>>
>>> PS:
>>> I maybe could make akka support it, but need modify some akka code...
>>>
>>> I am using akka.NET now.
>>>
>>> Very thanks.
>>>
>>> Br,
>>> Chansey
>>>
>>> --
>>> >>>>>>>>>> Read the docs: http://akka.io/docs/
>>> >>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/
>>> current/additional/faq.html
>>> >>>>>>>>>> Search the archives: https://groups.google.com/
>>> group/akka-user
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Akka User List" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to akka-user+...@googlegroups.com.
>>> To post to this group, send email to akka...@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/akka-user.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Cheers,
>> √
>>
>  --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ:
> http://doc.akka.io/docs/akka/current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Cheers,
√

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to