What's the 'largest' scale web2py is known to perform well on?
--
Lorin Rivers
Mosasaur: Killer Technical Marketing <http://www.mosasaur.com>
<mailto:lri...@mosasaur.com>
512/203.3198 (m)
<mailto:lri...@mosasaur.com>
512/203.3198 (m)
This from (a guy who's smart and I respect, honestly) who uses his brand-new top-of-the-line 17" MBP to run Windows VMs in Parallels.
<mailto:lri...@mosasaur.com>
512/203.3198 (m)
Ask the consultant which architectures and languages he knows and let
him make a table of advantages and pitfalls of each.
You will be able to take your decisions then
A solution that fits for any problems does not exist, but theorical
scalability is a non issue on many frameworks.
Indeed programmers can make such errors that can make run slow even
the most powerful system :)
To scale .NET well you must run on OS' that scale well, so you better
run .NET on Mono and choose a proper OS.
Scalability is not only a matter of application framework, systems
like Linux allows you to put new nodes fast with no
licensing fights, you can make 1000s VMs in seconds, you cannot do
that on commercial OS'.
Also if database is involved that is another critical point for
scalability, commercial DBs scale at high cost.
mic
2010/11/29 ron_m <ron.m...@gmail.com>:
--
Lorin Rivers
Mosasaur: Killer Technical Marketing <http://www.mosasaur.com>
<mailto:lri...@mosasaur.com>
512/203.3198 (m)
2010/11/29 Lorin Rivers <lri...@mosasaur.com>:
Having said that... if they can help you write better code on .NET
than you currently write in web2py, the above argument turns on you.
--
Branko Vukelić
bg.b...@gmail.com
stu...@brankovukelic.com
Check out my blog: http://www.brankovukelic.com/
Check out my portfolio: http://www.flickr.com/photos/foxbunny/
Registered Linux user #438078 (http://counter.li.org/)
I hang out on identi.ca: http://identi.ca/foxbunny
Gimp Brushmakers Guild
http://bit.ly/gbg-group
- full version, no demo or limited in time bull
- see how it is coded and know the *real* quality
- code written to solve problems and not sell licences
- support from the ones that designed the software
mic
2010/11/30 mdipierro <mdip...@cs.depaul.edu>:
Let me share an anecdote from where I work. One of the IT staff here
fiddles with VB from time to time. He does consider himself an
intermediate programmer. So he comes to me from time to time to ask
for advice on how to do this or that. And each time, my first response
is: "Try to google out a library that does that." It almost always
turns out that there is (a) no such library shared on the net, or (b)
you have to pay for it. That's the kind of eco system he's in. We all
know how beautifully different that is with open-source software.
So, it's not just writing code. It's about "I'm not the brightest kid
on the block, and there might be others, who are smarter, and have
maybe shared their smarts with the rest of us." And you download that
lib, and you learn the API, read the source, and learn a thing or two.
So you don't always have to write better code than others.
Having said all of above... I've tried Ruby, Erlang, VB, Python, a
little bit of C. You always learn a few things by just trying to get
something working in any environment, and you can use that knowledge
to advance your understanding of the tool you chose. In other words, a
little experimenting with .NET won't hurt you a bit. If I'm not
mistaken, there's "express" version of whatever tool Microsoft offers,
and you can use that to educate yourself. See how it works and define
your arguments against it with something to back it up. And MSDN is a
fine piece of knowledge base, too, just to be fair. I've learned a lot
from it alone back when I didn't know how to google for stuff.
Can session files be turned of ?
cheers,
Stef
you can turn off sessions by
session.forget()
and also store sessions in the database
that is how it works on GAE. In every default db.py you have:
if request.env.web2py_runtime_gae:
db = DAL('gae')
session.connect(request, response, db=db)
Here's an example (maybe quoted one time too often):
http://www.sics.se/~joe/apachevsyaws.html
--
Branko Vukelić
Anyway, they didn't say ASP.NET. They just said .NET.
Run web2py on that, and wahoo!
Real WORLD scalable implementations are VERY CUSTOM thing.
like for example:
http://python.mirocommunity.org/video/1886/djangocon-2010-scaling-the-wor
btw, they use apache.
My point is: let's focus on our killer products that will create good
enough tracking and attention to.. scale.
http://pypi.python.org/pypi/pastegevent/0.1
2010/12/1 Jorge Restrepo <jorg...@gmail.com>:
2010/12/1 Michele Comitini <michele....@gmail.com>:
The project will focus on a subset of features. Like "Let's do an app
that focuses on session handling." or "Let's do an app that focuses on
real-time communication", or "Let's do an app that deals with nodes.",
or "Let's do an app that runs on a mobile platform."
We could ask for sponsorship, and develop an app that a sponsor will
have vested interest in, etc.
--
Branko Vukelić
exactly and already mentioned in this thread
Well, it hasn't proposed any projects yet, no? What I had in mind is
something along the lines of:
"Ok, so Company XXX has a product that does A, B, and C. The goal of
this project is to do A, B and C, and maybe do C a bit differently, by
July next year."
Then you could look for a sponsor that would possibly use the product
later on, and you allow them exclusive access to WIP code, you give
them access to bug tracker, pre-release code, etc, maybe a special
exclusive non-GPL license for the code (the finished product is
released under GPL, but company, say, keeps the right to close-source
its modifications, etc). That way, you get access to money, and people
who have an interest in keeping the project alive on longer term.
It's a bit different than the classic investment.
--
Branko Vukelić
I think the best argument to end this discussion, is that someone,
possibly you, write a simple
and sane example that brings down and locks web2py, so we will come
over it and there will be no excuse to fix.
mic
Fortunately you are almost too wrong. ;)
Aside from that, web2py development speed is very addictive, for me it
is getting harder and harder to switch back to slowness :)
mic
2010/12/3 pbreit <pbreit...@gmail.com>:
PHP? It's well capable of handling it's business, you know. Facebook's
front-end runs on PHP. And it's open-source. Ugly as hell, too.
Ruby on Rails was another option, right? Has all the benefits of an
open-source project with all the benefits of the 'proven to scale'
argument?
And finally, Erlang. Proven to massively scale in right hands, proven
ability to deal with hugely concurrent apps... If it's good enough for
Ericsson, right? I mean telecomm software: real-time, distributed, and
how many people use phones (including cells) around the world?
Facebook chat runs on it, Github has some components ported to Erlang,
and generally, wherever real-timeness is a priority, it's unbeatable.
So, it's not .NET vs web2py. It's proven-to-scale (they gave .NET and
Rails as examples, iirc), versus web2py. You have open-source
solutions other than Python/web2py. Frankly, I'd always bet on Erlang.
But I never learn enough of it to get started. :)
Another 'problem' is that it's not about performance when it comes to
Erlang. It's about overall robustness. For example, Yaws HTTP server
may not be the fastest around, but you just cannot kill it. Even if it
drops a request, it will keep on running, and handling whatever
requests you throw at it. I guess I had that in mind when I said
scalability.
Also, Erlang has software threads, afaik, not hardware CPU threads,
and it manages those internally using a supervisor-worker
architecture. That's something built into the language, and you mostly
don't have to worry about it.
--
Branko Vukelić
>massimo wrote:
>ab -n 10000 -c 100 http://127.0.0.1:8081/
>
>rocket: 0.629 [ms]
>eventlet:
Massimo , does eventlet failed in that test?
Erlang have many scability advantages , yes , but Langauge Looks
horrible!! almost as readable as C (in my opinion)
I will only choose python .It will not be Super Scalable as erlang
but still scalable as proven by google.
sorry for my bad english.
Erlang is not just a language. When I say Erlang, I mean Erlang/OTP,
and OTP is a huge general-purpose framework for networked
applications. So effectively you are still comparing frameworks.
Language itself is actually beautiful. I thought it was ugly at first,
but I obviously no longer think so. Once you get used to the syntax,
you get absorbed in how powerful the language is.
--
Branko Vukelić
--
Branko Vukelić