# <center> Feast your Eyes</center> <center>[](https://www.steemimg.com/image/vDG2Z)</center> # <center> not sure what you're seeing?</center> Okay no problem, I'll explain. [Ingestron](github.com/faddat/ingestron) is getting some retooling. Ingestron's big brother steemjson is just a bit grandioise for one guy at the moment. We'll get there of course, but right now I'm more comfortable with a single main.go and less [cobra](github.com/spf13/cobra) around in the garden. As someone who stands to gain a great deal from the chain having a new valuation of >$1B, I'm doing what I can to make that happen. At the moment, "what I can" can be described as "making components that allow for web developers to develop sites against the content in the STEEM chain that do privileged transactions via the browser, and non-priveliged transactions via the back end, which is cached for speed." Let's bust out everyone's pal, mermaid for a little diagram of which common dev problems I think this pattern can solve by leveraging STEEM's content-blockchain: ### <center>Today's Intarwebs</center> <center> [](https://www.steemimg.com/image/vpchL)</center> This is a familiar, if somewhat inefficent pattern that can be made extremely fast by putting one caching proxy server in fromt of the web server like this: [](https://www.steemimg.com/image/vpg1J) That's still very fast, even if it's inefficent. But here's what we're doing with steemit.com: [](https://www.steemimg.com/image/vpuVa) There are some great reasons for this design, like security. But there are other ways to get security, which brings me right around back to my point: # <center> Feast your Eyes</center> <center>[](https://www.steemimg.com/image/vDG2Z)</center> Ingestron is now running smooth as butter. The next step is to define local contexts for running, and make a handbook showing how operators can deploy this customized, "state stashed but near" infrastructure. That is to say, in the next article I'll be telling you how to use STEEM to permanently and safely store your content and Ingestron to quickly retrieve your content. Oh, and another thing about ingestron: The databases are in RAM. ---- I think 4 graphs and 2 hours writing is enough for now. This post is not done. I'll pick up tomorrow, here's what we've got to cover: * Bitshares Compatibility * How Ingestron improves webdev with Steem. ---- Like this post? Follow @faddat! Follow @officialfuzzy! Learn some golang and help @faddat! ---- * Over 200 followers? I pay a buck for reblogs, because hell yeah, eyeballs! * Over 100 followers? Yep, you'll get fifty cents! * New follower of mine with >200 followers & >50rep & I can see you're not a twitter-bot-of-doom? That's a buck! * Insightful Comment? Twenty five cents! * Retarded comment, probably automated? FLAG! Yep, @faddat's posts pay, even if your "minnow math" doesn't.
author | faddat |
---|---|
permlink | ingestron-2-0-meaner-more-multithreaded-why-steem-is-ideal-internet-infrastructure-and-what-that-s-got-to-do-with-the-steem |
category | beyondbitcoin |
json_metadata | {"tags":["beyondbitcoin","steem","steveballmer","linux","developersdevelopers"],"image":["https://www.steemimg.com/images/2016/10/05/flyingblocks60fps6e183.gif","https://www.steemimg.com/images/2016/10/05/Selection_0390efeb.jpg","https://www.steemimg.com/images/2016/10/05/Selection_040f436d.png","https://www.steemimg.com/images/2016/10/05/Selection_04274cfe.png"],"links":["https://www.steemimg.com/image/vDG2Z","github.com/faddat/ingestron","github.com/spf13/cobra","https://www.steemimg.com/image/vpchL","https://www.steemimg.com/image/vpg1J","https://www.steemimg.com/image/vpuVa"],"users":["faddat","officialfuzzy"]} |
created | 2016-10-05 20:16:03 |
last_update | 2016-10-05 20:57:03 |
depth | 0 |
children | 2 |
last_payout | 2016-11-06 14:00:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 5.110 HBD |
curator_payout_value | 0.924 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 3,386 |
author_reputation | 36,581,868,473,026 |
root_title | "Ingestron 2.0 Meaner, More multithreaded; Why STEEM is ideal internet infrastructure and what that's got to do with the STEEM-conomy" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 1,453,675 |
net_rshares | 11,394,669,346,783 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
fuzzyvest | 0 | 6,272,420,605,837 | 100% | ||
boy | 0 | 5,620,798,619 | 100% | ||
bue-witness | 0 | 6,830,823,019 | 100% | ||
bunny | 0 | 1,199,471,118 | 100% | ||
bue | 0 | 102,779,785,591 | 100% | ||
mini | 0 | 3,010,854,959 | 100% | ||
moon | 0 | 385,973,007 | 100% | ||
joseph | 0 | 932,817,747,572 | 70% | ||
aizensou | 0 | 131,252,843,342 | 100% | ||
jason | 0 | 59,745,077,398 | 100% | ||
masteryoda | 0 | 604,054,426,232 | 100% | ||
steempower | 0 | 1,338,247,696,833 | 100% | ||
officialfuzzy | 0 | 499,551,646,093 | 100% | ||
proctologic | 0 | 31,090,533,906 | 100% | ||
idol | 0 | 4,657,230,716 | 70% | ||
healthcare | 0 | 1,130,076,725 | 100% | ||
daniel.pan | 0 | 1,771,035,835 | 100% | ||
sakr | 0 | 4,058,827,148 | 100% | ||
helen.tan | 0 | 520,793,841 | 100% | ||
jocelyn | 0 | 920,136,605 | 70% | ||
fkn | 0 | 1,000,570,241 | 3% | ||
kingscrown | 0 | 10,018,962,436 | 12% | ||
elishagh1 | 0 | 1,315,973,780 | 3% | ||
error | 0 | 1,041,335,203 | 70% | ||
faddat | 0 | 122,972,180,945 | 100% | ||
unonimity | 0 | 264,245,724 | 100% | ||
mark-waser | 0 | 7,335,291,304 | 100% | ||
geoffrey | 0 | 190,501,876,015 | 100% | ||
fyrstikken | 0 | 58,109,362,362 | 10% | ||
primus | 0 | 12,690,863,625 | 100% | ||
furion | 0 | 9,544,631,803 | 3% | ||
jesta | 0 | 793,259,578,740 | 100% | ||
snowden | 0 | 104,592,948 | 100% | ||
artific | 0 | 21,036,986,186 | 100% | ||
febird | 0 | 5,566,852,482 | 100% | ||
positive | 0 | 811,543,705 | 3% | ||
michaeldodridge | 0 | 28,450,788,002 | 100% | ||
naturalista | 0 | 2,384,595,102 | 100% | ||
jackieo | 0 | 57,427,409 | 100% | ||
contentjunkie | 0 | 6,346,943,104 | 100% | ||
funkywanderer | 0 | 2,539,989,106 | 100% | ||
azz | 0 | 50,747,644 | 100% | ||
richardcrill | 0 | 8,125,679,707 | 100% | ||
davidjkelley | 0 | 2,250,349,539 | 100% | ||
digital-wisdom | 0 | 17,312,925,253 | 100% | ||
ethical-ai | 0 | 3,823,760,255 | 100% | ||
reaction | 0 | 273,980,393 | 100% | ||
jwaser | 0 | 7,730,390,677 | 100% | ||
bluehorseshoe | 0 | 17,281,283,793 | 100% | ||
bwaser | 0 | 2,755,626,967 | 100% | ||
rucoin | 0 | 998,698,574 | 100% | ||
movietrailers | 0 | 121,099,173 | 100% | ||
portuguesinha | 0 | 1,114,051,859 | 100% | ||
natsbats | 0 | 60,940,044 | 100% | ||
peskov | 0 | 6,244,296,124 | 100% | ||
ellepdub | 0 | 2,541,815,350 | 100% | ||
herpetologyguy | 0 | 24,535,053,249 | 100% | ||
statsbot | 0 | 50,237,712 | 100% | ||
newsbot | 0 | 50,231,355 | 100% | ||
morgan.waser | 0 | 4,964,204,983 | 100% | ||
strong-ai | 0 | 3,801,716,525 | 100% | ||
peeweeherman | 0 | 59,925,503 | 100% | ||
cowboycurtis | 0 | 59,826,656 | 100% | ||
jambii | 0 | 59,812,259 | 100% | ||
coolcat | 0 | 119,595,498 | 100% | ||
opall | 0 | 119,508,642 | 100% | ||
chair | 0 | 119,434,229 | 100% | ||
conky | 0 | 122,575,561 | 100% | ||
sjamayee | 0 | 487,933,287 | 100% | ||
dacageagajurus | 0 | 160,651,697 | 100% | ||
dademurphy | 0 | 118,712,514 | 100% | ||
chart | 0 | 121,298,745 | 100% | ||
mrssteve | 0 | 121,252,154 | 100% | ||
towelie | 0 | 202,502,398 | 100% | ||
philipjfry | 0 | 120,829,814 | 100% | ||
mrhanky | 0 | 117,316,512 | 100% | ||
popcornmachine | 0 | 117,239,499 | 100% | ||
wilburtsmythe | 0 | 116,921,670 | 100% | ||
bitrx | 0 | 119,797,828 | 100% | ||
bluetrade | 0 | 116,118,972 | 100% | ||
shape | 0 | 115,776,967 | 100% | ||
onemyday | 0 | 1,654,540,251 | 100% | ||
highfive | 0 | 114,150,706 | 100% | ||
jebus | 0 | 114,125,620 | 100% | ||
clarence | 0 | 114,109,167 | 100% | ||
steemet | 0 | 113,450,900 | 100% | ||
qantheman | 0 | 115,600,095 | 100% | ||
charity | 0 | 111,723,162 | 100% | ||
annul | 0 | 111,650,024 | 100% | ||
suntzu | 0 | 110,704,651 | 100% | ||
mchammer | 0 | 110,694,217 | 100% | ||
vanilla | 0 | 110,097,723 | 100% | ||
vanillaice | 0 | 110,031,032 | 100% | ||
guerilla | 0 | 109,926,835 | 100% | ||
icet | 0 | 109,811,665 | 100% | ||
nedd | 0 | 109,253,277 | 100% | ||
kickass | 0 | 111,696,096 | 100% | ||
oreo | 0 | 108,689,127 | 100% | ||
solamatego | 0 | 146,446,320 | 100% | ||
ksyun | 0 | 146,321,787 | 100% | ||
curei | 0 | 107,701,531 | 100% | ||
currie | 0 | 106,936,726 | 100% | ||
ulia88 | 0 | 140,732,568 | 100% | ||
austinpowers | 0 | 105,475,650 | 100% | ||
steemot | 0 | 104,873,382 | 100% | ||
shapeshifter | 0 | 104,275,202 | 100% | ||
stun | 0 | 103,933,403 | 100% | ||
icecube | 0 | 106,271,368 | 100% | ||
view | 0 | 103,422,763 | 100% | ||
kitt | 0 | 105,166,486 | 100% | ||
katt | 0 | 102,236,767 | 100% | ||
itchy | 0 | 102,186,484 | 100% | ||
scratchy | 0 | 102,180,574 | 100% | ||
lafilip | 0 | 181,990,156 | 100% | ||
krusty | 0 | 101,974,145 | 100% | ||
scene | 0 | 101,728,019 | 100% | ||
fyrst-witness | 0 | 265,309,127 | 100% | ||
quimby | 0 | 108,800,158 | 100% | ||
wiggum | 0 | 130,186,046 | 100% | ||
baabeetaa | 0 | 4,445,849,374 | 100% |
Did you manage to fill the `tasks` chan buffer yet? In other words, does gorethink ever bottleneck?
author | furion |
---|---|
permlink | re-faddat-ingestron-2-0-meaner-more-multithreaded-why-steem-is-ideal-internet-infrastructure-and-what-that-s-got-to-do-with-the-steem-20161005t212344690z |
category | beyondbitcoin |
json_metadata | {"tags":["beyondbitcoin"]} |
created | 2016-10-05 21:23:45 |
last_update | 2016-10-05 21:23:45 |
depth | 1 |
children | 1 |
last_payout | 2016-11-06 14:00:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 1.940 HBD |
curator_payout_value | 0.645 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 99 |
author_reputation | 116,503,940,714,958 |
root_title | "Ingestron 2.0 Meaner, More multithreaded; Why STEEM is ideal internet infrastructure and what that's got to do with the STEEM-conomy" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 1,454,258 |
net_rshares | 6,895,044,637,981 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
fuzzyvest | 0 | 6,272,420,605,837 | 100% | ||
officialfuzzy | 0 | 499,551,646,093 | 100% | ||
faddat | 0 | 122,972,547,328 | 100% | ||
snowden | 0 | 99,838,723 | 100% |
For sure! And that's why I'm moving to an in-memory DB. But yes, absolutely, it got all constipated, and went down to approximately the same speed as the original because of gorethink which left me with two options: * Refactor to pass slices of strings of json to gorethink * Refactor to an in-memory DB. I'm playing with: * github.com/hashicorp/go-memdb (don't like the API much) * github.com/cayleygraph/cayley (leaning this way: it's embedded and can be totally in-memory.)
author | faddat |
---|---|
permlink | re-furion-re-faddat-ingestron-2-0-meaner-more-multithreaded-why-steem-is-ideal-internet-infrastructure-and-what-that-s-got-to-do-with-the-steem-20161005t214001897z |
category | beyondbitcoin |
json_metadata | {"tags":["beyondbitcoin"]} |
created | 2016-10-05 21:40:03 |
last_update | 2016-10-05 21:40:03 |
depth | 2 |
children | 0 |
last_payout | 2016-11-06 14:00:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 1.883 HBD |
curator_payout_value | 0.627 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 495 |
author_reputation | 36,581,868,473,026 |
root_title | "Ingestron 2.0 Meaner, More multithreaded; Why STEEM is ideal internet infrastructure and what that's got to do with the STEEM-conomy" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 1,454,397 |
net_rshares | 6,771,972,251,930 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
fuzzyvest | 0 | 6,272,420,605,837 | 100% | ||
officialfuzzy | 0 | 499,551,646,093 | 100% |