News for hackers. Stuff that matters.
Re:Cloud Design Patterns by novaleaf on Thursday March 10, 2016 @12:43PM (#11260608)
i just finished implementing a similar pattern: atomic-cache (cache+eventually consistent modifications) and while it's debatable whether the pattern belongs in your "database" layer or "app" layer, you certainly do need this pattern somewhere.

For me, my orm layer is in my app, and my database is just google datastore. I have ideas for eventually writing a db caching layer as you suggest but it's rather a lot more complexity beyond the "get it working and move on" principle.

Re:Cloud Design Patterns by alooPotato on Thursday March 10, 2016 @03:54PM (#11262216)
Are you using something like Objectify with the google datastore?
Re:Cloud Design Patterns by novaleaf on Thursday March 10, 2016 @07:39PM (#11263755)
no, just the gcloud-node (npm) module and a home-rolled orm.

objectify looks interesting! but I'm a nodejs user, not java.