Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/typcn/biliquery_db
Bilibili comment hash to user id rainbow table system
https://github.com/typcn/biliquery_db
Last synced: 2 months 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 (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-09T20:46:18.000Z (over 6 years ago)
- Last Synced: 2024-08-02T01:25:43.107Z (6 months 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/