File downloading in python client

Asked by Bartek

Hi,

I'm wondering about one thing: does python client using md5 checksumed chunks system to download files? If yes, those md5 are calculated when needed for particular chunk, or calculated on upload time and stored in db for every single chunk?

I had big problems with my 30 clients on 1.0.3 server, when all clients started to download a lot of material (some mpegs = a lot of material ;)) in one time and server had to checksum a lot of data on the fly. There can be similar problem, but probably only on fast lans that would request a lot of chunks very fast.

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
Alex Harrington
Solved:
Last query:
Last reply:
Revision history for this message
Best Alex Harrington (alexharrington) said :
#1

1.0.4 server stores the md5 for the whole file, so there's no need for it to be calculated each time it's served.

The python client doesn't md5 each chunk but it does correctly detect incorrect files and download them again.

I was running one of your playlists on it last night and it looked really good.

Alex

--- original message ---
From: "Bartek" <email address hidden>
Subject: [Question #94421]: File downloading in python client
Date: 17th December 2009
Time: 8:27:20 pm

New question #94421 on Xibo:
https://answers.launchpad.net/xibo/+question/94421

Hi,

I'm wondering about one thing: does python client using md5 checksumed chunks system to download files? If yes, those md5 are calculated when needed for particular chunk, or calculated on upload time and stored in db for every single chunk?

I had big problems with my 30 clients on 1.0.3 server, when all clients started to download a lot of material (some mpegs = a lot of material ;)) in one time and server had to checksum a lot of data on the fly. There can be similar problem, but probably only on fast lans that would request a lot of chunks very fast.

--
You received this question notification because you are a member of Xibo
Developers, which is an answer contact for Xibo.

This email carries a disclaimer, a copy of which may be read at http://learning.longhill.org.uk/disclaimer

Revision history for this message
Bartek (czajka) said :
#2

Thanks Alex Harrington, that solved my question.

Revision history for this message
elBoB (m-seer) said :
#3

Is there a Python Client for version 1.0.x?
Or are you using the 1.1 Client with 1.0 Server?
Is it stable enough already?
elBoB

Revision history for this message
Alex Harrington (alexharrington) said :
#4

It really depends what you need it to do.

I'm about to start a bit of a code sprint over the Xmas period to get it in to a usable state.

You'll also need nVidia graphics cards for it to work at the moment.

Alex

--- original message ---
From: "elBoB" <email address hidden>
Subject: RE: [Question #94421]: File downloading in python client
Date: 18th December 2009
Time: 10:40:46 am

Question #94421 on Xibo changed:
https://answers.launchpad.net/xibo/+question/94421

elBoB posted a new comment:
Is there a Python Client for version 1.0.x?
Or are you using the 1.1 Client with 1.0 Server?
Is it stable enough already?
elBoB

--
You received this question notification because you are a member of Xibo
Developers, which is an answer contact for Xibo.

This email carries a disclaimer, a copy of which may be read at http://learning.longhill.org.uk/disclaimer