taijinlee / eulermarks

2 stars 2 forks source link

Cron: deal with errors gracefully #16

Open taijinlee opened 12 years ago

taijinlee commented 12 years ago

Not sure how the architecture should work here

couple of ways of structuring this:

Benchmarker <->  Cron <-> App <-> History <-> DB
Benchmarker <-> Cron <-> App
                 \      /
                  History <-> DB
Benchmarker <- Cron
          \    /
            App <-> History <-> DB

I think they're all ok. Just need to choose one. I'm tempted by the first one or third one. Second means that we have to expose a history api, which I feel like is a lot of work to secure.