aboutsummaryrefslogtreecommitdiffstats
path: root/docs/overview/whatisvpp/developer.rst
blob: 040762b01bad090973df7b98bbcaae965da8c757 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
.. _developer-friendly:

==================
Developer Friendly
==================

This section describes the different ways VPP is friendly to developers:

* Extensive runtime counters; throughput, `intructions per cycle <https://en.wikipedia.org/wiki/Instructions_per_cycle>`_, errors, events etc.
* Integrated pipeline tracing facilities
* Multi-language API bindings
* Integrated command line for debugging
* Fault-tolerant and upgradable

  * Runs as a standard user-space process for fault tolerance, software crashes seldom require more than a process restart. 
  * Improved fault-tolerance and upgradability when compared to running similar packet processing in the kernel, software updates never require system reboots. 
  * Development experience is easier compared to similar kernel code
  * Hardware isolation and protection (`iommu <https://en.wikipedia.org/wiki/Input%E2%80%93output_memory_management_unit>`_)

* Built for security

  * Extensive white-box testing
  * Image segment base address randomization
  * Shared-memory segment base address randomization
  * Stack bounds checking
  * Static analysis with `Coverity <https://en.wikipedia.org/wiki/Coverity>`_