Re: Wat was the Architecture used in perlmonks
by DrHyde (Prior) on May 24, 2005 at 11:49 UTC
|
Most of the Monastery is built in the Gothic style. Some of the oldest parts are Norman and there's even a few traces of the original Saxon building in the crypt. In the mid nineteenth century the bell tower was added, and is considered to be a masterpiece of the High Victorian style, although it does not fit well with the rest of the buildings and is infested with poisonous spiders. | [reply] |
Re: Wat was the Architecture used in perlmonks
by castaway (Parson) on May 24, 2005 at 11:09 UTC
|
If you look at the bottom of any page, you will see a link to the Everything Development Company. Perlmonks uses the Everything framework, which is written entirely in Perl, and runs on a MySQL database, on a FreeBSD machine. The Everything Bible should give you some idea of Everything's architechture. Our good performance is mostly due to several things:
- We have two web servers and one db server, exclusively for the use of Perlmonks, thats a lot of hardware power
- Our programmers take care with their SQL and code, that it doesnt bog down our servers
- Perlmonks does a lot of caching. The frontpage, for example, doesnt recreate itself every time someone looks at it, a cached version is shown until it expires.
Probably also other things I'm not thinking of..
C. | [reply] |
|
|
If you look at the bottom of any page, you will see a link to the Everything Development Company.
Everytime i notice that blurb i think that we should update it. Since the code is so far from the real Everything codebase I personally think it should be at least worded differently. Just food for thought and debate. :-)
---
$world=~s/war/peace/g
| [reply] |
Re: Wat was the Architecture used in perlmonks
by holli (Abbot) on May 24, 2005 at 11:04 UTC
|
Perlmonks uses Everything. Another site that uses the same engine is Javajunkies. You'll find some familiar names there ;-)
| [reply] [d/l] |
Re: Wat was the Architecture used in perlmonks
by demerphq (Chancellor) on May 24, 2005 at 13:39 UTC
|
Just to clarify some of the other replies. PM is based on an older version of the Everything engine. It has been heavily hacked since then and represents its own fork of the Everything development track.
I dont know that anyone currently knows exactly how different the two engines are now, especially as the code PerlMonks uses is not open source. Personally ive always kinda wondered how difficult it would be to migrate some of the PM infrastructure to other Everything setups.
---
$world=~s/war/peace/g
| [reply] |
|
|
Right.. well, you could try, had you the time.. ,)
Since I'm in the process of fiddling an Everything pre1.0 site into life, I maybe have a perspective on that.. I feel quite a bit of PM would not be too hard to port: create special tables, ie those for approval, re-create nodetypes, port the many superdocs, nodelets, containers and so on, create the whole XML business (displaytypes etc).. And then theres the renamed functions (eg isApproved is now inGroup)..
Ok, so maybe not *hard* as such, but probably would involve a lot of poking around to find out which functions have been renamed, or moved, so it would not be a quick job, anyhow.. And then if one wanted to make use of new features, like nodemethods (though I've personally found them slightly more annoying, so far), which replace the maintainance nodes, among other things, it would be even longer..
Well, maybe when someone has a month or 4 to spare..
C.
| [reply] |
|
|
BTW, why on earth isn't PM code open-source? Does it make sense?
| [reply] |
|
|
The Everything engine it is based on is open source in some form. However the heavily patched code that actually runs here is not. The reason generally is a matter of the PITA that it is to publish the material, combined with minor issues over site security. Hypothetically it would be nice to be able to completely open source the code, but realistically its difficult and we restrict access to the pmdev group just to ensure that those with code access are more or less responsible types who will tell us about problems they find and not somebody else.
---
$world=~s/war/peace/g
| [reply] |
|
|
|
|
|
|
|
|
Re: Wat was the Architecture used in perlmonks
by perrin (Chancellor) on May 24, 2005 at 14:41 UTC
|
High-performance sites are often built using MVC. That isn't the reason your site is slow. Profile it, find out where the problem is, and fix it. | [reply] |