aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: Better WebServer  (Read 8936 times)

djtm

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 95
Better WebServer
« on: November 14, 2004, 05:15:53 PM »

Hey,

I'd really like a good webserver for aMule. It could for my purpose also use a XAMPP environment. But it should be fast and not use much CPU.
(which both the current version 2.0rc7 does not do)

I think an extended AMPS would be awesome. With a couple control options for amule: (link add!!!, downloads, search).

This would make us better than the eMule! And it fits into the amuled concept, which I really like!

Thx.

DJtm
Logged
"If you laid all of our laws end to end, there would be no end."
Mark Twain
"Linux is like a wigwam: No Gates, no Windows, but Apache inside!"

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: Better WebServer
« Reply #1 on: November 14, 2004, 05:56:03 PM »

i guess you already know about aMuleWeb, don't you?
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: Better WebServer
« Reply #2 on: November 14, 2004, 06:06:51 PM »

Hmm.

Anybody wants to write the mod_amule plugin for Apache?
Logged
concordia cum veritate

lfroen

  • Guest
Re: Better WebServer
« Reply #3 on: November 15, 2004, 06:06:47 AM »

Quote
Anybody wants to write the mod_amule plugin for Apache?

Somewhen I already proposed to use existing lightweight webserver instead of writing our own. We still have amuleweb.
Logged

djtm

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 95
Re: Better WebServer
« Reply #4 on: November 17, 2004, 04:09:46 PM »

I think something definitely has to be done with the webserver, because I think the current one is almost unusable. It always gets aMule to hog cpu (if run on the same computer as amule) and it's pretty slow allover.

I'd really appreciate any work done in that direction, as I'm using aMule only on my server without X. And with aMule you need a good GUI. And a Web-GUI doesn't have to be ported ;)
Logged
"If you laid all of our laws end to end, there would be no end."
Mark Twain
"Linux is like a wigwam: No Gates, no Windows, but Apache inside!"

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Better WebServer
« Reply #5 on: November 17, 2004, 05:07:53 PM »

We're already working on it, you know :)
Logged

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: Better WebServer
« Reply #6 on: November 17, 2004, 07:31:11 PM »

> I'd really appreciate any work done in that direction

phoenix and GonoszTopi are aready working heavily on that direction. but you know, "great improvements need great changes". so don't expect it to just suddenly happen ;)

Greetings!
Logged

djtm

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 95
Re: Better WebServer
« Reply #7 on: November 18, 2004, 07:58:00 PM »

Cool! Thank you so much! If there's something simple involved, let me know! (and I'll help)
Logged
"If you laid all of our laws end to end, there would be no end."
Mark Twain
"Linux is like a wigwam: No Gates, no Windows, but Apache inside!"

djtm

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 95
Re: Better WebServer
« Reply #8 on: December 13, 2004, 05:50:16 PM »

After getting the CVS-version (20041210), the webserver is a bit better but this performing weirdly.
But I think it is some problem in the communication rather than the webserver itself.
Because some webpages load pretty quickly and the downloads one takes quite a while and currently doesn't work at all even after restarting the webserver.

It seems the whole thing is slow because it is making many single requests instead of a bundled one. Maybe it'd help if it just requested "all download status" and the whole webpage information came in one rush.
I also observed, that - at least in the old version- the webserver was much faster when run on a different host than aMule itself.
Logged
"If you laid all of our laws end to end, there would be no end."
Mark Twain
"Linux is like a wigwam: No Gates, no Windows, but Apache inside!"

lfroen

  • Guest
Re: Better WebServer
« Reply #9 on: December 13, 2004, 09:06:52 PM »

Quote
It seems the whole thing is slow because it is making many single requests instead of a bundled one.

Not correct. amuleweb is requesting all data from amule in one transaction.

Quote
I also observed, that - at least in the old version- the webserver was much faster when run on a different host than aMule itself.

Oh, that can be correct. The old version made large transfers on each request, so it can matter if this transfer going between different machines, or same one.
Logged

djtm

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 95
Re: Better WebServer
« Reply #10 on: December 13, 2004, 09:26:46 PM »

But the old version was faster when on another machine. That's what confused me.
I think it's the same with the new version.
Logged
"If you laid all of our laws end to end, there would be no end."
Mark Twain
"Linux is like a wigwam: No Gates, no Windows, but Apache inside!"

lfroen

  • Guest
Re: Better WebServer
« Reply #11 on: December 14, 2004, 07:49:18 AM »

New version transfers less data. That's why you don't see the difference. It's a good thing actually :)
Logged

hopey

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: Better WebServer
« Reply #12 on: December 16, 2004, 10:54:14 AM »

Hi, I've been quite long time mldonkey user, from the beginning actually. It seems that the mldonkey development is now quite stalled (it is written with less known ocaml). I have few suggestions which could make me (and possibly others too) to switch to amule. First the core should be separated from the gui (if possible) in traditional linux way. Then I don't have to run my pc in runlevel 5 just to use amule. Ohter request is to have good web based interface. Is this being considered? thanks.
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: Better WebServer
« Reply #13 on: December 16, 2004, 11:54:28 AM »

Quote
Originally posted by hopey
 First the core should be separated from the gui (if possible) in traditional linux way.

Quote
--enable-amule-daemon  Compile aMule daemon version
;)

cheers

Jacobo221

  • Hero Member
  • *****
  • Karma: 3
  • Offline Offline
  • Posts: 2712
Re: Better WebServer
« Reply #14 on: December 16, 2004, 01:33:04 PM »

Core? already splitted since... uh... rc4 maybe? no idea, quite some months ago.

"Other request is to have good web based interface."

The webserver is skinnable (see ~/.aMule/aMule.tmpl ). I've never seen mldonkey's webserver so no idea how it looks, but I'm sure you can write a skin mldonkey-like :)

Greetings and thanks!
Logged
Pages: [1] 2