3 ms·
There is no memcache - there is just TAO, and it talks to the database. TAO is a read/write-through cache, so the only way the data changes in the database is
by nbm 12y ago
There is no memcache - there is just TAO, and it talks to the database. TAO is a read/write-through cache, so the only way the data changes in the database is through TAO. TAO contains the indices necessary to answer queries like that efficiently (although there may be other systems for doing similar but more specialized or slightly different queries), as well as a cache of the data.
So, when you add a comment, TAO updates its internal structures with the new comment in the right place (after the DB is updated), and there are no "keys" that need to be updated beyond that.
- Cakez0r 12y agoThank you!
- tkinom 12y agoNice, BTW, TAO itself is not opensource? right. :-) I love to try build a golang version of TAO as good mental exercise. Anyone if something similar in golang or any other open source packages exist already? Anyone else interested in such thing?
- tkinom 12y agoAre the TAO APIs asynchronous? Are there any document on the parameters of those APIs? :-)
- Cakez0r 12y agoThere is a whitepaper about the details of TAO at https://www.cs.cmu.edu/~pavlo/courses/fall2013/static/papers/11730-atc13-bronson.pdf https://www.cs.cmu.edu/~pavlo/courses/fall2013/static/papers...