Welcome! Log In Create A New Profile

Advanced

Re: mogilefs module 1.0.2

Daniel
August 06, 2009 11:33PM
Valery
> Well, the end user can upload directly to this as soon as it does via PUT request. Nginx already provides all necessary validations for PUT requests.
>

This functionality would be very useful. I'm testing the mogilefs
module is spare time, and is working smoothly.
My servers ,all virtuals, are:

Reverse Proxy 1 : Nginx0.7.61 + mogilefs_module 1.0.2 - setting to
download only
Mogile Tracker 1 & 2 : mogilefsd , mysqld
Mogile Stored 1 - 3 : mogstored , Nginx 0.7.61 + http_dav_module
Upload Server : Nginx0.7.61 + mogilefs_module 1.0.2 + upload_module
2.0.9, php-fpm+curl - To upload a file from a form.html(using POST) the
upload_module will run (upload_pass=putfile.php) which is a php script
that PUTs the file to mogilefs_module.

> >I'm not sure if this is something you have to handle or the mogilefs
> > infrastructure does, but if you have defined multiple replicas for a
> > specific domain does this work like it should (I would assume that it
> > would return multiple nodes then)? Is it your modules responsibility
> > or does the tracker and it's processes handle distributing the files
> > amongst the other replicas?
>
> No, at the moment it makes only one replica, but I plan to implement replication at desired minimal number of nodes simultaneously
The system is running without problems. I sent a PDF File And the
Mogilefs tracker replicates the file around the Storages servers.
Sending the file one time is enough, the tracker will replicate the
files. About size I sent a CD iso image without problems (
client_max_body_size=1000k).

As i said in the first sentence linking POST to PUT would be useful,
maybe making a bridge between your Upload module and Mogilefs module
could be enough to do the task.
In other point as Michael said, using variables to set mogilefs_domain
would be useful too.
I looked the source but I didn't find how to set the Class for
uploading files.

Thanks for the modules.
I will still testing around.

Tuqui


Valery Kholodkov さんは書きました:
> ----- Michael Shadle <mike503@gmail.com> wrote:
>
>> On Jul 27, 2009, at 11:21 PM, Valery Kholodkov <valery+nginxen@grid.net.ru
>> > wrote:
>>
>>> Remember that you do PUT request, not a POST request.
>>>
>> So there still needs to be some sort of handler between this and the
>> end user, technically. Yes? I got confused and was thinking the end
>> user could directly upload to this (hence asking about dynamic and
>> variable things)
>>
>
> Well, the end user can upload directly to this as soon as it does via PUT request. Nginx already provides all necessary validations for PUT requests.
>
> For POST requests I plan to implement a module which does conversion from POST to PUT internally in nginx. This will allow implementing a scalable web storage entirely on nginx. This module will be able to work with your partial upload thingy as well.
>
>


--
*********************************************************
仲宗根 ダニエル
マリーン・システム・アソシエイツ株式会社
〒900-0036 沖縄県浦添市牧港5丁目2番1号
沖縄電力本店別館6F
Tel : 098-942-5575
Fax : 098-942-5574
URL : www.telesat.co.jp
www.netfan.ne.jp
Mail : daniel@telesat.co.jp
*********************************************************
Daniel Nakasone
Marine System Associates, Inc.
Address : 5-2-1 Makiminato Annex 6F
Urasoe City,
Okinawa Japan 900-0036
Tel : +81-98-942-5575
Fax : +81-98-942-5574
URL : www.telesat.co.jp
www.netfan.ne.jp
Mail : daniel@telesat.co.jp
*********************************************************
Subject Author Posted

mogilefs module 1.0.2

Valery Kholodkov July 25, 2009 01:22PM

Re: mogilefs module 1.0.2

mike July 25, 2009 03:56PM

Re: mogilefs module 1.0.2

Valery Kholodkov July 25, 2009 05:20PM

Re: mogilefs module 1.0.2

mike July 25, 2009 05:44PM

Re: mogilefs module 1.0.2

Igor Sysoev July 27, 2009 05:47AM

Re: mogilefs module 1.0.2

mike July 27, 2009 11:57AM

Re: mogilefs module 1.0.2

Valery Kholodkov July 27, 2009 05:48AM

Re: mogilefs module 1.0.2

mike July 27, 2009 11:59AM

Re: mogilefs module 1.0.2

Valery Kholodkov July 27, 2009 01:48PM

Re: mogilefs module 1.0.2

Daniel July 28, 2009 12:10AM

Re: mogilefs module 1.0.2

Valery Kholodkov July 28, 2009 01:51AM

Re: mogilefs module 1.0.2

mike July 28, 2009 02:07AM

Re: mogilefs module 1.0.2

Valery Kholodkov July 28, 2009 02:21AM

Re: mogilefs module 1.0.2

mike July 28, 2009 03:38AM

Re: mogilefs module 1.0.2

Valery Kholodkov July 28, 2009 06:55AM

Re: mogilefs module 1.0.2

mike July 28, 2009 01:14PM

Re: mogilefs module 1.0.2

Valery Kholodkov July 30, 2009 07:35AM

Re: mogilefs module 1.0.2

mike July 30, 2009 12:47PM

Re: mogilefs module 1.0.2

Daniel August 06, 2009 11:33PM

Re: mogilefs module 1.0.2

Valery Kholodkov August 07, 2009 01:16PM

Re: mogilefs module 1.0.2

Daniel August 10, 2009 04:54AM

Re: mogilefs module 1.0.2

Valery Kholodkov August 10, 2009 02:14PM

Re: mogilefs module 1.0.2

Daniel August 11, 2009 01:09AM

Re: mogilefs module 1.0.2

gogobu August 30, 2009 03:47AM

Re: mogilefs module 1.0.2

Valery Kholodkov August 30, 2009 04:56AM

Re: mogilefs module 1.0.2

mike July 28, 2009 02:04AM

Re: mogilefs module 1.0.2

Valery Kholodkov July 28, 2009 02:14AM

Re: mogilefs module 1.0.2

mike July 28, 2009 03:41AM

Re: mogilefs module 1.0.2

Valery Kholodkov July 28, 2009 06:45AM

Re: mogilefs module 1.0.2

mike July 28, 2009 01:16PM

Re: mogilefs module 1.0.2

Valery Kholodkov July 30, 2009 06:28AM

Re: mogilefs module 1.0.2

mike July 30, 2009 12:51PM

Re: mogilefs module 1.0.2

davent August 31, 2009 11:57AM

Re: mogilefs module 1.0.2

Valery Kholodkov August 07, 2009 06:59AM

Re: mogilefs module 1.0.2

gogobu August 30, 2009 08:44AM

Re: mogilefs module 1.0.2

Valery Kholodkov August 30, 2009 09:41AM

Re: mogilefs module 1.0.2

gogobu August 30, 2009 11:15AM

Re: mogilefs module 1.0.2

mike August 30, 2009 02:32PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 168
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready