Skip to content
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.

Q: Incremental persistent storage #116

Open
suntong opened this issue Oct 13, 2020 · 0 comments
Open

Q: Incremental persistent storage #116

suntong opened this issue Oct 13, 2020 · 0 comments

Comments

@suntong
Copy link

suntong commented Oct 13, 2020

I've read that riot supports

and I've also read that

...the Persistent storage data is stored to the hard disk solely when the program closes. The data is then restored from the hard disk when the program restarts ( https://github.com/go-ego/riot/blob/master/docs/zh/persisten... )...

and I've tried to read the examples/codelab/search_server.go,all in trying to understand how the whole thing works.

However, there is still one thing that I am still unable to figure out.

the examples/codelab/search_server.go

  • read all 1M 500M blog data once,
  • index on them, then
  • provide search functionality

However, what if my blog is built day by day. I.e.,

  • each day several new blog entries need to be added and indexed
  • and most importantly, the old blog entries that have already been indexed, do not need to be re-indexed again

I.e., how to build such persistent storage or searching capability incrementally? THX!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant