RE: async massive ping

2016-11-30 Thread Wang, Xinfeng
Thank you, David.
Now I uploaded the file to cpan, and I see it’s there 
https://pause.perl.org/pause/authenquery?ACTION=show_files
but when I try “register Namespace”, I don’t know where to do it. So the 
following is blank.
https://metacpan.org/author/XINFWANG/releases
can you tell me how to
Announce to the modules list
Once uploaded, it'll sit unnoticed in your author directory. If you want it 
connected to the rest of the CPAN, you'll need to go to "Register Namespace" on 
PAUSE. Once registered, your module will appear in the by-module and 
by-category listings on CPAN.


Best Regards!
Xinfeng Wang

From: David Golden [mailto:x...@xdg.me]
Sent: Tuesday, November 29, 2016 3:12 AM
To: Wang, Xinfeng <xinfw...@ebay.com>
Cc: modules@perl.org
Subject: Re: async massive ping

Hi, Xinfeng.  Here are some resources that might help you:

  *   http://perldoc.perl.org/perlnewmod.html
  *   http://www.slideshare.net/brian_d_foy/create-and-upload-to-cpan
Regards,
David

On Mon, Nov 28, 2016 at 5:19 PM, Wang, Xinfeng 
<xinfw...@ebay.com<mailto:xinfw...@ebay.com>> wrote:
Hi, perl experts and manager:
I used perl for many years, usually I just use the modules on cpan, but when I 
tried to ping 10,000 servers with async ping module on cpan, none of them 
really worked.
It isn’t so hard, I just wrote the code by myself in perl.
it can be done in 5 seconds(timout 5 seconds) on quite an ordinary server, with 
1 sending process and 1 receiving process. (I think I can make it in 1 process )
I hope other engineers can use this wonderful feature too, but I don’t know 
anything about how to create Makefile, testing, etc.
What can I do to share my code?

Best Regards!
Xinfeng Wang




--
David Golden <x...@xdg.me<mailto:x...@xdg.me>> Twitter/IRC/GitHub: @xdg


RE: async massive ping

2016-11-30 Thread Wang, Xinfeng
Sorry, I see it’s already working on CPAN now.
So we don’t need to “register namespace” anymore, right?

Best Regards!
Xinfeng Wang

From: Wang, Xinfeng
Sent: Wednesday, November 30, 2016 11:42 AM
To: 'David Golden' <x...@xdg.me>
Cc: modules@perl.org
Subject: RE: async massive ping

Thank you, David.
Now I uploaded the file to cpan, and I see it’s there 
https://pause.perl.org/pause/authenquery?ACTION=show_files
but when I try “register Namespace”, I don’t know where to do it. So the 
following is blank.
https://metacpan.org/author/XINFWANG/releases
can you tell me how to
Announce to the modules list
Once uploaded, it'll sit unnoticed in your author directory. If you want it 
connected to the rest of the CPAN, you'll need to go to "Register Namespace" on 
PAUSE. Once registered, your module will appear in the by-module and 
by-category listings on CPAN.


Best Regards!
Xinfeng Wang

From: David Golden [mailto:x...@xdg.me]
Sent: Tuesday, November 29, 2016 3:12 AM
To: Wang, Xinfeng <xinfw...@ebay.com<mailto:xinfw...@ebay.com>>
Cc: modules@perl.org<mailto:modules@perl.org>
Subject: Re: async massive ping

Hi, Xinfeng.  Here are some resources that might help you:

  *   http://perldoc.perl.org/perlnewmod.html
  *   http://www.slideshare.net/brian_d_foy/create-and-upload-to-cpan
Regards,
David

On Mon, Nov 28, 2016 at 5:19 PM, Wang, Xinfeng 
<xinfw...@ebay.com<mailto:xinfw...@ebay.com>> wrote:
Hi, perl experts and manager:
I used perl for many years, usually I just use the modules on cpan, but when I 
tried to ping 10,000 servers with async ping module on cpan, none of them 
really worked.
It isn’t so hard, I just wrote the code by myself in perl.
it can be done in 5 seconds(timout 5 seconds) on quite an ordinary server, with 
1 sending process and 1 receiving process. (I think I can make it in 1 process )
I hope other engineers can use this wonderful feature too, but I don’t know 
anything about how to create Makefile, testing, etc.
What can I do to share my code?

Best Regards!
Xinfeng Wang




--
David Golden <x...@xdg.me<mailto:x...@xdg.me>> Twitter/IRC/GitHub: @xdg


Re: async massive ping

2016-11-30 Thread David Golden
There's no need to "register".  That's an anachronism we haven't eliminated
yet.

Your module is indexed and available for download.  It just takes a few
minutes to propagate.

On Wed, Nov 30, 2016 at 2:41 PM, Wang, Xinfeng <xinfw...@ebay.com> wrote:

> Thank you, David.
>
> Now I uploaded the file to cpan, and I see it’s there
> https://pause.perl.org/pause/authenquery?ACTION=show_files
>
> but when I try “register Namespace”, I don’t know where to do it. So the
> following is blank.
>
> https://metacpan.org/author/XINFWANG/releases
>
> can you tell me how to
>
> *Announce to the modules list*
>
> Once uploaded, it'll sit unnoticed in your author directory. If you want
> it connected to the rest of the CPAN, you'll need to go to "Register
> Namespace" on PAUSE. Once registered, your module will appear in the
> by-module and by-category listings on CPAN.
>
>
>
>
>
> Best Regards!
>
> Xinfeng Wang
>
>
>
> *From:* David Golden [mailto:x...@xdg.me]
> *Sent:* Tuesday, November 29, 2016 3:12 AM
> *To:* Wang, Xinfeng <xinfw...@ebay.com>
> *Cc:* modules@perl.org
> *Subject:* Re: async massive ping
>
>
>
> Hi, Xinfeng.  Here are some resources that might help you:
>
>- http://perldoc.perl.org/perlnewmod.html
>- http://www.slideshare.net/brian_d_foy/create-and-upload-to-cpan
>
> Regards,
>
> David
>
>
>
> On Mon, Nov 28, 2016 at 5:19 PM, Wang, Xinfeng <xinfw...@ebay.com> wrote:
>
> Hi, perl experts and manager:
>
> I used perl for many years, usually I just use the modules on cpan, but
> when I tried to ping 10,000 servers with async ping module on cpan, none of
> them really worked.
>
> It isn’t so hard, I just wrote the code by myself in perl.
>
> it can be done in 5 seconds(timout 5 seconds) on quite an ordinary server,
> with 1 sending process and 1 receiving process. (I think I can make it in 1
> process )
>
> I hope other engineers can use this wonderful feature too, but I don’t
> know anything about how to create Makefile, testing, etc.
>
> What can I do to share my code?
>
>
>
> Best Regards!
>
> Xinfeng Wang
>
>
>
>
>
>
> --
>
> David Golden <x...@xdg.me> Twitter/IRC/GitHub: @xdg
>



-- 
David Golden <x...@xdg.me> Twitter/IRC/GitHub: @xdg


Re: async massive ping

2016-11-29 Thread David Golden
Hi, Xinfeng.  Here are some resources that might help you:

   - http://perldoc.perl.org/perlnewmod.html
   - http://www.slideshare.net/brian_d_foy/create-and-upload-to-cpan

Regards,
David

On Mon, Nov 28, 2016 at 5:19 PM, Wang, Xinfeng  wrote:

> Hi, perl experts and manager:
>
> I used perl for many years, usually I just use the modules on cpan, but
> when I tried to ping 10,000 servers with async ping module on cpan, none of
> them really worked.
>
> It isn’t so hard, I just wrote the code by myself in perl.
>
> it can be done in 5 seconds(timout 5 seconds) on quite an ordinary server,
> with 1 sending process and 1 receiving process. (I think I can make it in 1
> process )
>
> I hope other engineers can use this wonderful feature too, but I don’t
> know anything about how to create Makefile, testing, etc.
>
> What can I do to share my code?
>
>
>
> Best Regards!
>
> Xinfeng Wang
>
>
>



-- 
David Golden  Twitter/IRC/GitHub: @xdg


RE: async massive ping

2016-11-28 Thread Wang, Xinfeng
I just changed it to a single process, it can ping 25000 servers per second.
With 2 processes, it can ping about 45000 servers per second.


Best Regards!
Xinfeng Wang

From: Wang, Xinfeng
Sent: Monday, November 28, 2016 2:19 PM
To: 'modules@perl.org' 
Subject: async massive ping

Hi, perl experts and manager:
I used perl for many years, usually I just use the modules on cpan, but when I 
tried to ping 10,000 servers with async ping module on cpan, none of them 
really worked.
It isn't so hard, I just wrote the code by myself in perl.
it can be done in 5 seconds(timout 5 seconds) on quite an ordinary server, with 
1 sending process and 1 receiving process. (I think I can make it in 1 process )
I hope other engineers can use this wonderful feature too, but I don't know 
anything about how to create Makefile, testing, etc.
What can I do to share my code?

Best Regards!
Xinfeng Wang