Тёмный

Introduction to the Actor Model for Concurrent Computation: Tech Talks @ AppNexus 

AppNexus
Подписаться 3,5 тыс.
Просмотров 80 тыс.
50% 1

In this tech talk, John Murray, Senior Software Engineer at AppNexus, serves up an introduction to Actor Model principals and concepts and gives a look at how we can construct parallel systems using the Akka framework.
Actor Models is a computational model for designing concurrent, distributed systems around the principal of self-contained Actors which operate on sending and receiving messages. While the idea has been around since the mid to late 70's, it is now gaining more traction with frameworks such as Akka and Celluloid as well as languages such as Go, which share many similar principals.
Learn more about events at AppNexus at www.appnexus.com/razzledazzle.

Опубликовано:

 

9 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 13   
@Farrukhobaid
@Farrukhobaid 7 лет назад
excellent presentation
@AdrianSmithRocks
@AdrianSmithRocks 6 лет назад
Brilliant talk
@drakezen
@drakezen 7 лет назад
Great explanation.
@w108dab1
@w108dab1 6 лет назад
Then why do people hated the actor-models so much when it can solve so many problems. I have used actor modeling myself for a project that would have failed otherwise.
@UliTroyo
@UliTroyo 7 лет назад
Great talk!
@w108dab1
@w108dab1 6 лет назад
Then why do people hated the actor-models so much when it can solve so many problems?? I have used actor modeling myself for a project that would have failed otherwise.
@johnmurray909
@johnmurray909 6 лет назад
@w108dab1 In my experience in talking with people about the Actor Model, it seems concerns center around 1) tooling and 2) bringing a team up to speed on a new paradigm. 2 is doable with time, patience, and lots of hands-on help/guidance. 1 is a tougher nugget to crack. Depending on your chosen actor framework/language, varying levels of tooling support will be available. In general, though, I have yet to see comprehensive tooling for any framework. This usually requires building a lot of in-house tools, which can be an expensive endeavor. However, even with both of these concerns, I feel like the major roadblock to more people adopting the Actor Model is not understanding the value-proposition. For a given problem, what makes actors a better choice over threading, eventing, futures/promises, etc. If the trade-offs are better understood, then more informed decisions can be made. Of course there will always be companies/groups that will stick to skills already possessed by most of the team rather than adopt/learn something new.
@rahulpyd1
@rahulpyd1 8 лет назад
Good talk.
@w108dab1
@w108dab1 6 лет назад
Then why do people hated the actor-models so much when it can solve so many problems. I have used actor modeling myself for a project that would have failed otherwise.
@areoh2005
@areoh2005 6 лет назад
so, don't use actors when you don't have a state, and the 'demo' shows prime number search :) anyway, good talk.
@timmark4190
@timmark4190 6 лет назад
@22 you mentioned the actor would respond back to the http. How does one do that? How does an actor after processing go back to same thread that made the call
@johnmurray909
@johnmurray909 6 лет назад
Hi Tim! It really depends on the language/framework/etc. All you need, at the lowest level, is the socket handle, which can be used from any thread. It's likely however that you are using a web-framework or HTTP library, so I can't speak to the specifics of every library. If you are working with a web-framework that assumes synchronous requests, then you might have trouble. If you have a framework that supports Futures/Promises as result-objects, then you can tie those to Actor request/responses rather easily. I'd also add that if you are considering adopting the actor-model in one of your projects, I recommend embracing the abstraction and avoiding use of thread-specific-utilities (e.g. ThreadLocal on the JVM).
@_aullik
@_aullik 8 лет назад
right
Далее
The Language of Actors - Vaughn Vernon
55:29
Просмотров 8 тыс.
David Khourshid - Everything is an Actor
44:50
Просмотров 10 тыс.