Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introducing 'info' request #8

Merged
merged 1 commit into from
Aug 10, 2018
Merged

Introducing 'info' request #8

merged 1 commit into from
Aug 10, 2018

Conversation

loerum
Copy link
Contributor

@loerum loerum commented Nov 17, 2017

Implementing a "info" request to a move it server. For a request with topic "topic"
and type "info" the server will reply with a list of published files belonging to
topics starting with "topic".

Notes (and room for improvements):

  • Server will keep cache of published files (like client).
  • Currently there is some (arbitrary) limit on cache size and amount of data to be send.
  • The cache is not persistent. This is kind of OK, since a server on start up, will publish
    files in "origin" (not quite correct, the original order of published files are lost).
  • Introducing bin/move_it_req.py to send request (ping or info) to a server.
  • No time stamp on published files, so an info request can only specify a max count of files
    (not what has been published since yesterday at 12).

@mraspaud
Copy link
Member

@loerum lgtm, can I merge this ?

@mraspaud mraspaud merged commit ae09bf2 into develop Aug 10, 2018
@mraspaud mraspaud deleted the feature-info branch August 10, 2018 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants