Conversation
Dashes
-
No debate this morning? I'm fine with that... Keeps my blood pressure down
about a year ago from web-
@purplephish20 You missed it actually.
about a year ago from web-
@toksyuryel @purplephish20 I don't think a discussion about databases is going to raise his blood pressure anyway.
-
@toksyuryel What language were you going to write the app in anyway. I feel pretty confident saying "not PHP"
-
@ceruleanspark It's totes .Net
-
@ceruleanspark Python
about a year ago from web-
@toksyuryel wwwwwwwwwwhhhhhhhhhhaaaaaaaaaaaatttttttt.
-
@toksyuryel Damn. I was sure it was gonna be basic
-
@toksyuryel I have no problem with Python, but have you ever tried using any web frameworks with it? I've set up some VERY SIMPLE Django apps with it, and it's slow.
-
@widget Is there such a thing as a python opcode cache?
-
@ceruleanspark Python caches its bytecode in pyc files. As far as the actual machine-level instructions, no. I think there's several way out there to compile Python code into normal executables, but I'm not sure how reliable they are.
-
@ceruleanspark It does cache its bytecode, but even still the slowness is architectural. It's possible to dynammically overload the entire language during runtime, so it doesn't actually know what any particular sequence of instructions actually does until they're being executed. It's possible to achieve tremendous speedups by implimenting the language differently; cython is extremely fast, and stackless is quite good as well. But these alternate implimentations come at the cost of being several language versions behind.
about a year ago from web
-
-
@widget I messed around with Pyramid for a bit before diving into learning SQL. Compared to PHP Python should still be a performance improvement, especially with the additional performance improvement of using PostgreSQL and nginx. It should not perform any worse than statusnet.
about a year ago from web-
@toksyuryel Wouldn't it be easier to use python as the server rather than nginx? That way you don't have to add another dependency to the mix?
-
@widget s/easier/better/
-
@widget It would be easier, but it would also be exceptionally inefficient and monsterously slower. Just because something is easy to do doesn't mean it's the right way to do it.
about a year ago from web-
@toksyuryel I corrected myself. It wouldn't be easier (for you), but it would be better for the users.
-
@widget Python is a terrible web server.
about a year ago from web-
@toksyuryel They're also not very filling.
-
-
-
-
-
@toksyuryel Now there's a ringing endorsement right there. That's one for the homepage. "Not worse than Statusnet"
about a year ago from web-
@ceruleanspark Gotta start somewhere :)
about a year ago from web-
@toksyuryel Will I still be able to obsess over sub-second enhancements in page render speed. This is important because it makes me feel needed.
about a year ago from web-
@ceruleanspark There'll always be room for improvements^^ you'd have to dig into the Python and SQL code though. PostgreSQL helpfully provides the EXPLAIN and EXPLAIN ANALYZE commands for performance fetishists to go nuts optimizing queries with, and it's even possible to write trigger functions in C.
about a year ago from web
-
-
-
-
-
-
-
-
@toksyuryel @ceruleanspark Nice one... Imma compensate by drinking coffee...
about a year ago from web
-
-





