Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [architecture]

Here, "architecture" refers to Stack Exchange's database structures, algorithms in the code that runs the sites, &c. Questions that should use this tag are sometimes incorrectly tagged [design].

2
votes
1answer
36 views

Do all Stack Exchange sites use the same template?

Do all Stack Exchange sites use the same template? I mean, the Stack Overflow company can create many similar sites, such as: https://superuser.com https://askubuntu.com https://patents....
2
votes
0answers
42 views

What is the caching architecture of Stack Exchange? [duplicate]

Having a good understanding of how expensive DB queries are and the importance of caching static data, I can't understand how the question pages on these sites run so quickly. We have a question ...
7
votes
0answers
78 views

Messaging failed, Houston didn't get contacted

In the answer on Which browsers are officially supported, and what else do I need? a link is offered to the Network Login Help page. I'm not sure if that page is still relevant given the changes ...
-1
votes
1answer
170 views

How does Stack Overflow store content of question markdowned into their database?

I'm extremely amazed about how Stack Overflow stores content that I'm asking into their database to display (markdowned) in question detail. The content consists of normal text, image, code ...etc.
3
votes
1answer
106 views

Does StackExchange still store its data in a denormalised format, then normalise when needed?

I read an article on the Trello tech stack, under the section "MongoDB", it states the following: [...] One of the coolest and most performance-obsessed teams we know is our next-door neighbor ...
8
votes
1answer
210 views

How is the Stack Exchange platform deployed to different sites in the network?

There is a similar question here What is Stack Overflow's deployment process?, but it talks about the process with Stack Overflow, I want to know about the whole network. How is the code deployed ...
-18
votes
1answer
263 views

How about a good user interface backed up with a robust backend instead of 100+ different sites? [closed]

This is bound to catch some wind from the front, because it goes in totally against the just fresh choice of separating SE meta from Stack Overflow Meta, but just hang in to read it. Analysis of ...
3
votes
1answer
187 views

Does Stack Overflow use EventSourcing to keep tracking of each change on a post edit?

I'm curious to know how does Stack Overflow store the revisions/versions of each post edition in the database? Does it represent each edition version in the database, following the Temporal Pattern? ...
1
vote
1answer
102 views

Where to Get Software design feedback [duplicate]

I know this site is for very specific programming questions. Does anyone have any recommendations for sites that allow longer discussions on technology choices and perhaps even discussion of specific ...
1
vote
0answers
40 views

Is the feature to view interesting new questions on other sites discontinued? [duplicate]

Until a few days ago when the top bar was redesigned, there was a useful feature to quickly view interesting new questions on the other SE sites. It provided (at least for me) a good opportunity to ...
8
votes
1answer
240 views

How TDD-oriented is the SE team?

Stack Exchange is my role-model for application development. I've tried to learn as much as possible from the blog and podcasts, from thought process to design, architecture, convention, etc etc. I'...
27
votes
1answer
476 views

What is happening in the background when a user upvotes?

I was interested in how the votes are being calculated, and understanding the fact that most probably the vote count is stored in the posts table, raised a new and more important question to me. What ...
29
votes
0answers
409 views

How does Stack Exchange handle the creation of a new Stack Exchange site, in terms of backend?

I'm not sure if it's possible for SE folks to disclose architectural details, but I'm very curious about what happens in the backend when a new SE site is created. Is there one big database that ...
4
votes
0answers
120 views

How does Stack Overflow manage notifications and templates? [duplicate]

Each Stack Exchange site has the same kind of style. How are these styles maintained in a uniform fashion? Is there some sort of base template that each site shares and overrides as necessary? And ...
7
votes
3answers
2k views

Is there a Stack Exchange site for software architecture questions?

The stackoverflow.com guidelines request specific questions that programmers would ask, no vague questions that would elicit discussion or debate. But as an architect a lot of my questions are just ...
0
votes
1answer
118 views

Re: Are you having trouble accessing the *** private beta you committed to

This is a public feedback on email titled "Are you having trouble accessing the ********* private beta you committed to?", not really a question. Are you having trouble accessing the ********* ...
19
votes
0answers
237 views

Which global “counters” (reputation, badges, …) are computed and updated on the fly? How?

I have searched meta for an answer, but found only some bits. Interesting bits, but still something is missing from the big picture. It is widely known that reputation is both updated on the fly, ...
46
votes
1answer
5k views

Sockets used by Stack Overflow

What kind of sockets does Stack Overflow use for the realtime reputation updates? Is it something like Netty-Jetty, Solr or SignalR? Are they using web sockets implemented in C#?
1
vote
1answer
46 views

Which technology is used by the stack exchange sites to notify a tagged page of new questions?

When I access tagged stackoverflow page and leave it there for a while, I will get notified from my browser's tab if a new question has arrived. In the tab, it will be a number between parentheses as ...
1
vote
1answer
76 views

How do synonyms work retroactively behind the scene?

I am implementing a simular tag system on my site so I'd like some insights on how the synonym (alias) system works with regard to retroactively making changes. For example let's say there are 100 ...
-1
votes
2answers
435 views

Stackoverflow System [duplicate]

Possible Duplicate: Which tools and technologies build the Stack Exchange Network? I am sorry if this question is off topic. I wanted to know if there is a page where users can learn more about ...
3
votes
2answers
120 views

Answer question as asked or answer with recommend redesign [duplicate]

Possible Duplicate: Is “Don't do it” a valid answer? If the underlying implementation within a question may deserve redesign (depending on OP's intent), should the answer address ...
2
votes
1answer
98 views

what would be the best way to pose a more general/high level coding question on Stack Overflow?

The first part of why I am asking this question is to make sure i post my question in the right place. My question is going to basically be, "Hey I'm about to make an ASP .net / C# site that does X, ...
5
votes
1answer
371 views

Stack Exchange runs on ASP.NET MVC3 - Does it use dependency injection, and if so, which container does it use?

Which, if any, DI container does Stack Exchange use? Some highlights of the architecture can be seen here and here.
14
votes
1answer
2k views

How is NoSql and Data Denormalization Used on Stack Overflow/Stack Exchange

In a recent blog post on the Trello Stack, Brett Kiefer wrote: MongoDB fills our more traditional database needs. We knew we wanted Trello to be blisteringly fast. One of the coolest and most ...
0
votes
4answers
99 views

Should tags that promote subjective answers be removed?

Many subjects, such as using certain tools and programming languages, promote objective answers: "How do I do this?" returns answers such as "Do A, B and C". However, certain subject areas, such as ...
0
votes
1answer
95 views

What's the story/code behind StackExchange's tag storage and addition system? [duplicate]

Possible Duplicate: Which tools and technologies build the Stack Exchange Network? Does StackExchange use a tag-by-tag, XML-based feed of links to content for users, or is their system more ...
0
votes
1answer
86 views

Reasoning behind selecting jQuery versus other JS libraries [closed]

I am interested in finding how the Stack Overflow team came to decide on jQuery as its JavaScript library/toolkit. I am currently working with a development "framework" which supports Dojo natively, ...
11
votes
1answer
168 views

Is the fact that we get accounts for diff SE sites a design restriction or an intended function?

This is similiar to this question except it's not about reputation. In fact, I agree that different sites should have different reps, it's more the fact the system has to log you into each site ...
-2
votes
1answer
98 views

Information (not from SO blogs) about the MVC Architecture of Stack Overflow

I found this link with a similar question but it did not contain the exact awnser I was looking to get: What are the architecture details of Stack Overflow? I came across some lengthy articles on ...
2
votes
2answers
305 views

Why doesn't a site like Stackoverflow.com make use of WCF?

I have a general architecture based question (out of curiosity, not to judge, to challenge decisions made by the SO team) about Stack Overflow and similarly architected sites... Of all the *selling ...
2
votes
1answer
992 views

How does StackOverflow store its data? RDBMS or NoSQL? [duplicate]

Possible Duplicate: Which tools and technologies build the Stack Exchange Network? Does StackOverflow use MySQL, PostgreSQL, CouchDB, Mongo, or something else, some combination of the above, etc? ...
5
votes
0answers
290 views

Now, how is Lucene.NET utilized on StackOverflow (part 2)? [closed]

Given that StackOverflow has moved over to Lucene.NET for search, the original question that I asked on this matter now has a completely different answer. Specifically, some of the things I'd like to ...
0
votes
1answer
3k views

Is Stack Overflow an open source script? Can I host a copy myself? Can I run my own forum with it? [duplicate]

Possible Duplicates: Which tools and technologies build the Stack Exchange Network? Will Stack Overflow's engine be open sourced? Yes, the message is the title itself. Thanks for your ...
4
votes
0answers
187 views

Details on Stackoverflow's chat implementation [duplicate]

Possible Duplicate: What technologies were used to build the chat? Has the technology behind SO chat functionality been discussed. I would love to get more details about their architecture and ...
1
vote
4answers
305 views

Stack Overflow's URL structure

If you look at the URL structure for this question /questions/question-id/question-slug it's obvious that SO is using question-id for the database lookup. The slug is only there for SEO and ...
0
votes
2answers
429 views

Why doesn't Stack Overflow run on Google App Engine?

Why doesn't Stack Overflow run on Google App Engine? Since I don't have much knowledge in databases and web programming, I won't include the reasons to "why I think it could run on Google App Engine ...
2
votes
1answer
563 views

How do you use LINQ to SQL at stackoverflow.com?

according to this this question, SO is still using LINQ to SQL. We use it as well at our shop, but i've had some problems with it. I'm very interested in knowing how you guys use it? Do you use it for ...
3
votes
1answer
553 views

How many servers does Stack Overflow use?

Stack Overflow is very fast. I am just curious about how many servers are needed to support such a big number of hits.
5
votes
2answers
170 views

How does the SO engine track data changes to all questions, answers, comments, etc. about Unicorns?

I'm curious how the SO engine actually tracks data changes to questions, answers, etc. about unicorns in order to show what changes have been made. For example, is it a coded solution/function that ...
1
vote
1answer
278 views

The SO User Avatar Image: Stored in the Database or the File System?

Is the Stackoverflow avatar image stored in the database?
8
votes
5answers
3k views

How is Lucene.NET utilized on StackOverflow (if at all)?

This question now has a completely different answer, given the announcement that Lucene.NET is being used to power StackOverflow's search capability. With that, I've created a new question to request ...
0
votes
2answers
513 views

How was Stack Overflow built? [duplicate]

Possible Duplicate: What was Stack Overflow built with? What was used for building StackOverflow?
7
votes
1answer
313 views

How is input sanitized in the SOFU World?

Is the sanitizer that keeps us safe from nefarious things like <script>alert('evil here');</script> public/available?
16
votes
2answers
1k views

Logic Behind StackOverflow Question IDs

First of all, I should say that I think that this question does not belong on Meta. StackOverflow URLs are inspirational to me, the way they are designed is very clever and they work really well but ...
0
votes
2answers
476 views

Which technologies are used to build Stack Overflow? [duplicate]

Possible Duplicate: What was Stack Overflow built with? Stack Overflow is really cool and all out. What tools and that were used to build the site?
0
votes
1answer
685 views

Does Stack Overflow use an ORM? [duplicate]

Possible Duplicate: What are the architecture details of Stackoverflow? Does Stack Overflow use an ORM? If yes, which one?
1
vote
2answers
677 views

What is the architecture of SO? [duplicate]

Possible Duplicates: What are the architecture details of Stackoverflow? What was Stack Overflow built with? Does anyone know the architecture of Stack Overflow? I did a quick Google search but ...
7
votes
1answer
1k views

What makes Stack Overflow so fast? [duplicate]

Possible Duplicates: What are the architecture details of Stackoverflow? What was Stack Overflow built with? Where can I find articles introducing the architecture or technologies used by Stack ...
2
votes
1answer
380 views

Why did Stack Overflow put questions and answers in the same database table? [duplicate]

Possible Duplicate: Why does SO store questions and answers in the same table? I took a look at SO's HTML. I noticed that the ID number of a given question was very close to its answers' ID ...