Erlang / Erlang Basics Interview questions
What is OTP?
OTP (Open Telecom Platform) is the standard library and set of design principles bundled with Erlang for building reliable systems. It's not a separate product — it ships with the language and supplies battle-tested behaviors (reusable process templates) so teams stop reinventing server loops, supervision trees, and finite state machines by hand.
The core building blocks include:
gen_server— generic client/server processsupervisor— monitors and restarts child processesgen_statem— generic finite state machineapplication— packaging and lifecycle for a deployable unit
Using OTP behaviors means your business logic plugs into a well-tested process skeleton instead of hand-rolling message loops, which is why virtually all production Erlang systems are built on top of it.
More Related questions...