Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


View this topic in a long page with up to 500 replies per page Create new topic
1 | 2 | 3 | 4 | 5
freitasm

BDFL - Memuneh
80654 posts

Uber Geek
+1 received by user: 41047

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #418545 17-Dec-2010 16:22
Send private message

muppet: There is a new http header: x-mas, that reads:

x-mas: Happy Christmas, have a great 2011!, Happy Christmas, have a great 2011!

Tricky :P


Yep, this is the Easter Egg... PM a name and address to me and I will send the prize your way.

 




Referral links: Quic Broadband (free setup code: R587125ERQ6VE) | Samsung | AliExpress | Wise | Sharesies 

 

Support Geekzone by subscribing (browse ads-free), or making a one-off or recurring donation through PressPatron.

 




Ragnor
8279 posts

Uber Geek
+1 received by user: 585

Trusted

  #418564 17-Dec-2010 17:01
Send private message

Here is for those wondering wtf they are talking about Tongue out




muppet
2644 posts

Uber Geek
+1 received by user: 1660

Trusted

  #418569 17-Dec-2010 17:03
Send private message

Yup.

I serve all my HTTP headers with an added "X-Lagered-By:" and my favourite beer.




Audiophiles are such twits! They buy such pointless stuff: Gold plated cables, $2000 power cords. Idiots.

 

OOOHHHH HYPERFIBRE!




Ragnor
8279 posts

Uber Geek
+1 received by user: 585

Trusted

  #418577 17-Dec-2010 17:11
Send private message

Anyway good solid improvements Maurcio.

What next?

I suggest rewrite in ASP.NET MVC 3, you would probably see quite a performance boost from that over the current classic asp.

It's much closer to classic asp in style for the html than ASP.NET, still a big job though.

freitasm

BDFL - Memuneh
80654 posts

Uber Geek
+1 received by user: 41047

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #418582 17-Dec-2010 17:24
Send private message

Ragnor: Anyway good solid improvements Maurcio.

What next?

I suggest rewrite in ASP.NET MVC 3, you would probably see quite a performance boost from that over the current classic asp.

It's much closer to classic asp in style for the html than ASP.NET, still a big job though.


Not sure about the "performance boost" though... We currently run Geekzone on Classic ASP, but do not use its session management. 

Only 30% of visitors actually are logged in. It's a waste of memory let IIS create an ASP session for every single visitor, if 70% of those are only seeing one or a couple of pages and not actually logged in at all

Having a separate session management allows us to scale in different ways. We can add as many IIS servers we want and still have a consistent session even if your request lands on different servers at different times. Another way to scale is to implement a "web garden". That is multiple application processes within an application pool. We currently run four threads, which means a long running script won't block the whole site.

Yes, we could get some performance improvements. But I'd say it wouldn't be that great.

However... We are working on an API on api.geekzone.co.nz (developers welcome to request access to the private forum and access to keys) and the idea is that Geekzone v.2 would be just another client of this API, and then we could move everything to .Net easily.

 




Referral links: Quic Broadband (free setup code: R587125ERQ6VE) | Samsung | AliExpress | Wise | Sharesies 

 

Support Geekzone by subscribing (browse ads-free), or making a one-off or recurring donation through PressPatron.

 


Ragnor
8279 posts

Uber Geek
+1 received by user: 585

Trusted

  #418589 17-Dec-2010 17:46
Send private message

It's quite common to use a state server either sql server, memcached.net, velocity etc theses days so you have out of process session storage and can easily load balance across multiple websevers for the front end.

Removing the default in process session state .NET is trivial just a couple of entries in the web.config
eg:


<httpModules>
<remove name="Session"/>
<remove name="WindowsAuthentication"/>
<remove name="PassportAuthentication"/>
<remove name="AnonymousIdentification"/>

 
Or you can implement your own session state provider which overrides the default and uses your state severs(s).

Two feature/request or changes that would be great imo..

1: When you edit a post on page 4 then save, redirect to p4 not pg1.. that one always irritates me heh

2: Implement bbcode (like every other forum) or markdown (like stackoverflow) for formatting, would be a lot faster for power users.






 
 
 
 

Shop now on Samsung phones, tablets, TVs and more (affiliate link).
freitasm

BDFL - Memuneh
80654 posts

Uber Geek
+1 received by user: 41047

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #418590 17-Dec-2010 17:49
Send private message

Yes, and that's why we are not using the built-in session management.




Referral links: Quic Broadband (free setup code: R587125ERQ6VE) | Samsung | AliExpress | Wise | Sharesies 

 

Support Geekzone by subscribing (browse ads-free), or making a one-off or recurring donation through PressPatron.

 


Ragnor
8279 posts

Uber Geek
+1 received by user: 585

Trusted

  #418592 17-Dec-2010 17:57
Send private message

Might request dev access in the holidays, should be interesting/fun.

freitasm

BDFL - Memuneh
80654 posts

Uber Geek
+1 received by user: 41047

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #418595 17-Dec-2010 17:59
Send private message

Another thing we do for performance... Would anyone know or guess why our CDN is on geekz1.com and now geekzone.co.nz?





Referral links: Quic Broadband (free setup code: R587125ERQ6VE) | Samsung | AliExpress | Wise | Sharesies 

 

Support Geekzone by subscribing (browse ads-free), or making a one-off or recurring donation through PressPatron.

 


Talkiet
4819 posts

Uber Geek
+1 received by user: 3934

Trusted

  #418596 17-Dec-2010 18:01
Send private message

freitasm: Another thing we do for performance... Would anyone know or guess why our CDN is on geekz1.com and now geekzone.co.nz?



Easy - so browsers will open more sessions :-)

I do the same thing on one of my sites - I have the various page elements served from several aliases

Cheers - N




Please note all comments are from my own brain and don't necessarily represent the position or opinions of my employer, previous employers, colleagues, friends or pets.


freitasm

BDFL - Memuneh
80654 posts

Uber Geek
+1 received by user: 41047

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #418597 17-Dec-2010 18:02
Send private message

Nope. Actually before the CDN we used different domains for this exact reason: flags.geekzone.co.nz, avatar.geekzone.co.nz, images.geekzone.co.nz...

But no, the CDN is on a single domain and it's not on a geekzone.co.nz domain... Most modern browsers now open at least eight parallel connections anyway.

Anyone else? Bueller? Bueller?





Referral links: Quic Broadband (free setup code: R587125ERQ6VE) | Samsung | AliExpress | Wise | Sharesies 

 

Support Geekzone by subscribing (browse ads-free), or making a one-off or recurring donation through PressPatron.

 


 
 
 

Stream your favourite shows now on Apple TV (affiliate link).
Ragnor
8279 posts

Uber Geek
+1 received by user: 585

Trusted

  #418599 17-Dec-2010 18:11
Send private message

There are a few reasons but probably you are thinking of the ability to not use cookies, "cookieless domain" on that domain and reduce the size of those http requests and responses.

freitasm

BDFL - Memuneh
80654 posts

Uber Geek
+1 received by user: 41047

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #418601 17-Dec-2010 18:13
Send private message

Yes, exactly that. If we have one http request for HTML then 45 requests for resources, we try to use the non geekzone.co.nz to avoid cookies traffic. Small, but over a few million every month...




Referral links: Quic Broadband (free setup code: R587125ERQ6VE) | Samsung | AliExpress | Wise | Sharesies 

 

Support Geekzone by subscribing (browse ads-free), or making a one-off or recurring donation through PressPatron.

 


dclegg
2806 posts

Uber Geek
+1 received by user: 810

Trusted

  #418627 17-Dec-2010 19:18
Send private message

muppet: Yup.

I serve all my HTTP headers with an added "X-Lagered-By:" and my favourite beer.


Oooh! I like that! I may have to start incorporating it into mine :-) 

freitasm

BDFL - Memuneh
80654 posts

Uber Geek
+1 received by user: 41047

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

  #418861 18-Dec-2010 16:34
Send private message

I posted a long, geeky commentary in my blog at http://www.geekzone.co.nz/freitasm/7502





Referral links: Quic Broadband (free setup code: R587125ERQ6VE) | Samsung | AliExpress | Wise | Sharesies 

 

Support Geekzone by subscribing (browse ads-free), or making a one-off or recurring donation through PressPatron.

 


1 | 2 | 3 | 4 | 5
View this topic in a long page with up to 500 replies per page Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.