apisix/FAQ.md

59 lines
2.5 KiB
Markdown
Raw Normal View History

2019-10-31 09:27:28 +08:00
<!--
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
-->
2019-08-07 13:12:40 +08:00
# FAQ
## Why a new API gateway?
There are new requirements for API gateways in the field of microservices: higher flexibility, higher performance requirements, and cloud native.
## What are the differences between APISIX and other API gateways?
APISIX is based on etcd to save and synchronize configuration, not relational databases such as Postgres or MySQL.
This not only eliminates polling, makes the code more concise, but also makes configuration synchronization more real-time. At the same time, there will be no single point in the system, which is more usable.
In addition, APISIX has dynamic routing and hot loading of plug-ins, which is especially suitable for API management under micro-service system.
## What's the performance of APISIX?
One of the goals of APISIX design and development is the highest performance in the industry. Specific test data can be found here[benchmark](https://github.com/apache/incubator-apisix/blob/master/doc/benchmark.md)
2019-08-07 13:12:40 +08:00
APISIX is the highest performance API gateway with a single-core QPS of 23,000, with an average delay of only 0.6 milliseconds.
## Does APISIX have a console interface?
2019-08-07 13:12:40 +08:00
Yes, in version 0.6 we have dashboard built in, you can operate APISIX through the web interface.
## Can I write my own plugin?
Of course, APISIX provides flexible custom plugins for developers and businesses to write their own logic.
2019-08-23 09:52:41 +08:00
## Why we choose etcd as the configuration center?
For the configuration center, configuration storage is only the most basic function, and APISIX also needs the following features:
1. Cluster
2. Transactions
3. Multi-version Concurrency Control
4. Change Notification
5. High Performance
See more [etcd why](https://github.com/etcd-io/etcd/blob/master/Documentation/learning/why.md#comparison-chart).