https://github.com/typcn/biliquery_db
Bilibili comment hash to user id rainbow table system
https://github.com/typcn/biliquery_db
Last synced: over 1 year ago
JSON representation
Bilibili comment hash to user id rainbow table system
- Host: GitHub
- URL: https://github.com/typcn/biliquery_db
- Owner: typcn
- Created: 2017-10-31T15:52:56.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-09T20:46:18.000Z (almost 8 years ago)
- Last Synced: 2024-11-09T19:39:47.477Z (over 1 year ago)
- Language: C++
- Size: 15.6 KB
- Stars: 24
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# biliquery_db
Bilibili comment hash to user id rainbow table system
# Generate table
```php -f gen.php 1 300000000 > table```
# Run server
```
pacman -S libev
make
./biliquery
```
程序本体大约只要 1MB 的内存,在 SSD 上每秒大概可以承受几十万请求,当然也可以改成纯内存的能上千万,不过没啥意义。
冲突表在内存里,但是由于 HASH 冲突非常多,冲突表甚至占了整整 4G 内存,待优化。
# API ( no sla, 300billon )
http://biliquery.typcn.com/api/user/hash/