Relative Content

Tag Archive for architecture

Designing extensible, interactive systems

Steve Yegge’s The Pinoccio Problem describes a very special type of program: one that not only fulfills the original purpose of its creators, but also is capable of performing arbitrary, user-defined computations.

Cookie Settings Storage Method

I’ve got an web app that needs to store some non-sensitive preferences for the user. Right now I’m storing their language preference and what mode they want a window opened in by default in two cookies:

Clustering and custom applications

So lets say we have a clustered environment setup. We have a cluster SQL Server (I don’t know exactly how its done but lets just say its been done for the sake of argument). Now if a website or application is trying to access that database for read/write (say an ASP.NET app or a C# Winforms app) and during that time SQL goes down – it takes a couple of minutes for the clustering failover to take affect to switch to another node. What happens during this time?

Securing credentials passed to web service

I’m attempting to design a single sign on system for use in a distributed architecture. Specifically, I must provide a way for a client website (that is, a website on a different domain/server/network) to allow users to register accounts on my central system.

Grouping classes by subject or dependencies?

Our project consists of user application and server application. The server application prepares data files that the user application consumes. Because the data is huge, it is stored in custom format. So the project includes many classes related to reading and writing the data. The user application does not need the writing side, so we don’t want to have the code there both because it might run on resource-limited devices and because it prolongs compilation (C++ is not known for having fast compilers).