Net::Server and data sharing

U

usenet

Matija said:
I would like to make some sort of server which should periodically grab data
from various places and serve them to clients via preforked children.

It sounds like you want to use interprocess communication (perldoc
perlipc), but I can't really understand the exact intent of the
question.
 
M

Matija Papec

X-Ftn-To: Purl Gurl

Purl Gurl said:
This reads to be a task better suited for a dedicated background daemon process.

Your article provides so few details, a reader can only guess at your true task.
Work towards writing articles which are clear, concise and coherent.

Ok, I'll write the actual problem then.

I would like to launch one process, lets call him a daemon, which will be
always running. Daemon's primary task would be to establish and keep
telnet/ssh connections toward some other servers.

Daemon would periodically fetch some data through these connections and then
it also needs to deliver fetched data to clients, at clients request
(clients requests are through tcp/ip).

I hope there is a cpan module which does such things.
 
M

Matija Papec

X-Ftn-To: Purl Gurl

Purl Gurl said:
If you are to retrieve data remotely, I would not incorporate this into your
listener daemon. Run a stand-alone program on a cron tab to fetch data
and write that data to a file, which can be opened by your listener daemon.

Again, you do not need exotic programs. You only need simple imagination.

Tnx, but right now I'm using solution similar to your's and was hoping to
avoid writing to file/sql. I think I'll go with POE (http://poe.perl.org/)
if there isn't smaller module that can handle such kind of task.
 
M

Mark Clements

Purl said:
So why are you here asking for help?

Rather rude of you to mislead readers with vague articles.
Doing so suggests you are a typical CLPM troll.

There are those who might assume you are simply trolling, just as
there are those who will killfile you for wasting reader's time.

In the future, it is high unlikely I will respond to your articles.

Purl Gurl

If only it were that easy for the rest of us....
 
M

Matija Papec

X-Ftn-To: Purl Gurl

Purl Gurl said:
So why are you here asking for help?

In case you've forgot, I've wrote very specific requirements and was asking
for help, how to accomplish the task using Net::Server or some other cpan
module.
Rather rude of you to mislead readers with vague articles.
Doing so suggests you are a typical CLPM troll.

And I certainly didn't tell you to put me in the drawer with "beginner"
label on it. ;)
There are those who might assume you are simply trolling, just as
there are those who will killfile you for wasting reader's time.

Ah, didn't read your posts in a while; are evil hackers still attacking your
website? :)
 
M

Matija Papec

X-Ftn-To: Purl Gurl

Purl Gurl said:
You did not. This is confirmed by two of us directly indicating
your article is sorely lacking, is poorly written, is vague. The
two of us did so in a polite manner.

Yes, and I wrote clarification, and judging from your suggestion, you
perfectly understood what I was asking, but you've for some reason decided
to simplify solution.
Your article and behavior are that of a beginner. Regardless, I write
in such a way to address as large of an audience reasonably possible.
Don't flatter youself by considering yourself the center of the universe.

You're excellent observer, but didn't you actually looked in the mirror?
How rude of you to abuse this newsgroup by trolling with vague articles
to draw readers in, readers willing to afford help to all, then suddenly
writing, "I don't need any help. I am just fucking around with your time."

In case you've forgot again, I've thanked you and said that I use something
similar already. That for some reason didn't pleased you and I really can't
help you with that.
 
A

A. Sinan Unur

[ inane exchange with PG snipped ]
In case you've forgot again, I've thanked you and said that I use
something similar already. That for some reason didn't pleased you and
I really can't help you with that.

Do all of us a faovr, and please do not engage it this much. Just let it
be.

Sinan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,176
Messages
2,570,947
Members
47,498
Latest member
log5Sshell/alfa5

Latest Threads

Top