Re: Last day for FOSDEM submission

2021-12-31 Thread Wesley Peng via perl6-users
Replacing Bash scripts with Raku? That’s an interesting thing. Can Linux be shipped with Raku by default? hello people, I just discovered this this morning: https://www.reddit.com/r/rakulang/comments/rrcp4c/steal_these_ideas_for_raku_fosdem_talks/ I don't remember if there was a previous

Re: Last day for FOSDEM submission

2021-12-31 Thread Wesley Peng via perl6-users
Replacing Bash scripts with Raku? That’s an interesting thing. Can Linux be shipped with Raku by default? hello people, I just discovered this this morning: https://www.reddit.com/r/rakulang/comments/rrcp4c/steal_these_ideas_for_raku_fosdem_talks/ I don't remember if there was a previous

Re: [ANNOUNCE] Apache BookKeeper 4.13.0 released

2021-02-25 Thread Wesley Peng
great to hear that. thank you. On 26.02.2021 04:00, Andrey Yegorov wrote: The Apache BookKeeper team is proud to announce Apache BookKeeper version 4.13.0. Apache BookKeeper is a scalable, fault-tolerant, and low-latency storage service optimized for real-time workloads. It has been used as a

modperl vs fastcgi

2021-02-23 Thread Wesley Peng
Do you anybody have a comparison for modperl vs fastcgi? For both the performance and convenience of development/deployment. Thank you.

Re: [CFP] ApacheCon Asia about API/mrico service

2021-02-22 Thread Wesley Peng
nice to know it. thanks. On 23.02.2021 09:02, Ming Wen wrote: hello, dev, The ApacheCon Asia started CFP[1], and everyone is welcome to submit topics related to Apache APISIX. Both Mandarin and English are fine. Looking forward to it. [1] acasia2021.jamhosted.net

Re: master deps error【20210219】

2021-02-18 Thread Wesley Peng
QQ MIME sucks. please use a standard email product such as Gmail. On Fri, Feb 19, 2021, at 9:37 AM, 15717900 wrote: > hello, >I use Tencent virtual machine to compile the master > version. >the error message is > > > ---this is err >

Re: Moving ExecCGI to mod_perl - performance and custom 'modules' [EXT]

2021-02-07 Thread Wesley Peng
what's DBI sharing? do you mean Apache::DBI? Does perl has Java similar DB connection pool? Thanks. On Mon, Feb 8, 2021, at 4:21 AM, James Smith wrote: > DBI sharing doesn't really gain you much - and can actually lead you into a > whole world of pain. It isn't actually worth turning it on at

Re: Moving ExecCGI to mod_perl - performance and custom'modules'[EXT]

2021-02-07 Thread Wesley Peng
If you can take time to rewrite all codes with modPerl handlers, that will improve performance a lot. On Sun, Feb 7, 2021, at 9:14 PM, Steven Haigh wrote: > In fact, I just realised that 'ab' test is rather restrictive So here's a > bit more of an extended test: > > # ab -k -n 1000 -c 32 >

Re: Moving ExecCGI to mod_perl - performance and custom 'modules'

2021-02-06 Thread Wesley Peng
Is the url in your signature the website? It looks a beautiful UI design. And you can try this method: https://metacpan.org/pod/ModPerl::Registry Thanks. On Sun, Feb 7, 2021, at 8:59 AM, Steven Haigh wrote: > Hi all, > > So for many years I've been slack and writing perl scripts to do various

Re: dimensions in a multidimensional array

2021-02-05 Thread Wesley Peng
When will we have p6’s Numpy? On Sat, Feb 6, 2021, at 2:04 AM, Brad Gilbert wrote: > There is a reason that you can't just ask for the dimensions of an > unspecified multidimensional array. > It may be multiple dimensions. > > [[1,2,3], > [4,5,6,7,8,9,10]].shape > > If it gave a

Re: dimensions in a multidimensional array

2021-02-05 Thread Wesley Peng
When will we have p6’s Numpy? On Sat, Feb 6, 2021, at 2:04 AM, Brad Gilbert wrote: > There is a reason that you can't just ask for the dimensions of an > unspecified multidimensional array. > It may be multiple dimensions. > > [[1,2,3], > [4,5,6,7,8,9,10]].shape > > If it gave a

Re: Please can you opt me out from receiving mails from you.

2021-02-05 Thread Wesley Peng
You can send an email to beginners-unsubscr...@perl.org to unsubscribe yourself from it. On Fri, Feb 5, 2021, at 4:20 PM, ONYEDIKACHI NNADI wrote: > Please can you opt my email address dikachi4...@gmail.com from receiving > emails from you. Thanks in anticipation for your prompt action.

any blocked websocket client for perl?

2021-02-03 Thread Wesley Peng
I am trying to find a websocket client for perl. But most modules on cpan is asynchronous, such as AnyEvent::WebSocket::Client. Do you know if there is a synchronous websocket client library available? Thanks in advance. BTW, I tried to use the anyevent module above to access my WS service, it

Re: [VOTE] Relase Apache APISIX 2.3

2021-02-02 Thread Wesley Peng
Does it have an apt repo for installation on ubuntu? thanks. On Wed, Feb 3, 2021, at 3:00 PM, dabue wrote: > +1 binding > > I checked: > > 1. Download links are valid; > 2. Checksums and PGP signatures are valid; > 3. License and NOTICE files are good; > 4. All files have the necessary

A simple publish takes 9s to finish

2021-01-31 Thread Wesley Peng
Can you please see below why a simple publish take 9s to finish? Pulsar is deployed on a two cores VPS, and I run it with `pulsar-daemon start standalone` mode. Thanks. $ time bin/pulsar-client produce my-topic --messages "hello-pullsar fifth" 15:06:12.815 [pulsar-client-io-1-1] INFO

Re: CPU consuming question

2021-01-31 Thread Wesley Peng
ou happen to > have the log of the standalone server? This might give some insights to the > problem. > > - Sijie > > On Sun, Jan 31, 2021 at 9:58 PM Wesley Peng wrote: >> __ >> I deployed a standalone pulsar server on a two cores VPS, which was new >> in

CPU consuming question

2021-01-31 Thread Wesley Peng
I deployed a standalone pulsar server on a two cores VPS, which was new installed. Even there is not any jobs running on pulsar, it still consumes CPU about 15+%. 'top' shows the java process takes it. Can you help explain this? Thank you. Regards.

Re: perl.com's registration appears to have been hijacked

2021-01-30 Thread Wesley Peng
Nice sender domain. You would better sell it to ruby language developer. On Sun, Jan 31, 2021, at 5:20 AM, Earl Ruby wrote: > Re-sending using the "from" address that's subscribed to the list... > > On Fri, Jan 29, 2021 at 3:07 PM Earl Ruby wrote: >> A glance at the domain records show the

Re: perl.com's registration appears to have been hijacked

2021-01-30 Thread Wesley Peng
Nice sender domain. You would better sell it to ruby language developer. On Sun, Jan 31, 2021, at 5:20 AM, Earl Ruby wrote: > Re-sending using the "from" address that's subscribed to the list... > > On Fri, Jan 29, 2021 at 3:07 PM Earl Ruby wrote: >> A glance at the domain records show the

pulsar with perl from rest API

2021-01-30 Thread Wesley Peng
Hello I need to write some codes with perl for accessing to pulsar cluster. Can we use the rest API for this purpose since there is not the native client library for perl yet? Thanks.

Re: perl's pulsar client

2021-01-26 Thread Wesley Peng
e, Jan 26, 2021, 7:09 PM Wesley Peng wrote: >> __ >> I saw apache pulsar has many clients in other languages such as python's: >> http://pulsar.apache.org/docs/en/client-libraries-python/ >> >> But it lacks a perl client library. >> Would anyone have the plan to make one? >> >> Thanks.

perl's pulsar client

2021-01-26 Thread Wesley Peng
I saw apache pulsar has many clients in other languages such as python's: http://pulsar.apache.org/docs/en/client-libraries-python/ But it lacks a perl client library. Would anyone have the plan to make one? Thanks.

perl's pulsar client

2021-01-26 Thread Wesley Peng
I saw apache pulsar has many clients in other languages such as python's: http://pulsar.apache.org/docs/en/client-libraries-python/ But it lacks a perl client library. Would anyone have the plan to make one? Thanks.

Re: Looking for feedback on the Ignite 3.0.0 Alpha

2021-01-13 Thread Wesley Peng
When will the stable version of 3.0 get released? thanks. Valentin Kulichenko wrote: I'm excited to announce that the first alpha build of the Ignite 3 is out and available for download! Ignite 3 is the new project that was initiated by the Ignite community last year. Please refer to this

Re: This is a test

2021-01-08 Thread Wesley Peng
Please don't send a test message to the public list which was read by thousands of people. thanks. On Fri, Jan 8, 2021 at 5:26 AM Craig Hatch wrote: > I have added you to the EMAIL list, so when I have questions. > > Just learn for fun. > > > Craig Hatch > -- >

Re: graceful shutdown for C++ applications

2021-01-07 Thread Wesley Peng
Issuing a command like "kill process_id" doesn't work? regards. On Thu, Jan 7, 2021 at 4:14 PM rakshita04 wrote: > Hi Team, > > We are using apache-ignite for our applications running on 2 machines and > connected over network. > We are facing some issue where if kill is performed on running

Re: [ANNOUNCE] New Pulsar Committer: LinLin

2021-01-06 Thread Wesley Peng
Congrats Linlin~ Regards. On Wed, Jan 6, 2021 at 5:25 PM Jinfeng Huang wrote: > Congratulations to Linlin~ > > Best Regards, > Jennifer > > > On Wed, Jan 6, 2021 at 3:30 PM Matthias Peng > wrote: > >> congratulations linlin! >> >> On Wed, Jan 6, 2021 at 3:05 PM PengHui Li wrote: >> >>> The

Re: Unsubscribe

2020-12-22 Thread Wesley Peng
Bhavya Jain wrote: Unsubscribe please send an email to: user-unsubscr...@spark.apache.org to unsubscribe yourself from the list. thanks. - To unsubscribe e-mail: user-unsubscr...@spark.apache.org

Re: [prometheus-users] Prometheus disk I/O metrics

2020-09-15 Thread Wesley Peng
Brian, Do you know if we can implement a Lua exporter within nginx who take application's APM and report to prometheus? Thank you. Brian Candler wrote: Just to add, the data collected by node_exporter maps closely to the raw stats exposed by the kernel, so the kernel documentation is

Re: [prometheus-users] Prometheus disk I/O metrics

2020-09-14 Thread Wesley Peng
You can calculate it from the basic IO metrics Prometheus provided. Regards. rsch...@gmail.com wrote: In datadog I used metrics "system.io.await" to create alert on my linux instances. What is the equivalent metrics in prometheus? -- You received this message because you are subscribed to

Re: [prometheus-users] Prometheus.service status failed

2020-09-14 Thread Wesley Peng
are you running 64bit program on the 32bit OS, or reverse? regards. Suryaprakash Kancharlapalli wrote: As i have setup the Prometheus configuration using from the binary. But in the end when i start the service it shows like Prometheus startup service failed. Please find the attached snap for

Re: [prometheus-users] Alert Manager source URL to point to TLS URL of Prometheus

2020-09-13 Thread Wesley Peng
You can setup Nginx to proxy both Alertmanager and Prometheus itself on different http port. regards. sunils...@gmail.com wrote: Now the challenge is , AlertManager is directly associated with PRometheus and when I access AlertManager , All the source links ate pointing to Prometheus

Re: cache a object in modperl

2020-09-13 Thread Wesley Peng
Mithun Bhattacharya wrote: Does IANA have an easy way of determining whether there is an update since a certain date ? I was thinking it might make sense to just run a scheduled job to monitor for update and then restart your service or refresh your local cache depending upon how you solve

Re: cache a object in modperl

2020-09-13 Thread Wesley Peng
Hello Mithun Bhattacharya wrote: How frequently do you wish to refresh the cache ? if you do in startup then your cache refresh is tied to the service restart which might not be ideal or feasible. I saw recent days IANA has updated their database on date of: 2020.09.09 2020.09.13 So I

Re: cache a object in modperl

2020-09-13 Thread Wesley Peng
requests at the same time.  If you want to go this way you might want to also add a MaxRequestsPerChild directive to your apache config to make sure that you're children die and get refreshed on the regular, if you don't already have one. Adam On 9/13/2020 10:51 PM, Wesley Peng wrote: Hello I

cache a object in modperl

2020-09-13 Thread Wesley Peng
Hello I am not so familiar with modperl. For work requirement, I need to access IANA TLD database. So I wrote this perl module: https://metacpan.org/pod/Net::IANA::TLD But, for each new() in the module, the database file will be downloaded from IANA's website. I know this is pretty

Re: [prometheus-users] Can prometheurs scrape :/deamon/metrics ?

2020-09-08 Thread Wesley Peng
I am sure it can. b/c I just finished a monitoring like this form. :) Rodolphe Ghio wrote: I was wondering if prometheus can scrape a target like this ? :/deamon/metrics, cause I've tried many times and prometheus doesn't want to start anymore. -- You received this message because you are

Re: [prometheus-users] Using alert manager with external receiver

2020-09-08 Thread Wesley Peng
Hi Nina Sc wrote: Is there a way to use the alert manager to send an alert to external API, I mean instead using excage server or slack etc, I will provide an endpoint like `https://mypullendpoint.host.com` and the alert manager will send the alert to this URL ? Yes you need to define

Re: unsubscribe

2020-08-10 Thread Wesley Peng
Please send an empty message to: user-unsubscr...@ignite.apache.org to unsubscribe yourself from the list. Sijo Mathew wrote:

Re: run ignitevisorcmd in k8s and docker?

2020-08-07 Thread Wesley Peng
Hi bbweb wrote: we are meeting problem when we run ignitevisorcmd in K8S and docker environment. After we start a cluster in K8S and run ignitevisorcmd in the node, it just can't find any node when running "top" in it, it just show empty topology. Do you have any error log? Are you sure

Re: Call for presentations for ApacheCon North America 2020 now open

2020-08-05 Thread Wesley Peng
Congrats. We could prepare a talking for "machine learning application with Ignite", as we did store feature engineering data into ignite for large-scale and fast access. regards. Saikat Maitra wrote: Congrats!!! It looks like both of our talks are on same day, Tuesday, September 29th

Re: Question about deployment of math computing [EXT]

2020-08-05 Thread Wesley Peng
James, James Smith wrote: The services which use apache/mod_perl work reliably and return data for these - the dancer/starman sometimes fail/hang as there are no backends to serve the requests or those backends timeout requests to the nginx/proxy (but still continue using resources). The

Re: Question about deployment of math computing

2020-08-04 Thread Wesley Peng
: Wesley Peng Sent: Wednesday, 5 August 2020 1:31 PM To: dc...@prosentient.com.au; modperl@perl.apache.org Subject: Re: Question about deployment of math computing Hi dc...@prosentient.com.au wrote: That's interesting. After re-reading your earlier email, I think that I misunderstood what you were

Re: Question about deployment of math computing

2020-08-04 Thread Wesley Peng
Hi dc...@prosentient.com.au wrote: That's interesting. After re-reading your earlier email, I think that I misunderstood what you were saying. Since this is a mod_perl listserv, I imagine that the advice will always be to use mod_perl rather than starman? Personally, I'd say either option

Re: Question about deployment of math computing

2020-08-04 Thread Wesley Peng
Hi dc...@prosentient.com.au wrote: If your app isn't human-facing, then I don't see why a little delay would be a problem? Our app is not human facing. The application by other department will request the result from our app via HTTP. The company has huge big-data stack deployed, such as

Re: Question about deployment of math computing

2020-08-04 Thread Wesley Peng
Hi Mithun Bhattacharya wrote: Do you really need a webserver which is providing a blocking service ? yes, this is a prediction server, which would be deployed in PROD environment, the client application would request the prediction server for results as scores. You can think it as online

Question about deployment of math computing

2020-08-04 Thread Wesley Peng
Hi We do math programming (so called machine learning today) in webserver. The response would be slow, generally it will take 100ms~500ms to finish a request. For this use case, shall we deploy the code within preforked modperl ,or event-driven server like dancer/starman? (we don't use DB like

Re: suggestions for perl as web development language [EXT]

2020-08-04 Thread Wesley Peng
jbiskofski wrote: Excelent, stable, FAST, production ready HTTP server: Starman yes starman is good. we use it for rest-api service, the app code is dancer, whose backend server is starman. if we need more concurrent handlers, a simple front-proxy like nginx would be deployed.

Re: suggestions for perl as web development language [EXT]

2020-08-04 Thread Wesley Peng
Hi Mark Blackman wrote: mod_perl’s relative efficiency can be achieved by other well-known means. for example? thank you.

Re: suggestions for perl as web development language [EXT]

2020-08-04 Thread Wesley Peng
Joseph He wrote: My company uses Perl for web development. It handles real time payment transactions without any problem. Good software is made by the people not by the language. Maybe I am weak on this point, but how perl handle types more strictly? for example, 123 + '456' this is

suggestions for perl as web development language

2020-08-03 Thread Wesley Peng
greetings, My team use all of perl, ruby, python for scripting stuff. perl is stronger for system admin tasks, and data analysis etc. But for web development, it seems to be not as popular as others. It has less selective frameworks, and even we can't get the right people to do the webdev job

Re: Apache Beam a Complete Guide - Review?

2020-06-29 Thread Wesley Peng
Rion Williams wrote: The three authors of Streaming Systems are folks that work on Google’s Dataflow Project, which for all intents and purposes is essentially an implementation of the Beam Model. Two of them are members of the Beam PMC (essentially a steering committee for the project)

Re: Apache Beam a Complete Guide - Review?

2020-06-29 Thread Wesley Peng
Hi Luke Luke Cwik wrote: The author for Apache Beam A Complete Guide does not have good reviews on Amazon for their other books and as you mentioned no reviews for this one. I would second the Streaming Systems book as the authors directly worked on Apache Beam. So, can Apache beam team

Re: Apache Beam a Complete Guide - Review?

2020-06-28 Thread Wesley Peng
Hi Rion Rion Williams wrote: I considered that one as well but was in the same boat in terms of not pulling the trigger (lack of reviews, price point, etc.). I eventually landed on Streaming Systems, which I highly, highly recommend if you want to learn more about the Beam model: -

Apache Beam a Complete Guide - Review?

2020-06-28 Thread Wesley Peng
Hello Has anyone bought this book? Can you give a simple review, good or not? https://www.thriftbooks.com/w/apache-beam-a-complete-guide---2020-edition/26243355/item/36997139/ I want to buy a book for beam the specific topic, but this book seems too new to have enough reviews. Thanks.

Re: [prometheus-users] Re: not able to see metrics from query browser even though end point is up and showing metrics through curl

2020-06-28 Thread Wesley Peng
Hi Brian Candler wrote: "up" missing - scraping not configured. "up" has value 0 - unable to communicate or data is bad. "up" has value 1 - maybe partial scrape Check logs at prometheus and exporter; check traffic between prometheus and exporter with tcpdump. Can you show a sample tcpdump

Re: unsubscribe

2020-06-27 Thread Wesley Peng
please send an empty email to: user-unsubscr...@spark.apache.org to unsubscribe yourself from the list. Sri Kris wrote: Sent from Mail for Windows 10 - To unsubscribe

Re: I need to study Python

2020-06-26 Thread Wesley Peng
Pick a book like Core Python Programming, read it and do coding follow it. regards. sinanp...@gmail.com wrote: Hey, I'm a completely noob. I want to learn python, how can i or where can i study python? -- https://mail.python.org/mailman/listinfo/python-list

Re: [go-nuts] SSL socket listener

2020-06-04 Thread 'Wesley Peng' via golang-nuts
t;,"server.key",nil) if err != nil { log.Fatal("ListenAndServe: ",err) } } -- Wesley Peng wesleyp...@aol.com -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from thi

Re: [VOTE] Apache CloudStack 4.14.0.0 RC3

2020-06-03 Thread Wesley Peng
Andrija Panic wrote: http://docs.cloudstack.apache.org/en/latest/upgrading/upgrade/upgrade-4.13.html#time-zone-requirements handled in the Upgrade docs - exactly the same.. [OT] is there a cloudstack private IAAS deployment solution? not that large scale, most for storage. if there is the

[go-nuts] SSL socket listener

2020-06-03 Thread 'Wesley Peng' via golang-nuts
Hello, How do I program with SSL to make a server listen on specific port which accepts SSL transfer only? Is there any guide for this since I have no experience on SSL socket programming. Thanks. Wesley Peng wesleyp...@aol.com -- You received this message because you are subscribed

Re: [grpc-io] gRPC hostname

2020-06-02 Thread Wesley Peng
XCompiler wrote:     server.Listen(IPAddress.Loopback, 5001, listenOptions => You have server listened on lookback interface, please change it to a regular IP address. regards. -- You received this message because you are subscribed to the Google Groups "grpc.io"

Re: connection refused

2020-06-02 Thread Wesley Peng
Does either client or server have any logs? Thanks On Tue, Jun 2, 2020 at 6:37 PM Clay Teahouse wrote: > I'd appreciate your help with this issue. > I have a server and a client node, the latter running in tomcat. I get > connection refused if I try to connect to the server node from the

Re: Zookeeper discovery in mix environments.

2020-06-01 Thread Wesley Peng
Maybe you would ask the question on VM/container related mailing list? Regards On Mon, Jun 1, 2020 at 9:32 PM John Smith wrote: > Any news on this? Thanks > > > On Thu., May 28, 2020, 1:10 p.m. John Smith, > wrote: > >> Hi, I'm running an ignite cluster on VMs running on Openstack and using

[go-nuts] Is this AMQP 0.9.1 library updated?

2020-04-28 Thread 'Wesley Peng' via golang-nuts
Hello, I tried to access RabbitMQ using this AMQP library:https://github.com/streadway/amqp I am not sure if this library get updated following the recent RMQ version.Please suggest, thanks. Wesley Peng wesleyp...@aol.com -- You received this message because you are subscribed to the Google

[dns-operations] DNS over Wikipedia

2020-04-07 Thread Wesley Peng
Wikipedia keeps track of official URLs for popular websites. With DNS over Wikipedia installed, domains ending with .idk are redirected by searching Wikipedia and extracting the relevant URL from the infobox. Example: 1. Type scihub.idk/ in browser address bar 2. Observe redirect to

[OT] looking for a good mobile MUA

2020-03-21 Thread Wesley Peng
Hello On desktop I always use Thunderbird for MUA. Thunderbird is clean and lite, handling protocol well. But for mobile (I primarily use iOS), I couldn't find a good MUA to use. I tried almost every release on appStore (outlook, edison, bluemail, spark, mymail...), they are either too

should we use plaintext for message?

2020-03-17 Thread Wesley Peng
Hello Following this guide: https://useplaintext.email/ Shall we use plaintext message in regular email communication? Thanks

Re: Postfix stable release 3.5.0

2020-03-17 Thread Wesley Peng
Nice work on the release. Thanks Wietse. Mar 17, 2020, 21:39 by emaw...@gmail.com: > Hello! excellent work, the option to bounce emails manually is very useful > for me. > > Never perform the update through the source code. I would like to know if I > can get the src.rpm for Centos? > > > > El

Re: postfix for IoT

2020-01-20 Thread Wesley Peng
this mail sending feature? Thanks. On Mon, Jan 20, 2020 at 8:06 PM Mauricio Tavares wrote: > On Sun, Jan 19, 2020 at 7:40 PM Wesley Peng wrote: > > > > How to compile postfix into the Embedded operating system (such as the > home router) and make it as a mail gateway for Sma

postfix for IoT

2020-01-19 Thread Wesley Peng
How to compile postfix into the Embedded operating system (such as the home router) and make it as a mail gateway for Smart home appliances? Thank you.

ISP open relay

2020-01-12 Thread Wesley Peng
Hello My ISP email even doesn’t require SMTP AUTH. Will they be acting as open relay? How to stop abuse of outgoing mail? Regards

Re: how to run regex calculation

2020-01-09 Thread Wesley Peng
what does (??{$1*$2}) means? Thanks. on 2020/1/9 12:49, Joseph He wrote: I think $str =~ /(\d+)\s(\d+)\s(??{$1*$2})/   should do it My Perl version is  v5.26.1

Re: how to run regex calculation

2020-01-09 Thread Wesley Peng
Hallo on 2020/1/9 16:35, demerphq wrote: $str=~/(\d+)\s(\d+)\s(\1*\2)/ $1 refers to the capture buffers from the last completed match, \1 inside of the pattern part of a regex refers to the capture buffer of the currently matching regex. This doesn't work too. perl -Mstrict -le 'my $str =

Re: how to improve throughput for long time running sessions

2020-01-08 Thread Wesley Peng
Any more details? regards on 2020/1/9 14:11, Mithun Bhattacharya wrote: You need to split the request handler and the request processor. Receive the request in mod_perl and then queue it into a separate application which does the actual heavy lifting.

Re: what's difference between HTTP_HOST and SERVER_NAME

2020-01-08 Thread Wesley Peng
Hi on 2020/1/9 14:14, Mithun Bhattacharya wrote: This is for PHP but it still applies. https://www.geeksforgeeks.org/what-is-the-difference-between-http_host-and-server_name-in-php/ This is good reference. Thanks.

Re: AW: Question on a rewrite rule

2020-01-08 Thread Wesley Peng
Hi on 2020/1/9 14:27, Andreas Mock wrote: You have to see in which virtualhost section this rule was put into. I'm pretty sure it's only in the http section. You are so right. they are put in plain HTTP section. So requets were coming with HTTP, they will be rewriten to HTTPS, which is in

gRPC implement question

2020-01-08 Thread Wesley Peng
Hello is there a full gRPC implementation in perl rather than this protocal buffer library? https://metacpan.org/pod/Google::ProtocolBuffers::Dynamic Thanks.

DB connection pool management

2020-01-08 Thread Wesley Peng
Hallo Is there DB connection pool management library like JDBC for mod_perl? I know there is Apache::DBI, but that seems not the one who have pool capability. Thanks & happy new year. Regards.

how to improve throughput for long time running sessions

2020-01-08 Thread Wesley Peng
Hallo We are running LR[1] and GBDT[2] and similar algorithm in MP2 handles. For each request, there were about 1000 features as arguments passed into the handles, via HTTP POST. The request will wait for about 100ms to get responses, coz the calculation is not cheap. My question is, how can

Question on a rewrite rule

2020-01-08 Thread Wesley Peng
Hello After installation of Letsencrypt free SSL, it adds a rule into apache's config file: RewriteCond %{SERVER_NAME} =sample.com RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent] I know it means when SERVER_NAME is sample.com, it rewrites the plain HTTP request to

what's difference between HTTP_HOST and SERVER_NAME

2020-01-08 Thread Wesley Peng
Hello For HTTP headers, what's difference between HTTP_HOST and SERVER_NAME? I was long time confused about them. Thanks.

how to run regex calculation

2020-01-08 Thread Wesley Peng
Hello Give the case I have a string, $str = "2 3 6"; I want to match with: true if $str =~ /(\d+)\s(\d+)\s($1*$2)/; that's to say, the thrid column would be (firstCol * SecondCol). How to write regex for this? Thank you.

Question on catch all domains

2019-12-03 Thread Wesley Peng
Hi I have a question needing your help. I have a few domains, every domain has a contact email. How to configure postfix to accept every domain and every email on domain, and deliver them to a specific mailbox? I meant, I don’t want to add the virtual domain one by one in postfix, but like

Re: [dns-operations] Questions on private nameservers registration

2019-11-27 Thread Wesley Peng
Another more question, can I put DE glues into other domain registry's zone? For example, the COM's. Regards. on 2019/11/26 9:41, Wesley Peng wrote: John, on 2019/11/26 9:35, John W. O'Brien wrote: Are ns{1,2}.wsly.de authoritative for wsly.de? Then glue is required in DE. Otherwise

Re: Postfix stable release 3.4.8

2019-11-27 Thread Wesley Peng
Hi Wietse on 2019/11/27 23:38, Wietse Venema wrote: [An on-line version of this announcement will be available at http://www.postfix.org/announcements/postfix-3.4.8.html] Fixed in Postfix 3.4: It's really nice to see postfix gets continuous development for these many years. Wish it becomes

Re: question on a SPF setting

2019-11-27 Thread Wesley Peng
Thanks. While I am still not clear about what the description in mxtoolbox. Can you give more details? regards. on 2019/11/27 16:08, patpro wrote: On 2019-11-27 08:15, Wesley Peng wrote: Hello I saw myrambler.ru has a special setting for SPF: myrambler.ru.   3599    IN  TXT

question on a SPF setting

2019-11-26 Thread Wesley Peng
Hello I saw myrambler.ru has a special setting for SPF: myrambler.ru. 3599IN TXT "v=spf1 ip4:81.19.78.96/27 ip4:81.19.78.0/27 ip4:81.19.88.0/24 -exists:%{ir}.spf.rambler.ru ~all" what does it mean for this part: -exists:%{ir}.spf.rambler.ru Thank you.

Re: Forwarding mail without breaking SPF?

2019-11-26 Thread Wesley Peng
Hello on 2019/11/27 12:20, Richard Damon wrote: DMARC/SPF, which only validates to the From: header will break. If the sender domain set up SPF to: v=spf1 ip4:0.0.0.0/0 ~all Will this pass through any SPF check? regards.

Re: Reject Chinese mail

2019-11-26 Thread Wesley Peng
on 2019/11/27 10:00, 황병희 wrote: Personally i read public mailing lists' messages by Gmane. There is example screenshot [0]. So i have no problem about that. For customized spam policy, I found Tuffmail has a flexible interface. Regards.

Re: how to setup a privacy oriented mailserver

2019-11-26 Thread Wesley Peng
Hi on 2019/11/26 20:53, Jaroslaw Rafa wrote: Sending mail out of a MTA is always on port 25. STARTTLS is used if possible. If using plain port 25, the messages are not secure enough for traffic. From what I know there is a technology calling Traffic hijacking. Regards.

Re: how to setup a privacy oriented mailserver

2019-11-26 Thread Wesley Peng
Hi on 2019/11/26 19:27, Matus UHLAR - fantomas wrote: ...and there's no "starttls" on 465, that's what I meant "implicit". while port 465 was assigned for SMTPS in January 2018, it's been used this way on many sites/services for years (even decades) How the traffic between big one's MTAs get

Re: how to setup a privacy oriented mailserver

2019-11-26 Thread Wesley Peng
on 2019/11/26 17:02, Matus UHLAR - fantomas wrote: I would set up port 465 also. Note that TLS on 465 is implicit, while on 587 is explicit, so it's easier to allow unencrypted connections by a mistake on 587. 587 is also used for StartTLS, am I right? regards.

Re: how to setup a privacy oriented mailserver

2019-11-25 Thread Wesley Peng
That look interesting. Do you provide a hosting plan Andre? regards on 2019/11/26 14:31, André Rodier wrote: Hello, Bill. I had the same concern a few years ago. I have been self-hosting for more than a decade, and more recently, I built this: https://github.com/progmaticltd/homebox This

Re: how to setup a privacy oriented mailserver

2019-11-25 Thread Wesley Peng
Hi on 2019/11/26 10:22, lists wrote: At a minimum, I would set it up to use port 587. Then block via firewall all the email ports other than port 25 all countries from which you will not be using the server. Keep the attack surface small. For example don't provide for web based email.

Re: [dns-operations] Questions on private nameservers registration

2019-11-25 Thread Wesley Peng
John, on 2019/11/26 9:35, John W. O'Brien wrote: Are ns{1,2}.wsly.de authoritative for wsly.de? Then glue is required in DE. Otherwise probably not [0]. Yes I plan to setup ns{1,2}.wsly.de to be wsly.de's auth-nameservers. Thank you for pointing out that. Regards.

how to setup a privacy oriented mailserver

2019-11-25 Thread Wesley Peng
Hi community, I finally got a domain from registrar, if I want to run a privacy oriented mail server, what steps should I take? For example, setup SSL over all, SPF, DKIM, DMARC, DNSSec, DoH, encrypted storage, app special pasword, secondary authentication? Is there any guide for it?

[dns-operations] Questions on private nameservers registration

2019-11-25 Thread Wesley Peng
Hello If I want to run my own nameservers, saying they are: ns1.wsly.de. 1.2.3.4 ns2.wsly.de. 5.6.7.8 Would I put the glues into DE's registry, or shall I put glues into all registries, including COM, NET, INFO, ccTLD etc? Thanks. ___

Re: [dns-operations] Questions about my domain's DNS

2019-11-25 Thread Wesley Peng
Thank you for instant support Peter. I love DENIC. on 2019/11/25 22:38, Peter Koch wrote: without knowing details about the registrar/reseller chain that you might be using, informing the registrar of such a change is a prerequisite for the delegation to change at the TLD level. That means,

Re: [dns-operations] Questions about my domain's DNS

2019-11-25 Thread Wesley Peng
Thanks for updating the info Victor. > > On Nov 25, 2019 at 10:10 PM, (mailto:ietf-d...@dukhovni.org)> wrote: > > > > On Mon, Nov 25, 2019 at 02:56:51PM +0100, Elmar K. Bins wrote: > > > > ;; AUTHORITY SECTION: > > > wsly.de. 86400 IN NS

  1   2   >