Picking the right architecture = Picking the right battles + Managing trade-offs
- Clarify and agree on the scope of the system
- User cases (description of sequences of events that, taken together, lead to a system doing something useful)
- Who is going to use it?
- How are they going to use it?
Full code I used to get the amount and duration of AWS Lambda cold starts during 2 given months.
Also see the question on StackOverflow.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 */ | |
html, | |
body, | |
div, | |
span, | |
applet, | |
object, | |
iframe, | |
h1, | |
h2, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@charset "UTF-8"; | |
body { | |
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | |
-webkit-font-smoothing: antialiased; | |
} | |
h1 { | |
color: #fff; | |
font-size: 36px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Program | |
{ | |
private static readonly Logger Logger = LogManager.GetCurrentClassLogger(); | |
public static void Main(string[] args) | |
{ | |
string connectionString = @"Data Source=pc-samuelnm;Integrated Security=True"; | |
var sourceDataTable = GetSourceDataTable(); | |
SqlBulkCopySettings settings = SqlBulkCopySettings.GetSettings(); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void Main() | |
{ | |
//Setup Chain of Responsibility | |
ImportPhase readData = new DataReadingPhase(); | |
ImportPhase mapData = new DataMappingPhase(); | |
ImportPhase importData = new DataImportPhase(); | |
readData.SetNextPhase(mapData); | |
mapData.SetNextPhase(importData); |
NewerOlder