Haki
@be_haki
A software developer and a technical lead. I take a special interest in databases, web development, software design and performance tuning.
ID:2834924845
https://hakibenita.com 28-09-2014 09:32:44
1,4K Tweets
2,9K Followers
142 Following
Had a great time meeting Charles (Charles Max Wood | [email protected]), Valentino (@thecodenamev), and Dave (@kobaltz) at Ruby Rogues! We discussed PostgreSQL with Ruby on Rails. We chatted about the writing process, and how it's aimed at 'Application DBAs' (credit: Haki). ๐
twitter.com/rubyrogues/staโฆ
How do you implement 'get or create' in #PostgreSQL ?
My best effort (that don't cause unnecessary bloat) includes 3 CTEs and ~25 lines... ON CONFLICT and MERGE are useless.
Any better ideas?
I'm giving a talk this Thursday on PyCon Sri Lanka about concurrency in web application
I'm going to show how to keep your data consistent and your system running smoothly w/o compromising (too much) performance๐
It's free, online and interactive!
๐๐๐
pycon.lk