QQWry.Net 2.1.0

dotnet add package QQWry.Net --version 2.1.0                
NuGet\Install-Package QQWry.Net -Version 2.1.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="QQWry.Net" Version="2.1.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add QQWry.Net --version 2.1.0                
#r "nuget: QQWry.Net, 2.1.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install QQWry.Net as a Cake Addin
#addin nuget:?package=QQWry.Net&version=2.1.0

// Install QQWry.Net as a Cake Tool
#tool nuget:?package=QQWry.Net&version=2.1.0                

QQWry.NET

基于纯真IP数据库的高性能(亚毫秒级响应时间、10w+QPS 吞吐量)IP归属地查询 WebApi 服务

数据来源日期

纯真网络 2024年02月21日IP数据

性能评测

项目 说明
硬件环境 i7-12700/32g
软件环境 win10/.net8.0rc1
测试方式 JMeter->WebApi
测试参数 100 线程 x 10000 个随机 IP(0.0.0.0-255.255.255.255)
吞吐量 129,954 qps
平均响应时间 <1ms

alternate text is missing from this package README image

开始使用

  • docker 方式
    • docker run -p 61022:61022 nsnail/qqwry.net
  • 二进制文件方式
  • 源码编译方式
    1. 下载安装 .NET8 SDK
    2. 克隆仓库
      • git clone https://github.com/nsnail/QQWry.Net.git
    3. 编译运行
      • dotnet run --project ./QQWry.Net/src/QQWry.Net.WebApi/QQWry.Net.WebApi.csproj
  • 查询IP归属地
    • http://localhost:61022/?ip=8.8.8.8
  • 运行截图
    • 浏览器界面
      • alternate text is missing from this package README image
    • 服务端界面
      • alternate text is missing from this package README image
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • No dependencies.
  • net7.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.1.0 113 7/29/2024
2.0.5 253 2/27/2024
2.0.4 181 1/15/2024
2.0.3 256 12/15/2023
2.0.2 161 12/15/2023
2.0.1 172 12/15/2023
2.0.0 158 12/15/2023
1.0.1 170 12/15/2023