-
Notifications
You must be signed in to change notification settings - Fork 46
Start time is too long
ByoungSeob Kim edited this page Jun 5, 2022
·
3 revisions
- 지원 버전: Since v0.5.9
- cb-store nutsdb 기반으로 장시간 운영 또는 빈번한 Read/Write 운영 후
- Spider 재시작 시 가동 시간이 매우 길어지는 현상
- 참고: #664
- nutsdb Merge 기능 특성 참고: https://github.com/nutsdb/nutsdb#merge-operation
- nutsdb-merge utility 실행
- spider server 종료 (Recommand)
- merge util 실행
- cd cb-spider/utils/nutsdb-mgmt
- go run nutsdb-merge.go
- spider server 가동
- 추후, 자동 관리로 개선
-
db 파일 축소 및 원래 시작 속도
-
total 72M drwxrwxr-x 2 ubuntu ubuntu 16K Jun 2 22:58 . drwxrwxr-x 4 ubuntu ubuntu 4.0K Apr 1 08:42 .. -rw-r--r-- 1 ubuntu ubuntu 8.0M Jun 2 15:30 0.dat -rw-r--r-- 1 ubuntu ubuntu 8.0M Jun 2 16:15 1.dat -rw-r--r-- 1 ubuntu ubuntu 8.0M Jun 2 17:09 2.dat -rw-r--r-- 1 ubuntu ubuntu 8.0M Jun 2 18:06 3.dat -rw-r--r-- 1 ubuntu ubuntu 8.0M Jun 2 19:10 4.dat -rw-r--r-- 1 ubuntu ubuntu 8.0M Jun 2 20:24 5.dat -rw-r--r-- 1 ubuntu ubuntu 8.0M Jun 2 21:41 6.dat -rw-r--r-- 1 ubuntu ubuntu 8.0M Jun 2 22:58 7.dat -rw-r--r-- 1 ubuntu ubuntu 8.0M Jun 3 00:08 8.dat
-
total 24K drwxrwxr-x 2 ubuntu ubuntu 16K Jun 3 00:31 . drwxrwxr-x 4 ubuntu ubuntu 4.0K Apr 1 08:42 .. -rw-r--r-- 1 ubuntu ubuntu 8.0M Jun 3 00:31 9.dat
-
Install & Start Guide
-
Features & Usage
-
- AdminWeb Tool Guide
- CLI Tool Guide
- REST API Guide
-
Design
-
Developer Guide
-
Cloud Driver Developer Guide
- Cloud Driver Developer Guide-WIP
- VM SSH Key Development Guide-WIP
- VM User Development Guide
- What is the CSP SDK API Version of drivers
- Region Zone Info and Driver API
- Price Info and Driver API
- (StartVM TerminateVM) API Call Counts and Waiting
- StartVM and TerminateVM Main Flow of drivers
- VM Root Disk Configuration Guide
- Security Group Rules and Driver API
- Network Load Balancer and Driver API
- VM Snapshot, MyImage and Disk Overview
- Kubernetes and Driver API(PMKS, K8S)
- Tag and Cloud Driver API
- AnyCall API Extension Guide
-
Test Reports
- v0.2.8-for-espresso-release
- v0.3.0-espresso-release
- Azure:Terminating VM
- cb-user@VM: ssh login, sudo run
- v0.3.14 test for SG Source
- v0.4.0-cafemocha-release
- Test via REST API Gateway
- Test Reports of v0.4.11 (IID2 initial Version)
- Test Reports of v0.4.12 (Register & Unregister existing Resources)
- Test Reports for v0.6.0 Release
- How to ...
- How to provision GPU VMs
- How to Resolve the 'Failed to Connect to Database' Error
- How to test CB Spider with Mock Driver
- How to install CB Spider on WSL2 under 공유기/사설망
- How to install CB Spider on macOS
- How to run CB Spider Container on macOS
- How to install OpenStack on a VM for CB Spider Testing
- How to get Azure available Regions
- How to profile memory usage in Golang
- Deprecated:How to install protoc and plugins
- [For Cloud-Migrator]