imbrandon | well the translation was not that biggie | 00:00 |
---|---|---|
imbrandon | but the poling and proxying was | 00:00 |
imbrandon | and it groks it ewnought to do sql queries for r/w | 00:00 |
imbrandon | enough* | 00:00 |
SpamapS | imbrandon: I think I'd rather just have drizzle do the HTTP/JSON | 00:01 |
imbrandon | server { | 00:01 |
imbrandon | location /mysql { | 00:01 |
imbrandon | set $my_sql 'select * from cats'; | 00:01 |
imbrandon | drizzle_query $my_sql; | 00:01 |
imbrandon | drizzle_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 etc | 00:02 |
imbrandon | and is no blocking | 00:02 |
imbrandon | but yea its not for everythging, but i can soo see a few uses for this and with a little creative thinking some really cool stuff | 00:03 |
SpamapS | imbrandon: nginx is the middle man there. You can just do an HTTP target with the HTTP+JSON plugin | 00:03 |
imbrandon | SpamapS: sure then you loose the cluster though | 00:03 |
imbrandon | that you may have behind backend | 00:03 |
SpamapS | imbrandon: 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 |
imbrandon | and also its for mysql and mongo and all not just drizzle | 00:04 |
imbrandon | thats 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 hit | 00:05 |
imbrandon | but i'm sure there is soooo much more it could do with a bit of thought | 00:05 |
imbrandon | https://github.com/simpl/ngx_mongo | 00:07 |
imbrandon | SpamapS: ^^ | 00:07 |
imbrandon | drizzel kinda bad example with the json as it does it already, but see how utterly simple that makes db clustering | 00:09 |
imbrandon | well simple clustering | 00:09 |
imbrandon | and can use some nifty sql tricks in locations too | 00:09 |
imbrandon | :) | 00:09 |
imbrandon | hell make it understand python and you nginx/wsgi/webpy would all become one thing :) | 00:10 |
imbrandon | lol | 00:10 |
SpamapS | imbrandon: you're.. caching.. in mongo?! | 00:11 |
SpamapS | wtf?! | 00:11 |
SpamapS | imbrandon: *drizzLE* | 00:11 |
imbrandon | full page caching just as a poc tsting out mono | 00:11 |
imbrandon | mongo* | 00:11 |
imbrandon | not like for real | 00:11 |
SpamapS | imbrandon: we have this thing.. memcached.. its like.. awesome. :) | 00:11 |
imbrandon | hahah yup and redis even better | 00:11 |
imbrandon | ( for that ) | 00:11 |
SpamapS | imbrandon: and membase for when you want really long lived cache items. :) | 00:12 |
imbrandon | never tried that one | 00:12 |
SpamapS | its memcachedb but not t3h suck | 00:12 |
SpamapS | anwyay, time to sign off for the weekend | 00:12 |
imbrandon | but yea, its was just as a proof of concept thing, trying all this new stuff oout i found | 00:12 |
imbrandon | coopl cool , later | 00:12 |
SpamapS | imbrandon: 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. :-P | 00:12 |
imbrandon | heheh trust me , i'll drag you in enough ;) | 00:13 |
imbrandon | i start getting rich and might even have to bribe ya too | 00:13 |
imbrandon | :) | 00:13 |
imbrandon | seriously tho, enjoy the weekend, i'll be round i'm sure | 00:13 |
SpamapS | woot! txzookeeper accepted in Debian | 15:08 |
m_3 | SpamapS: awesome | 15:13 |
SpamapS | indeed | 15:24 |
SpamapS | juju should be next | 15: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!