Managing processes without OTP, and how to make them OTP compliant

By Erlang Central | Published: July 28, 2012

Erlang developers are exhorted to learn and use OTP. This often entails letting OTP manage your message queues with gen_server, gen_fsm, gen_event, et al. Sometimes you just have to get your hands dirty managing messages. In those cases, proc_lib and knowledge of the sys package will serve you better than raw erlang processes if the rest of your system uses OTP principles. Jay will show how to use the proc_lib services, some tricks for managing message queues, and how the sys library is used to tie your low-level process programming into the rest of the OTP tools.
Talk objectives: Pull the hood back on OTP processes and show how to use proc_lib and sys to develop raw processes that can be traced and play nicely with the rest of OTP. There will also be some exposure to dbg and trace messaging.

Target audience: Erlang programmers who are comfortable with the syntax and language constructs, and are familiar with OTP concepts.
Download Presentation Download


  • Jay Nelson

    In the PROCESS of transforming how YOU will code erlang
    DuoMark International, Inc.

    Erlang devotee since 2002, developer and consultant as DuoMark International, Inc, Jay is currently on a mission to upgrade the familiar OTP environment of the last 2 decades to a new level designed for the forthcoming 10K core chips which should be capable of handling 1-10 Billion erlang processes.

    Jay Nelson

Follow Erlang Central:

Have an Erlang Question?

Reach out to the Erlang community