apple / live-caller-id-lookup-example

Example service & documentation for Live Caller ID Lookup
https://swiftpackageindex.com/apple/live-caller-id-lookup-example/main/documentation/pirservice
Apache License 2.0
91 stars 6 forks source link

The data is too much, a timeout will be displayed. #31

Open sanjinhub opened 1 week ago

sanjinhub commented 1 week ago

When I test with 10,000 data entries, a timeout occurs; however, testing with just a few entries works perfectly fine.

WX20240914-183227@2x

fboemer commented 3 days ago

https://swiftpackageindex.com/apple/live-caller-id-lookup-example/main/documentation/pirservice/testinginstructions#Processing-the-datasets has some information on processing the datasets. In particular, the Parameter Tuning documentation will be helpful to achieve best performance.

You can try using more shards, e.g. via decreasing entryCountPerShard or, equivalently, increasing shardCount.

sanjinhub commented 1 hour ago

thx