/srv/irclogs.ubuntu.com/2012/05/26/#juju.txt

imbrandonwell the translation was not that biggie00:00
imbrandonbut the poling and proxying was00:00
imbrandonand it groks it ewnought to do sql queries for r/w00:00
imbrandonenough*00:00
SpamapSimbrandon: I think I'd rather just have drizzle do the HTTP/JSON00:01
imbrandonserver {00:01
imbrandonlocation /mysql {00:01
imbrandonset $my_sql 'select * from cats';00:01
imbrandondrizzle_query $my_sql;00:01
imbrandondrizzle_pass backend;00:01
imbrandon}e.g. no middlew man like php etc , just nginx and database for some things, even does escaping of user input etc00:02
imbrandonand is no blocking00:02
imbrandonbut yea its not for everythging, but i can soo see a few uses for this and with a little creative thinking some really cool stuff00:03
SpamapSimbrandon: nginx is the middle man there. You can just do an HTTP target with the HTTP+JSON plugin00:03
imbrandonSpamapS: sure then you loose the cluster though00:03
imbrandonthat you may have behind backend00:03
SpamapSimbrandon: also I'm not sure I like the direct DB access anyway. SOA arches tend to evolve more sanely.. and you want to be able to do things like insert a cache there.00:04
imbrandonand also its for mysql and mongo and all not just drizzle00:04
imbrandonthats exactly what i was doing with it, looking up a cache hit, if not sent to php , if php puts it in mongo then next round nginx gets form mongo and no php hit00:05
imbrandonbut i'm sure there is soooo much more it could do with a bit of thought00:05
imbrandonhttps://github.com/simpl/ngx_mongo00:07
imbrandonSpamapS: ^^00:07
imbrandondrizzel kinda bad example with the json as it does it already, but see how utterly simple that makes db clustering00:09
imbrandonwell simple clustering00:09
imbrandonand can use some nifty sql tricks in locations too00:09
imbrandon:)00:09
imbrandonhell make it understand python and you nginx/wsgi/webpy would all become one thing :)00:10
imbrandonlol00:10
SpamapSimbrandon: you're.. caching.. in mongo?!00:11
SpamapSwtf?!00:11
SpamapSimbrandon: *drizzLE*00:11
imbrandonfull page caching just as a poc tsting out mono00:11
imbrandonmongo*00:11
imbrandonnot like for real00:11
SpamapSimbrandon: we have this thing.. memcached.. its like.. awesome. :)00:11
imbrandonhahah yup and redis even better00:11
imbrandon( for that )00:11
SpamapSimbrandon: and membase for when you want really long lived cache items. :)00:12
imbrandonnever tried that one00:12
SpamapSits memcachedb but not t3h suck00:12
SpamapSanwyay, time to sign off for the weekend00:12
imbrandonbut yea, its was just as a proof of concept thing, trying all this new stuff oout i found00:12
imbrandoncoopl cool , later00:12
SpamapSimbrandon: sometimes I'm jealous that you get to work on actual scaling architectures and not just pretend to work on them in a metaverse like I do. :-P00:12
imbrandonheheh trust me , i'll drag you in enough ;)00:13
imbrandoni start getting rich and might even have to bribe ya too00:13
imbrandon:)00:13
imbrandonseriously tho, enjoy the weekend, i'll be round i'm sure00:13
SpamapSwoot! txzookeeper accepted in Debian15:08
m_3SpamapS: awesome15:13
SpamapSindeed15:24
SpamapSjuju should be next15:24
_mup_Bug #1004937 was filed: juju should provide more useful error when no ssh keys avaliable <juju:New> < https://launchpad.net/bugs/1004937 >17:27
=== imbrando1 is now known as imbrandon

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!