Comments (6)
all implemented except for post id map
from hivemind.
Based on profiling, post id map
has marginal benefits right now. Managing cached post flushing is more important and being handled in alt-cache
branch.
from hivemind.
post cache
edit vote reply new
post_id x
author x
permlink x
category x
depth x
children x x
title x x
preview x x
body x x
img_url x x
payout x x
promoted x x
payout_at x x
updated_at x x
created_at x
rshares x x
votes x x
json x x
is_nsfw x x
is_paidout x x
sc_trend x x
sc_hot x x
flag_weight x x
total_votes x x
up_votes x x
is_hidden x x
is_grayed x x
author_rep x x
raw_json x x x
is_declined x x
is_full_power x x
minimal raw_json for reference:
{
"id": 20164398,
"root_comment": 20096395,
"curator_payout_value": "0.000 SBD",
"net_votes": 0,
"parent_author": "sergioss",
"parent_permlink": "re-anacristinasilva-pedras-no-caminho-20171211t145336052z",
"max_accepted_payout": "1000000.000 SBD",
"allow_replies": true,
"allow_votes": true,
"allow_curation_rewards": true,
"beneficiaries": [],
"url": "/writing/@anacristinasilva/pedras-no-caminho#@anacristinasilva/re-sergioss-re-anacristinasilva-pedras-no-caminho-20171212t011639135z",
"root_title": "Pedras no caminho...",
}
from hivemind.
accounts
update post vote sweep
name x
proxy x x
post_count x
reputation x
proxy_weight x
vote_weight x
kb_used - - - x
active_at x x
cached_at x ? ? x
display_name x
about x
location x
website x
profile_image x
cover_image x
raw_json x x
from hivemind.
Results of segmented hpc writes:
0.80ms per vote (before: 1.1+)
1.00ms per update (before: 1.1+)
0.67ms per insert (no change)
12.6% 208367ms 0.80avg 262055x -- UPDATE hive_posts_cache SET payout = :payout, promoted = :promoted, rshares = :rshares, votes = :votes, sc_trend = :sc_trend, sc_hot = :sc_hot, flag_weight = :flag_weight, total_vo
11.7% 192930ms 1.00avg 192297x -- UPDATE hive_posts_cache SET created_at = :created_at, payout_at = :payout_at, updated_at = :updated_at, title = :title, preview = :preview, body = :body, img_url = :img_url, is_nsf
6.1% 100382ms 0.67avg 149649x -- INSERT INTO hive_posts_cache (post_id, author, permlink, category, depth, created_at, payout_at, updated_at, title, preview, body, img_url, is_nsfw, is_declined, is_full_power, is_
from hivemind.
Completed in #82
from hivemind.
Related Issues (20)
- del
- review types 2 & 3 validation
- Sync doesn't work! HOT 1
- clarify startup config output
- nsfw validation HOT 1
- resolve feed/blog inconsistency HOT 1
- schema changes
- openmic tag missing HOT 2
- standardize new vs. legacy mute logic
- notifs: mark read HOT 1
- iredeemables/blacklists issues
- additional community props HOT 5
- iredeemables spamming reply notifications
- get_community timings HOT 1
- Allow pagination for method 'list_subscribers'
- master merge prep
- Fat Node without market_history is apparently useless for hivemind
- I can't specify specialized endpoints
- Issue with the bridge.get_ranked_posts API
- The community title contains unexpected string HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hivemind.