Professional Documents
Culture Documents
Streaming Project
Paul McCullagh
PrimeBase Technologies GmbH
www.blobstreaming.org
MySQL
MySQL Server
Client
max_allowed_packet
MySQL
Server
Streaming
Client
Continuous Data
Stream
mybs_reference
BLOB
Table_name
Repository
Column_name PK
Row_condition
Blob_id
Blob_url
mybs_repository Repository_id
Repo_blob_offset FK
Repository_id
PK 1:m Deletion_time
Repo_blob_offset Remove_in
Blob_size
Access_code
Creation_time
Last_ref_time
One entry Last_access_time One entry
for each Content_type for each
BLOB in the Blob_data Reference to
repository a BLOB
5 ~.0 …
(4)
SQL INSERT
(2) MySQL
(1) 200 OK Front-end
HTTP PUT
http://.../test/my_test_tab (3)
© Copyright 2008 PrimeBase Technologies Paul McCullagh www.primebase.org
SELECTING a BLOB…
PBXT MyBS
notes_tab
5 ~.0 …
(1) (3)
SQL SELECT HTTP GET
(4)
MySQL 200 OK
Front-end
(2)
• Upload a BLOB
• INSERT the BLOB URL (reference)
• View the BLOB Repository
• SELECT the BLOB URL from the table.
• Use the URL to retrieve the BLOB.
(6)
(4) INSERT notes_tab Replicate notes_tab
(2)
~*test/~1–12...08–1
(8) ?
GET
(1) PUT
(9)
Repository
Servers
PUT
INSERT
http://www.blobstreaming.org
http://sourceforge.net/projects/mybs
http://pbxt.blogspot.com