Coder Social home page Coder Social logo

ractor_actors's Introduction

Hi, I'm Sean and I'm a Rustacean.

Rusty wave

About me

I'm currently a software engineer at Meta Platforms in Core Systems. I work on distributed, high-throughput systems.

Selected repos

  1. ractor - Inspired by Erlang's OTP, ractor provides save actor programming paradigms in 100% Rust.
  2. akd - Auditable Key Directories (AKDs) are the foundation of Key Transparency at WhatsApp. This is the core logic for WhatsApp's realization.

ractor_actors's People

Contributors

dependabot[bot] avatar leonqadirie avatar slawlor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

leonqadirie

ractor_actors's Issues

Create initial utility actors

Moved from slawlor/ractor#45 to independent repo

We have a gen_server equivalent (basic actor), now we can expand on that

  • factory for a pool of workers local to a node #46 , #47

Other possible utility actors that might be helpful to have:

  • Timer (execute on a period ignore comp time, execute on a period handling comp time taking too long, execute with a delay between, etc)
  • FileWatcher? Watch a specified file (or directory) and notify someone on changes (output-port use case?)
  • Basic networking [tcp/udp] servers and clients? This however might require enforcing some kind of encoding (i.e. length pre-pended frames) or something

Examples for TCP networking

Would love to see some examples of the actors here, specifically the listener actor.

I'm a little stuck on how to spawn the actor, and setting up the SessionAcceptor. I'm coming from actix with a use case of processing bincode data over the wire from TCP streams. I was previously using actix_server::Server to spawn a server which listens and then handles each incoming stream which then forwards the decoded data as a struct to another actor for further processing.

Any help would be greatly appreciated. TIA ๐Ÿ˜„

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.