►
Description
Having an adequately implemented strategy for your API is key to achieving a successful product in a data-driven company. Although there has been a rise in products that provide APIs and microservices solutions, there are still many untapped potentials. This can be attributed to a lack of adoption by most DevOps teams due to specific barriers. APISIX is a dynamic and high-performance cloud-native API gateway; that delivers ultimate performance. DevOps teams from different organisations have adopted it due to its Ops-friendly strategy.
---
KCD Africa 2022 is the 2nd iteration of the Kubernetes Community Days Africa, a CNCF-powered free community event. Visit https://kcdafrica.com for more information.
A
All
right
up
next
we're
going
to
be
having
a
section
on
the
topic
implementing
a
device
friendly
api
architecture
with
apache
api
6
by
myself,
and
it's
a
human.
So
like
I
introduced
myself
earlier,
I
am
anita
himman
and
I'm
a
developer
advocate
and
I'm
passionate
about
sharing
knowledge
on
everything,
technical
writing
and
public
speaking.
A
I'm
an
open
source
advocate
and
passionate
about
growing
developer
communities
in
areas
of
onboarding,
documentation
and
diversity,
equity
and
inclusion,
and
I
also
love
cats,
so
this
section
is
going
to
be
going
up
next.
If
you
have
any
questions
once
this
is
done,
you
can
drop
it
in
the
chat
as
well.
A
Hi
everyone-
my
name-
is
anita
human
and
I'm
really
happy
to
be
here
today
and
once
I've
all
heard
of
numerous
api
management
tools
that
take
care
of
our
api
architecture.
However,
today
we'll
be
looking
at
implementing
devops
friendly
api
architecture
with
apache
api
six,
and
so,
let's
get
into
it
a
little
bit
about
me.
A
A
Now
we're
going
to
look
at
what
apache
api
6
is
all
about
and
what
it
means,
what
devops
means
in
a
devops
friendly
architecture
we're
going
to
look
at
how
can
devops
use
a
central
api
gateway
and
how
does
apache
api
6
fulfill
all
of
these
demands
and,
let's
get
into
it
first
and
foremost,
what
is
an
api?
Just
like
the
name
sounds
it's
an
abbreviation
that
stands
for
application
program,
intel
programming
interface.
Now
this
is
essential
to
building
and
delivering
your
services.
A
It's
simply
a
way
for
one
or
two
more
two
computers
here
to
communicate
to
communicate
with
each
other
offering
services.
Now
every
most
of
every
service
that
we
see
today
are
either
apis
or
actually
use
an
api.
A
simple
example
of
this
will
be
your
boat
app
that
you
use
for
transporting
from
one
place
to
another.
Now
this
application
makes
use
of
an
api
for
the
google
on
the
google
map
and
api
for
google
map
which
helps
in
navigating
different
places.
A
Yes,
so
now
that
application
makes
use
of
an
api
that
helps
with
the
map,
the
mapping
system
and
all,
and
so
the
success
of
your
services
depends
on
the
services
of
your
application
and,
let's
take,
for
instance,
this
boat
application
depends
on
the
integrity,
the
availability
and
the
performance
of
that
api,
which
is
the
mapping
that
you're
actually
using.
A
Let's
take,
for
instance,
you're
trying
to
book
a
map
book
a
ride
to
a
particular
location,
and
then
the
map
happens
to
malfunction
at
that
moment,
the
map
feature
does
not
work
or
it
takes
it
to
the
wrong
location.
A
A
So
the
integrity,
availability
and
performance
of
your
application
solely
relies
on
the
performance
of
that
api
that
you're
using
now.
What
exactly
is
an
api
gateway?
Api
gateway,
on
the
other
hand,
is
just
like
the
name
sounds.
It's
a
gateway
but
yeah.
It's
an
application
management
tool
that
sits
between
the
client
and
the
collection
of
back-end
services,
so
api
gateway
serves
as
a
middleman
between
you,
the
user
or
the
person
trying
to
access
that
particular
backend
services.
A
Let's
say:
you're
accessing
it
through
your
system
or
your
phone,
whatever
you're
trying
to
access
but
yeah
the
api
gateway
will
sit
between
you
that
is
trying
to
access
it
receive
the
call
that
you're
trying
to
make
or
the
request
you're
trying
to
type
on
your
phone
and
and
then
send
it
to
the
backend
services
and
this
as
a
sensor
to
the
backend
services.
This
back-end
services
will
check
and
whatever
response
that
aligns
with
what
you're
looking
for.
A
It's
now
send
back
a
response
with
an
aggregate
or
it's
not
send
back
a
response,
and
then
the
api
gateway
aggregates.
All
of
the
response
that
has
received
from
the
backend
services
that
align
with
what
you
are
looking
out
for
now,
you
you
might,
let's
take,
for
instance,
the
boot
up
that
we're
still
talking
about
now.
Why
you
try
to
look
for
a
location
on
the
map
most
times
you
see
that
they're
like
different
locations
that
have
similar
names
that
you're
actually
looking
out
for
now.
A
That
is
exactly
what
the
api
gateway
would
play
in
a
situation
like
this.
Now,
while
you
send
your
request,
it's
going
to
bring
back
responses
in
accordance,
so
that's
request
that
you've
sent
and
then
gives
it
back
to
you.
Then
you
can
decide
which
one
exactly
suits
or
best
suits
what
you're
looking
out
for
right.
So
that's
it's!
A
What
an
api
gateway
basically
does
it
sits
between
the
client,
which
is
you
and
then
a
couple
of
back-end
services,
which
is
the
the
response
you're
trying
to
look
out
for
and
then
helps
to
with
the
communication
between
both
ends
and
api
gateway
offers
a
lot
of
services
or
like
a
lot
of
features
such
as
observability
monitoring,
logging
and
analytics.
A
It
takes
care
of
cake
management,
stabilizing
and
load
balancing.
It
also
handles
authentication
security
and
policy
enforcement.
It
can
also
take
take
care
of
the
service
discovery
and
the
basic
logic
basic
business
logic
that
goes
on
within
your
application,
but
then,
whatever
it
is,
the
api
gateway
actually
does.
All
of
this
now
apache
api
6
happens
to
be
an
api
gateway.
It
is,
it
is
a
successful
open
source
project
under
the
apache
foundation
and
it
offers
a
dynamic,
real-time
api
gateway
features.
A
Now
this
open
source
2,
this
2
was
open
source
in
the
year
2019
and
since
then,
it
has
gained
a
lot
of
attention
from
developers
from
different
organizations
and,
as
of
today,
it's
records
over
9000
stars
and
300
over
300
contributions
on
contributors
on
github
and,
of
course,
this
api
gateway
lets.
You
build
cloud
native
micro
service,
api
gateways
and
delivers
the
ultimate
performance,
the
security,
skill
and
scalable
platform
for
your
apis,
as
well
as
micro
services.
A
A
Yes,
so
this
is
a
graphical
representation
of
what
goes
on
in
the
background
when
you
try
to
make
use
of
an
api
gateway
or
when
you're
trying
to
actually
make
a
pr
request
within
an
api
gateway.
Now
you
can
see
by
the
far
right
there
are
a
lot
of
sources,
and
that
includes
the
phone,
your
computer,
the
traffic
lights
and
other
gadgets
that
you
might
be
trying
to
make
an
api
request
with
now.
A
Six
now
average
api
six
now
uses
the
is
data
plane
and
control
plane
to
handle
to
handle
your
data
configuration
and
processing,
and
then
it's
now
send
this
request
down
to
the
back-end
services
and
the
back-end
services
will
now
check
what
exactly
aligns
with
what
you're.
Looking
for,
let's
see
now,
let's
go
back
to
the
boat,
app
that
we're
talking
about
and,
let's
say,
you're
trying
to
look
for
a
particular
location
on
the
map,
and
once
this
this
response
goes
to
the
parking
services.
A
Api
gateway
will
then
accumulate
all
of
this
and
then
stream
out
the
best
response
that
actually
suits
the
the
answer
that
you're
looking
for
and
then
sends
it
back
to
you
as
on
the
receiving
end,
and
that's
where
you
see
that
okay,
you
get
notified
on
what
which
services
or
which
particular
response
that
you're
looking
out
for
so
basically,
that
is
what
apache
a56
does
and
enterprises
can
quickly
manage
their
apis
and
micro
service
traffic
with
apache
api
6
and
using
features
like
the
flow
limiting
the
authentication,
the
logs
luggage,
security,
handling
of
support
for
complex
and
all
of
that
apache
api
6
can
do
a
lot
for
your
applications,
such
as
providing
the
internet
features
of
handling
the
knots
to
south
traffic
from
clients.
A
It
also
offers
the
envoy
features
of
handling
the
east-west
traffic
between
your
services
and
also
it
plays
in
the
ingress
controller
features
which
can
also
help
in
handling
your
the
services
within
the
traffic
within
your
services.
It's
also
provides
data
data
in
traffic
results,
that
is
collection
and
analysis
and
analyzing
of
all
of
the
data
in
real
time.
A
It
also
handles
observability,
which
includes
logging
tracing
and
handling
of
metrics,
and
last
but
not
least,
it
is
friendly
for
developers,
program,
managers
and
operations,
and
so
whatever
purpose
it
is
that
you
want
to
use
api
six
for
regardless
of
how
much
knowledge
you
have
on
this.
It
has
a
very
user-friendly
dashboard
that
you
can
easily
just
navigate
through
and
access
all
of
these
features
by
just
clicking
a
button.
A
Now,
let's
move
to
what
is
devops
in
a
devops
friendly
architecture.
Now
we
can't
of
course,
discuss
device
friendly,
a
device
friendly
architecture
without
talking
about
devops,
so
devops
is
simply
a
set
of
practices,
tools
and
philosophies
or
beliefs
that
combine
the
sorted,
the
the
effort
of
the
software
developers
or
software
development
and
I.t
operations.
A
Now
this
practices
basically
aim
to
increase
the
efficiency,
the
speed
and
the
security
of
software
development
and
delivery
compared
to
the
traditional
processes
that
we're
actually
used
to
so
by
adopting
devops
culture
within
your
application,
a
team
can
actually
gain
the
ability
to
better
respond
to
customer
demands
and
customer
needs.
It
also
increases
the
confidence
within
an
application
that
you're
building
and
also
achieves
your
business
goals
faster
than
you
actually
plan
to
now.
What
exactly
is
a
devil's
friendly
architecture?
A
My
device
friendly
action
is
simply
one
that
fosters
an
effective
working
relationship
between
the
developers
and
the
operations
thing
now.
This
means
that
the
architecture
should
be
should
be
considered
scriptable
with
apis
that
work
reliably
now
being
able
to
actually
put
together
your
the
architecture
into
scripts
or
assets
or
make
it
accessible
using
apis
can
consider
it
to
be
device
friendly
and
also
infrastructure,
consider
using
infrastructure
as
a
code.
A
Now,
a
device-friendly
architecture
should
should
be
able
to
like
store
these
configurations
in
form
of
code
forms
or
code
states,
so
that
within
repository,
so
you
can
always
rebuild
the
system
with
this
code.
If
need
be,
you
can
distribute
this
amongst
your
teammates,
of
course,
if
need
be,
and
in
a
way
that
you
can
always
share
all
of
these
configurations
amongst
the
developers
and
the
operations
team
and
it's
devas
friendly
when
it
is
loosely
coupled
when
it
has
a
loosely
coupled
architecture
that
scales
in
a
modern
way
in
and
out
now.
A
A
That
makes
it
easy
for
scalability
in
the
in
modern
ways
that
is
using
our
leveraging
modern
technologies
that
we're
familiar
with
today
and,
of
course,
it
is
considered
devas
friendly
when
it
is
open
and
you
can
actually
access
this
code
inspect
it
and
also
share
this
amongst
teammates,
so
basically
making
your
your
software
or
your
application
open
source
for
other
persons
to
actually
look
through
these
configuration
files
and
inspect
it
in
the
best
ways.
It's
also
an
addition
to
making
it
devops
friendly
or
achieving
a
device
friendly
architecture.
A
Now
I've
highlighted
three
ways
that
this
can
be
done
first,
which
is
to
consider
automation.
Now
I
mentioned
earlier
that
config
using
config
files
or
putting
together
this
code
in
a
config
file
for
other
persons
to
always
retreat
back
to
would
be
a
sensible
thing
to
do
now.
Organizations
should
also
practice
managing
configuration
files
within
repositories
now,
where
the
managing
and
provisioning
of
infrastructure
are
done
using
code.
So
you
can
actually
put
all
of
your
configurations
within
a
config
file
that
makes
it
easy
for
manual
processing
and
distribution
amongst
teammates.
A
This
config
files
would
most
likely
be
there
to
help
establish
the
parameters
and
also
the
settings
of
that
particular
application,
or
software
you're
working
towards
and
the
next
is.
You
can
achieve
a
central
api
gateway
through
a
devops
friendly
dashboard
and
there's
been
like
reoccurring.
A
Complaints
from
the
developer
teams
and
operation
team
on
the
learning
curve
now
getting
to
use
most
of
the
tools
from
both
parties
can
be
really
really
taxing
in
the
sense
that
developers
have
to
get
used
to
the
tools
that
operations
a
team
use,
and
then
the
operational
teams
also
have
to
get
familiar
with
tools
that
developers
use.
Now
that
takes
a
long
learning
curve
which
can
be
exhausting
and
time
consuming
on
your
end,
but
having
a
devops
friendly
dashboard.
A
That
makes
it
easy
for
people
to
actually
assess
all
of
these
features
without
having
to
go
through
a
long,
stressful
learning
curve.
It's
also
a
great
way
to
achieve
a
central
api
gateway
and
also
you
can
achieve
a
central
api
gateway
by
allowing
the
devops
teams
to
gain
access
into
the
api
gateway
itself
now,
which
means
transforming
you're
going
to
have
to
transform
your
api
gateway
into
a
multi-tenancy
architecture,
where
more
than
one
person
or
more
than
one
team
can
actually
have
access
to
see
what
is
going
on.
In
the
background.
A
And
that
is
how
this
at
the
top
three
ways,
you
can
actually
work
towards
a
central
api
gateway
in
a
devops
environment
and
how
does
if,
if
apache
api
sees
fulfill
all
of
these
demands?
Well,
let's
look
at
it.
A
First
for
first
express
apache
api,
6
fulfills.
These
demands
by
providing
a
built-in
low
code
dashboard.
Now
so,
with
this
apache
api
6
dashboard,
you
do
not
have
to
go
through
the
long
learning
curve
that
we
talked
about
earlier,
either
as
a
developer
or
as
an
operations
team.
You
don't
have
to
go
through.
A
All
of
that,
you
can
actually
achieve
it
by
by
just
looking
through
the
powerful,
flexible
ui
and
get
a
hang
of
it
by
cutting
or
boycotting
all
of
the
learning
curves,
and
with
this
dashboard
you
can
operate,
you
can
operate
and
manage
the
apache
api
6
without
any
form
of
struggles.
You
can
handle
the
real-time
monitoring
with
your
api
and
it
also
has
integrations
with
the
grafana
plugins.
You
can
manage
up
streams
routes
as
well
as
consumers,
and
also
install
any
plugin
for
your
security,
your
service
security,
your
traffic
control
and
observability.
A
Now
so
all
of
these
can
be
achieved
on
the
apache
ps6
dashboard,
with
just
a
click
of
a
button
and
which
is
exciting
actually
because
no
one
would
want
to
go
through
understanding
all
of
the
background
work
that
is
done
in
that
is
done
to
actually
have
a
good
functioning
api
gateway.
A
Now.
Another
feature
that
api
six
has
to
offer
for
a
device
friendly
environment
is
the
mo
multiple
ready
to
use
plugins
now,
as
of
today,
api
six
records
over
60
built-in
plugins
that
are
broken
down
into
several
categories.
These
categories
cover
authentication
security,
traffic
control,
serverlessness,
observability
and
other
aspects
to
meet
the
common
usage
scenarios
of
your
customers,
so
whatever
it
is
that
your
customers
might
actually
be
looking
out
for
we
have
built-in
plugins
that
are
already
ready
to
use.
You
don't
have
to
go.
Go
ahead,
also
create
new
ones.
A
However,
api
6
also
has
provision
for
custom
plugins.
A
Now
this
means
your
you
have
the
ability
to
actually
build
your
plugins
according
to
what
feature
it
is
that
you
want
api
6
to
serve
your
customer,
so
you
can
actually
customize
your
own
plugins
from
scratch
and
puts
it
together
according
to
what
exactly
you're
looking
out
for
and
another
feature
that
api
6
has
to
handle
these
is
it
provides
hot
uploads
and
hot
plugins,
so
you
can
continuously
update
your
configurations
without
having
to
restart
to
restart
your
applications,
and
this
saves
a
lot
of
development
time
for
you
as
a
developer
or
as
an
operations
team,
you
can
easily
modify,
you
can
easily
modify
or
add
a
plugin
without
having
to
restart
your
services.
A
Now,
if
you,
for
instance,
you
add
you
manually,
create
or
customize
a
plugin
that
works
for
you,
you
can
actually
include
this
plugin
without
having
to
go
through
stress
of
restarting
your
service
or
your
application
to
have
this.
These
plugins
you've
imputed,
working
or
functioning.
Now
this
makes
controlling
of
the
external
workloads
in
api
6,
so
much
easier
and
a
lot
more
flexible.
A
All
of
that
now
next
is
apsx,
has
support
for
multiple
platforms
and
technologies,
and
you
can
actually
run
api,
six
from
a
bare
metal
machine
to
kubernetes,
providing
vendor
neutral
and
multiple
platform
solutions,
and
so
you
don't
have
to
struggle
or
think
of
the
technologies
that
are
aligned
or
do
not
align
with
it,
because
if
your
six
has
support
for
provision
for
like
multiple
platforms
that
you
might
be
using,
which
and
some
of
these
tools
that
you
can
also
integrate
af6
with
some
of
these
tools
and
platform
include
the
hashtag
vault.
A
We
have
tools
like
zipkin,
the
apache,
skywalking
console
eureka,
and
also
it
supports
technologies
like
golang,
java,
node.js,
python
and
so
much
more,
and
so
whatever
technology
or
platform.
It
is
that
you're
using
apache
api,
6
guts,
you
so
you
can
always
check
it
and
then
just
quickly
integrate
it
within
your
platform
that
you're
using
last,
but
not
the
least
I'm
actually
api
6
is
open
source.
Now
that
means
that
you
can
distribute
the
code
base
among
your
developer
teams.
You
can
actually
check
also
contribute
to
this
particular
project.
A
If
you
want
to
contribute
and
also
you
can
share
these
projects
and
improve
on
it
in
the
best
ways
that
you
think
you
need
to
improve
on
it,
and
so
there
is
so
much
more
that
apache
fps
could
do
when
it
comes
to
helping
you
to
achieve
your
devops
friendly
architecture
in
the
best
in
the
best
ways
for
your
api
management.
A
Thank
you
so
much,
and
that
is
all
that
I
have
for
today.
If
you
also
have
questions
regarding
apache
api
6
or
getting
involved
with
this
project,
adopting
it
or
integrating
it
with
your
software,
you
can
reach
out
to
me
via
email
or
check
me
out
on
twitter
and
linkedin,
with
my
profiles
that
are
listed
out
here.
Thank
you,
and
that's
all
that
I
have
for
today.