Comments (4)
Is this related to #205?
from syncstorage-rs.
Is this related to #205?
Nope, this is different.
It involves encoding some more information into the next_offset
value passed to the client and an accompanying decoder of said value (as the client passes it back in to the service)
from syncstorage-rs.
Quick overview of work:
- Create new struct for
Offset
{timestamp: Option<SyncTimestamp>, offset: i64}
- Include impl for From, Debug, etc.
- Convert
Paginated
to useoffset: Option<Offset>
- Modify Mysql & Spanner to use new Offset heuristic
- Add tests
from syncstorage-rs.
A new struct may not be totally necessary if offset is just a String. The encode/decode methods can return the extracted types.
On the other hand the extractors could be responsible for producing this new struct and could even potentially validate the format.
This is an optional optimization, so the python version leaves impl. of it up to the db layer, for it to decide if it wants to support it
from syncstorage-rs.
Related Issues (20)
- Remove browserid from tokenserver and syncserver documentation HOT 2
- Catalog all Syncstorage and Tokenserver metrics HOT 1
- Update README file
- `secret` is missing from this call HOT 1
- Add ReportableError hooks for adding tags/extras to metrics/sentry events HOT 1
- Syncserver not working with error .../1.5/1/info/collections failed with status 401 in sync-log
- Is there a way to restrict usage
- Is it possible to run thos without the google cloud? HOT 3
- tools/tokenserver: package or not? HOT 4
- Bump python libs per security alerts HOT 2
- Investigate Cloud Spanner's managed TTL feature
- Support alternative system memory allocators (malloc)
- Quiet dbg! calls HOT 1
- Incorrect venv setup causes fxa module to not be found (MySQL) HOT 2
- Complete a technical breakdown for decommissioning Tokenserver
- Improve From<ErrorKind> for Error
- Investigate Tokenserver db pool initialization failures on production HOT 8
- Switch to ruff for python linting.
- Guide how to get the server running HOT 1
- Scrub request uris from sentry events
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 syncstorage-rs.