storj/cmd/satellite
Michal Niewrzal 16b7901fde satellite/metabase: add piece size calculation to segment
This code is essentially replacement for eestream.CalcPieceSize. To call
eestream.CalcPieceSize we need eestream.RedundancyStrategy which is not
trivial to get as it requires infectious.FEC. For example infectious.FEC
creation is visible on GE loop observer CPU profile because we were
doing this for each segment in DB.

New method was added to storj.Redundancy and here we are just wiring it
with metabase Segment.

BenchmarkSegmentPieceSize
BenchmarkSegmentPieceSize/eestream.CalcPieceSize
BenchmarkSegmentPieceSize/eestream.CalcPieceSize-8         	    5822	    189189 ns/op	    9776 B/op	       8 allocs/op
BenchmarkSegmentPieceSize/segment.PieceSize
BenchmarkSegmentPieceSize/segment.PieceSize-8              	94721329	        11.49 ns/op	       0 B/op	       0 allocs/op

Change-Id: I5a8b4237aedd1424c54ed0af448061a236b00295
2023-02-22 11:04:02 +00:00
..
reports cmd/satellite: add project ID, bucket name to partner attribution CSV 2022-06-01 20:27:12 +00:00
admin.go satellite: fix metabase configuration wiring 2022-11-02 15:17:34 +00:00
api.go satellite/satellitedb: cleanup testing access 2023-02-06 14:36:11 +02:00
auditor.go satellite/audit: split out auditor process 2022-12-16 12:44:32 -06:00
billing_test.go cmd/satellite: change invoicing flags to iso8601 2022-10-07 07:58:23 -07:00
billing.go satellite/payments/stripecoinpayments: forbid replacing partner coupons 2023-02-03 17:15:01 +00:00
compensation.go compensation: always generate invoices for every node 2021-03-29 14:15:45 +00:00
Dockerfile Dockerfiles: switch base image from alpine to Debian 2022-04-05 11:40:44 +00:00
entrypoint cmd/satellite: Add run auditor to satellite entrypoint. 2023-01-04 15:31:06 +00:00
fetchpieces.go satellite/audit: newContainment->containment 2022-12-16 17:59:52 +00:00
gc-bf.go satellite: use ranged loop with GC-GF peer 2023-02-13 18:32:21 +00:00
gc.go satellite: fix metabase configuration wiring 2022-11-02 15:17:34 +00:00
gracefulexit.go satellite/satellitedb: Use CRDB AS OF SYSTEM & batch for GE 2021-05-07 13:09:19 -04:00
main.go satellite/audit: split out auditor process 2022-12-16 12:44:32 -06:00
output.go satellite: compensation package and commands 2020-03-30 14:08:14 -06:00
rangedloop.go {cmd/storj-sim, satellite/rangedloop}: added rangedloop to storj-sim, removed identity 2023-01-05 11:29:00 +00:00
README.md hc to satellite rename (#282) 2018-08-29 14:32:41 -04:00
repair_segment_test.go cmd/satellite: repair-segment; add option to process csv file directly 2022-11-18 17:40:17 +00:00
repair_segment.go satellite/metabase: add piece size calculation to segment 2023-02-22 11:04:02 +00:00
repairer.go satellite/audit: newContainment->containment 2022-12-16 17:59:52 +00:00
testdata_test.go satellite: optional migration for integration tests 2022-10-04 11:35:03 +02:00
testdata.go {satellite/console,web/satellite}: get project salt from satellite 2022-10-12 19:06:27 +00:00
usage.go Allow for DB application names per process. (#3983) 2020-12-04 11:24:39 +01:00

Satellite

Documentation for developing and building the satellite service

Usage:

First make an identity:

go install storj.io/storj/cmd/satellite
satellite setup

You can edit ~/.storj/satellite/config.yaml to your liking. Then run it!

satellite run