What is Reactive Programming?

Technology CommunityCategory: Reactive ProgrammingWhat is Reactive Programming?
VietMX Staff asked 3 years ago

Reactive programming is about non-blocking, event-driven applications that scale with a small number of threads, with back pressure being a key ingredient that aims to ensure producers don’t overwhelm consumers.

The primary benefits of reactive programming are:

  • increased utilization of computing resources on multicore and multi-CPU hardware
  • and increased performance by reducing serialization

Reactive programming is generally event-driven, in contrast to reactive systems, which are message-driven. Thus, using reactive programming does not mean we’re building a reactive system, which is an architectural style.