Skip to content

Commit 2db0cf2

Browse files
adding benefits of decentralized network (#192)
* adding benefits of decentralized network * Styles + SEO image for Benefits page * Updated benefits * fixing tables * Finalized Co-authored-by: Benoît Rouleau <[email protected]>
1 parent 3f4d643 commit 2db0cf2

File tree

6 files changed

+200
-78
lines changed

6 files changed

+200
-78
lines changed

components/Table.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ export const Table = ({ children, ...props }: TableProps) => {
99
<Text as="div" size="16px" sx={{ mt: Spacing['24px'], mb: Spacing['32px'], overflowX: 'auto' }}>
1010
<table
1111
sx={{
12-
width: 'auto',
1312
'&, & th, & td': {
1413
p: Spacing['16px'],
1514
// Border color has to be opaque because collapsed borders overlap
@@ -20,6 +19,9 @@ export const Table = ({ children, ...props }: TableProps) => {
2019
fontWeight: FontWeight.SEMIBOLD,
2120
textAlign: 'center',
2221
},
22+
'& tr:has(.highlight-row) td, & td:has(.highlight-cell)': {
23+
bg: 'Purple8',
24+
},
2325
}}
2426
{...props}
2527
>

navigation/navigation.ts

+3
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ export const navigation = (locale: AppLocale): NavItemDefinition[] => [
1919
{
2020
slug: 'overview',
2121
},
22+
{
23+
slug: 'benefits',
24+
},
2225
{
2326
slug: 'indexing',
2427
},

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
},
2222
"dependencies": {
2323
"@docsearch/react": "^3.2.1",
24-
"@edgeandnode/components": "^23.0.10",
24+
"@edgeandnode/components": "^23.1.3",
2525
"@emotion/react": "^11.10.0",
2626
"@mdx-js/loader": "^2.1.3",
2727
"@mdx-js/react": "^2.1.3",

pages/en/network/benefits.mdx

+109
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
---
2+
title: The Graph Network vs. Self Hosting
3+
navTitle: Benefits
4+
seo:
5+
openGraph:
6+
images:
7+
- url: https://thegraph.com/docs/img/seo/benefits.jpg
8+
alt: The Graph Network vs. Self Hosting
9+
---
10+
11+
The Graph’s decentralized network has been engineered and refined to create a robust indexing and querying experience—and it’s getting better every day thanks to thousands of contributors around the world. The benefits of this decentralized protocol cannot be replicated by running a graph node locally. The Graph Network is more reliable, more efficient, and less expensive. Here is an analysis:
12+
13+
## Why You Should Use The Graph Network
14+
15+
- 60-98% lower monthly cost
16+
- $0 infrastructure setup costs
17+
- Superior uptime
18+
- Access to 168 Indexers (and counting)
19+
- 24/7 technical support by global community
20+
21+
## Breaking Down the Benefits of Using The Graph Network
22+
23+
### Lower & more Flexible Cost Structure
24+
25+
No contracts. No monthly fees. Only pay for the queries you use—with an average cost-per-query of $0.0002\*<sup>†</sup>
26+
27+
\*Queries are priced in USD and paid for with GRT
28+
29+
<sup>†</sup>Query costs may vary; quoted cost is the average at time of publication
30+
31+
## Low Volume User (less than 30,000 queries per month)
32+
33+
| Cost Comparison | Self Hosted | Graph Network |
34+
| :--------------------------: | :-------------------------------------: | :------------------: |
35+
| Monthly server cost\* | $350 per month | $0 |
36+
| Query costs | $0+ | ~$15 per month |
37+
| Engineering time<sup>†</sup> | $400 per month | Included |
38+
| Queries per month | Limited to infra capabilities | 30,000 (autoscaling) |
39+
| Cost per query | $0 | $0.0005<sup>‡</sup> |
40+
| Infrastructure | Centralized | Decentralized |
41+
| Geographic redundancy | $750+ per additional node | Included |
42+
| Uptime | Varies | 99.9%+ |
43+
| Total Monthly Costs | <span className="highlight-row" />$750+ | ~$15 |
44+
45+
\*including costs for backup: $50-$100 per month
46+
47+
<sup>†</sup>Engineering time based on $200 per hour assumption
48+
49+
<sup>‡</sup>using the max query budget function in the budget billing tab, while maintaining high quality of service
50+
51+
## Medium Volume User (3,000,000+ queries per month)
52+
53+
| Cost Comparison | Self Hosted | Graph Network |
54+
| :--------------------------: | :--------------------------------------------------: | :------------------: |
55+
| Monthly server cost\* | $350 per month | $0 |
56+
| Query costs | $500 per month | $750 per month |
57+
| Engineering time<sup>†</sup> | $800 per month | Included |
58+
| Queries per month | Limited to infra capabilities | 3,000,000+ |
59+
| Cost per query | $0 | $0.00025<sup>‡</sup> |
60+
| Infrastructure | Centralized | Decentralized |
61+
| Engineering expense | $200 per hour | Included |
62+
| Geographic redundancy | $1,200 in total costs per additional node | Included |
63+
| Uptime | Varies | 99.9%+ |
64+
| Total Monthly Costs | <span className="highlight-row" /> $1,650+ per month | $750 per month |
65+
66+
\*including costs for backup: $50-$100 per month
67+
68+
<sup>†</sup>Engineering time based on $200 per hour assumption
69+
70+
<sup>‡</sup>using the max query budget function in the budget billing tab, while maintaining high quality of service
71+
72+
## High Volume User (30,000,000+ queries per month)
73+
74+
| Cost Comparison | Self Hosted | Graph Network |
75+
| :--------------------------: | :-----------------------------------------: | -------------------- |
76+
| Monthly server cost\* | $1100 per month, per node | $0 |
77+
| Query costs | $4000 | $4,500 per month |
78+
| Number of nodes needed | 10 | Not applicable |
79+
| Engineering time<sup>†</sup> | $6,000 or more per month | Included |
80+
| Queries per month | Limited to infra capabilities | 30,000,000+ |
81+
| Cost per query | $0 | $0.00015<sup>‡</sup> |
82+
| Infrastructure | Centralized | Decentralized |
83+
| Geographic redundancy | $1,200 in total costs per additional node | Included |
84+
| Uptime | Varies | 99.9%+ |
85+
| Total Monthly Costs | <span className="highlight-row" /> $11,000+ | $4,500 per month |
86+
87+
\*including costs for backup: $50-$100 per month
88+
89+
<sup>†</sup>Engineering time based on $200 per hour assumption
90+
91+
<sup>‡</sup>using the max query budget function in the budget billing tab, while maintaining high quality of service
92+
93+
Estimated costs only for Ethereum Mainnet subgraphs— costs are even higher when self hosting a graph node on other networks.
94+
95+
Curating signal on a subgraph is an optional one-time, net-zero cost (e.g., $1k in signal can be curated on a subgraph, and later withdrawn—with potential to earn returns in the process).
96+
97+
Some users may need to upgrade subgraphs. Due to Ethereum gas fees, upgrades cost ~$50 per upgrade at time of this writing.
98+
99+
## No Setup Costs & Greater Operational Efficiency
100+
101+
Zero setup fees. Get started immediately with no setup or overhead costs. No hardware requirements. No outages due to centralized infrastructure, and more time to concentrate on your core product . No need for backup servers, troubleshooting, or expensive engineering resources.
102+
103+
## Reliability & Resiliency
104+
105+
The Graph’s decentralized network gives users access to geographic redundancy that does not exist when self-hosting a graph node. Queries are served reliably thanks to 99.9%+ uptime, achieved by 168 Indexers (and counting) securing the network globally.
106+
107+
Bottom line: The Graph Network is less expensive, easier to use, and produces superior results compared to running a graph node locally.
108+
109+
Start using The Graph Network today - [learn how to migrate or deploy your subgraph](https://thegraph.com/blog/how-to-migrate-ethereum-subgraph).

public/img/seo/benefits.jpg

519 KB
Loading

0 commit comments

Comments
 (0)