Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation: general aim of the project #145

Open
bblfish opened this issue Jan 9, 2022 · 5 comments
Open

Documentation: general aim of the project #145

bblfish opened this issue Jan 9, 2022 · 5 comments

Comments

@bblfish
Copy link

bblfish commented Jan 9, 2022

Hi,

I am working with Akka and started with cats effect recently and am looking to understand how the
two can best work together. This lead me to your project Akka-effect

How are you using it? What is the motivation behind it? What kinds of integration does Akka-effect offer?

@t3hnar
Copy link
Contributor

t3hnar commented Jan 9, 2022

Hello, these days we mostly use akka-cluster-sharding and relevant dependencies.

This project covers very important bits for using akka cluster & sharding without really exposing Actor/ActorRef as api
And it is still far from out of box solution, as we still have things in private repositories

Important thing about this project - as it provides building blocks rather than framework like setup. Those building blocks you can use in various part of Interoperability with akka

@bblfish
Copy link
Author

bblfish commented Jan 9, 2022

I also wanted to integrate cats-effect with my Akka project Reactive Solid. But I was wondering: how do they tie together?

For example are you running your cats-effect fibres inside one actor or from a thread pool? Or have you found a way to use the actors themselves as fibres? How would you recommend combining cats-effect and actors?

@t3hnar
Copy link
Contributor

t3hnar commented Jan 9, 2022

I think you should take a look at this test/example
https://github.com/evolution-gaming/akka-effect/blob/master/actor-tests/src/test/scala/com/evolutiongaming/akkaeffect/ActorOfTest.scala#L125

@bblfish
Copy link
Author

bblfish commented Jan 10, 2022

Thanks. That is very interesting example.

I am implementing the IETF's "Signing HTTP Messages" (in httpSig repo) using typelevel bobcats (perhaps that is of interest to evolution-gaming?)
So I'll go the IO route in the httpSig tests and look to your examples for inspiration.

I am using Akka typed and also Cats Effect 3.0 so I won't be able to use your cats-effect directly yet. I am looking forward to understanding-by-doing how working this way makes Akka coding better...

@t3hnar
Copy link
Contributor

t3hnar commented Jan 10, 2022

We see no future in Actor as main building block for applications as well as in Typed Actor

Typed Actor had huge permormance implications in akka-persistence module, hence at Evolution we stick with non typed actors where it is really required and try to hide it type unsafety from users.

overall examples should be good enough to give a rough idea :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants