ip2region 2.10.0 Release: New C# and Node.js Clients, Benchmarks, and Fixes
The ip2region 2.10.0 update introduces C# and Node.js query clients, provides detailed benchmark results, fixes a Python XDB searcher bug, disables buffer‑related functions for several languages, and includes a Maven dependency snippet for Java, all while maintaining microsecond‑level query performance for offline IP lookup.
ip2region (2.0‑xdb) is an offline IP data management framework and location library that supports billions of IP ranges, offers query latency in the 10‑microsecond range, and provides XDB data format generation and query implementations for many mainstream programming languages.
Version 2.10.0 adds several updates:
New C# query client implementation (see C# binding ).
Default benchmark result for the C# client: IP2Region.SearchTest.exe bench --db=../../../../../data/ip2region.xdb --src=../../../../../data/ip.merge.txt Bench finished, {cachePolicy: vectorIndex, total:3417955, took:00:00:48.0082981, cost:0 ms/op}
New Node.js query client implementation (see Node.js binding ).
Default benchmark result for the Node.js client: node ./tests/bench.app.js options: dbPath: ../../data/ip2region.xdb src: ../../data/ip2region.xdb cache-policy: content Bench finished, {cachePolicy: content, total:3417955, took:20.591887765s, cost:6.02462225658325μs/op}
Python XDB searcher bug fix ( commit link ).
Disabled buffer‑related functions for C, Lua, Java, Go, and PHP.
Java Maven dependency snippet: <dependency> <groupId>org.lionsoul</groupId> <artifactId>ip2region</artifactId> <version>2.6.5</version> </dependency>
The update continues to provide high‑performance offline IP lookup while expanding language support and improving stability.
Laravel Tech Community
Specializing in Laravel development, we continuously publish fresh content and grow alongside the elegant, stable Laravel framework.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.