Re: [web2py] Re: Web2py based STARTUP: Linkfindr.com

2011-11-29 Thread Kuba Kucharski
@anthony for now Linkfindr IE compatibility is not my prio ;) @lyn2py it took 3 months @massimo I thanked Yarko because he helped me a lot more than 3 years ago when I was a beginner with web2py, I wasn't aware about current top 10, I wrote this email really fast, looks like I haven't given i

[web2py] Web2py based STARTUP: Linkfindr.com

2011-11-28 Thread Kuba Kucharski
Hi, Long time no see. Some of you may remember me, I was very active here :) This is my profile http://experts4solutions.com/e4s/default/expert/21 I am really gratefull for help of Web2py community. Without you, guys, this wouldn't be possible. In one sentence: I created a startup using WEB2PY. A

Re: [web2py] Re: "python web2py.py" stops any any comman

2011-01-21 Thread Kuba Kucharski
>and nothing more! >There is no prompt and I cann't input anything - seems it hangs. it works perfectly, if you want to use the same console after starting the server you can start web2py in background: python web2py.py -i 127.0.0.1 -p 8001 & and than run python web2py.py -S app -N for python

Re: [web2py] [OT](urvey) web2py web browser

2011-01-11 Thread Kuba Kucharski
nope, afaik

Re: [web2py] Re: ADVOCACY: "every single other Python program ever written uses imports"?

2011-01-09 Thread Kuba Kucharski
Bruno, Pbreit, the discussion was starting to get really interesting, please don't let it go OT

Re: [web2py] Re: web2py-related thread at reddit

2011-01-07 Thread Kuba Kucharski
On Fri, Jan 7, 2011 at 9:43 PM, Stefaan Himpe wrote: > first they laugh at you then they fight you then you win http://www.mail-archive.com/web2py@googlegroups.com/msg32314.html :)

Re: [web2py] why not PHP?

2011-01-04 Thread Kuba Kucharski
> Comments below the original post for full explanation. ok, I thought there is smth more there that I missed ;)

Re: [web2py] why not PHP?

2011-01-04 Thread Kuba Kucharski
2011/1/4 Branko Vukelić : > Look at the comments below the post. ?

Re: [web2py] Re: ajax polling with web2py

2010-12-23 Thread Kuba Kucharski
hi, that is a very good question. April, f.e: http://www.mail-archive.com/web2py@googlegroups.com/msg34855.html -- Kuba

Re: [web2py] Re: it case you missed it...

2010-12-21 Thread Kuba Kucharski
+1

Re: [web2py] Re: Computed fields - change of behavoiur OR advice needed

2010-12-19 Thread Kuba Kucharski
that is a good solution indeed, thanks for the fast response -- Kuba

[web2py] Re: Computed fields - change of behavoiur OR advice needed

2010-12-19 Thread Kuba Kucharski
or do I really have to go with onaccept= in every form I created.. and disable compute field

[web2py] Computed fields - change of behavoiur OR advice needed

2010-12-19 Thread Kuba Kucharski
Looks like I have a problem. I want to compute field like this and it works FINE: Field('logo_small','upload',writable=False,readable=False,widget=uploadWidget,compute=lambda r: THUMB(r)), def THUMB(r): try: image=r['logo'] except: #yes, None is deleting my thumbnail

Re: [web2py] request for error log to default to "list by ticket"

2010-12-18 Thread Kuba Kucharski
+1

[web2py] Re: crud.update question

2010-12-08 Thread Kuba Kucharski
nevermind. my problem was dbio=False in the wrong place.

[web2py] crud.update question

2010-12-08 Thread Kuba Kucharski
I have form=crud.update(db.table,id) and then in the view {{=form.custom.begin}} {{form.custom.widget.name}} {{=form.custom.widget.logo}} {{=form.custom.widget.twitter_link}} {{=form.custom.submit}} {{=form.custom.end}} but this way the form is not getting populated, also values that I ommit i

Re: [web2py] list:integer X list:reference for auth_user table

2010-12-06 Thread Kuba Kucharski
> Field('assigned_to','list:reference auth_user'), > > In the case of 2, how to represent as 'db.auth_user.first_name' for multiple > users requires=IS_IN_DB(db,'auth_user.id','%(first_name)s',multiple=True)

Re: [web2py] Re: Scalability of web2py?

2010-12-02 Thread Kuba Kucharski
> requests per second to Django with Apache and mod_wsgi: > http://nosql.mypopescu.com/post/1409154668/disqus-scaling-the-worlds-largest-django-application exactly and already mentioned in this thread >Real WORLD scalable implementations are VERY CUSTOM thing. >like for example: >http://python.m

Re: [web2py] Re: Scalability of web2py?

2010-12-01 Thread Kuba Kucharski
Web2py is waiting for the first brave ONE to (be able to) GO and try to SCALE. I believe this person will get a lot of attention and resources from community and Massimo himself. Real WORLD scalable implementations are VERY CUSTOM thing. like for example: http://python.mirocommunity.org/video/188

Re: [web2py] Re: Scalability of web2py?

2010-12-01 Thread Kuba Kucharski
> Can session files be turned of ? 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)

Re: [web2py] Best webframeworks

2010-11-26 Thread Kuba Kucharski
> But damn. The list is wrong in so many ways. +1

Re: [web2py] Re: one more security feature in trunk

2010-11-25 Thread Kuba Kucharski
@michele yeap, IP-based security sucks.

Re: [web2py] Re: one more security feature in trunk

2010-11-25 Thread Kuba Kucharski
@massimo this sounds good, although stealing creditentials/intercepting communication is most probable in the networks hidden over NAT - hence in this case it will not work. -- Kuba

Re: [web2py] Re: one more security feature in trunk

2010-11-25 Thread Kuba Kucharski
If you have a router, then your machine's MAC address will go no further than that. Your router's MAC address will show up in packets sent further upstream, until that too is replaced by the MAC address of the next device - likely either your modem or your ISP's router. So your MAC address doesn't

Re: [web2py] Re: your assignment freelancer.org

2010-11-24 Thread Kuba Kucharski
guys, I think that was intended as sarcasm by Massimo.. stay cool ;) -- Kuba

Re: [web2py] bug in the book or in the code? linkedin instruction

2010-11-23 Thread Kuba Kucharski
> a solution can be putting a new action similar to the following in the > controller: > > @auth.requires_login() > def onlogin_add_permission(): >  if not auth.has_permission(auth.user_group(auth.user.id), 'create', >  'my_table'): >      auth.add_permission(auth.user_group(auth.user.id),'create',

Re: [web2py] bug in the book or in the code? linkedin instruction

2010-11-23 Thread Kuba Kucharski
> does the following work for you? > > > > def onlogin_add_permission(): >  if not auth.has_permission(auth.user_group(form.vars.id), 'create', > 'my_table'): >      auth.add_permission(auth.user_group(form.vars.id),'create','my_table') > > > auth.settings.login_onaccept = onlogin_add_permissi

Re: [web2py] Re: very long wait for http://127.0.0.1:8000/ on IE and Firefox browsers

2010-11-22 Thread Kuba Kucharski
ok, if it disappers on unpluging network, that it is not that issue, sorry

Re: [web2py] Re: very long wait for http://127.0.0.1:8000/ on IE and Firefox browsers

2010-11-22 Thread Kuba Kucharski
Just a hyphotesis, I've seen the issue you are describing many times. It always disapears when I move from Rocket to Apache/WSGI. It seems to me that it got smth to do with handling static files. -- Kuba

Re: [web2py] bug in the book or in the code? linkedin instruction

2010-11-18 Thread Kuba Kucharski
one more thing, w/o registration process I cannot do: auth.settings.register_onaccept=lambda form:auth.add_permission(auth.user_group(form.vars.id),'create','my_table') how to handle it then? I tried to search for the place in the code where the group for the user is created but I cannot find it e

Re: [web2py] bug in the book or in the code? linkedin instruction

2010-11-14 Thread Kuba Kucharski
thx, really, it saved my time, it works that way -- Kuba

[web2py] bug in the book or in the code? linkedin instruction

2010-11-12 Thread Kuba Kucharski
Hi, long time no see, guys I did exact thing like in the book from gluon.contrib.login_methods.linkedin_account import LinkedInAccount auth.settings.login_form=LinkedInAccount(request,KEY,SECRET,RETURN_URL) (yeap I had inserted key etc, and yes, I haven't sent it in my ticket to all the public, I

Re: [web2py] Re: new in trunk: clone.py

2010-07-25 Thread Kuba Kucharski
huge part creation is about modifying smth that was previously there. there are a lot of things that can be used in a bad or good way(photoshop?). and yes, they are still on the market. let's leave the choice between good and evil to the people. I don't really care SO MUCH about "clone" feature(alt

Re: [web2py] Re: rocket performance issues

2010-07-21 Thread Kuba Kucharski
yes, but I am on the GPRS connection now, I am not able to test it so the results be reliable, I will try to do that asap

[web2py] rocket performance issues

2010-07-21 Thread Kuba Kucharski
"sometimes, once every few hits, page loads significantly slower weirdest thing is when you re-click the link it loads instantly, when you left it working to load on itself, it is slow.. like 4 to 8 seconds" some people report more, 20 seconds, 1 minute. Tim, can you reproduce this? Have you trie

Re: [web2py] Re: web2py performance issue or rather my fault?

2010-07-21 Thread Kuba Kucharski
>> therefore your problem is not the same that some other >> problems experienced with apache/WSGI. exactly, > look at Iceberg, Rahul, MikeEllis in this thread I was just pointing out that I am not the only one seeing "rocket-specific-problem"

Re: [web2py] Re: web2py performance issue or rather my fault?

2010-07-21 Thread Kuba Kucharski
> You said: "I moved to apache/WSGI from Rocket. For me the problem > disappears." therefore your problem is not the same that some other > problems experienced with apache/WSGI. look at Iceberg, Rahul, MikeEllis in this thread >You also said you cache.ram all > requests. Can you try remove the cac

Re: [web2py] Re: web2py performance issue or rather my fault?

2010-07-21 Thread Kuba Kucharski
On Wed, Jul 21, 2010 at 1:54 PM, mdipierro wrote: >> On the other hand, Kuba, who started this thread, later said "I moved to >> apache/WSGI from Rocket. For me the problem disappears."  So I guess there >> is a standalone rule #5: Use apache/WSGI etc. instead of the built-in Rocket >> ? > > I

Re: [web2py] Re: rpxauth

2010-07-15 Thread Kuba Kucharski
I used it but I encountered limitations when using access tokens to get api data, this is paid service by jainran then, so the question is will it still be cool to be in trunk?

Re: [web2py] Re: web2py performance issue or rather my fault?

2010-07-08 Thread Kuba Kucharski
> The web server was restarted and the database reset in between each ab > test but AFAIK ab tends to be unreliable.. it is also my conclusion from benchmarking rocket vs cherrypy try httperf?

Re: [web2py] Re: web2py performance issue or rather my fault?

2010-07-08 Thread Kuba Kucharski
> - Both my develop machine (windows xp home edition with latest ServicePack), > and my production machine (a Linux), have such issue occasionally. Both > environments uses web2py's built-in server, rocket or cherrypy. Both serve no > more than 10 people or so. > @Massimo: You can check your pr

Re: [web2py] Re: web2py performance issue or rather my fault?

2010-07-08 Thread Kuba Kucharski
> What could it be? let's rule things out > - cron when it runs spikes CPU usage. DO NOT USE. In production run not the case. no cron, no cpu spikes > - web2py session lock (the the same user can only access one page at I have session.forget.. > - sqlite lock (depending on the query and the comp

Re: [web2py] Re: new web2py site in Poland!

2010-07-07 Thread Kuba Kucharski
cultural clubs, coffe places, museums, organizations, theatres, old-school cinemas, ngos are the actors here. they set they info, profile etc, and add events they organize. so people from Warsaw can have information about those events - fast and easier than facebook or (overloaded with ads and to m

[web2py] new web2py site in Poland!

2010-07-07 Thread Kuba Kucharski
Hi, people, I would like to present you WRSZW project http://wrszw.pl it is about events in Warsaw, capital of Poland, fully non-commercial initiative of places in my city. polish only but english is coming, web2py rocks. it was a pleasure to make it happen :) -- Kuba

[web2py] web2py performance issue or rather my fault?

2010-07-07 Thread Kuba Kucharski
I had prepared some mini-portal, I have 1000 unique visits a day but there is a performance issue bandwidth is ok memory is ok processor load is ok cache.ram is set for almost all of the queries, and is set for 1 hour but sometimes, once every few hits, it loads signifacantly slower weirdest thi

Re: [web2py] Re: httpserver.log graphical stats

2010-07-05 Thread Kuba Kucharski
Hi, selecta Do you have a fixed version? -- Kuba

Re: [web2py] Re: httpserver.log graphical stats

2010-07-05 Thread Kuba Kucharski
this appliance is awfully bugged with indentation errors more than 40 errors inside? -- Kuba

Re: [web2py] Re: facebook oauth support

2010-06-29 Thread Kuba Kucharski
ok, maybe howesc!=cfhowes, sory ;) I thought it is yours. -- Kuba

Re: [web2py] Re: facebook oauth support

2010-06-29 Thread Kuba Kucharski
hey, howesc If you could provide working application package w/o facebook keys of course it would be neat because I did not manage to get your slice fully working. -- Kuba

Re: [web2py] facebook oauth support

2010-06-29 Thread Kuba Kucharski
hi, MCM the web2py community is very much interested in facebook graphApi intergration with web2py, can you make it plugin/model? I use some graph api calls in my applications but it is simple token exchange, no integration with app. but I know the subject, maybe I can help. thx for all your effo

[web2py] Re: how to upload a picture from url to database?

2010-06-28 Thread Kuba Kucharski
I mean with db.insert for example still think the question is little different than in this thread: "How to upload a file without using SQLFORM" http://groups.google.com/group/web2py/browse_thread/thread/9f22f1d8c04b1b69?pli=1 because I am asking about doing it in controllers without providing f

[web2py] how to upload a picture from url to database?

2010-06-28 Thread Kuba Kucharski
somewhere in my controllers I have: pic=fetch("https://graph.facebook.com/"+str(event['id'])+"/picture?access_token="+access_token) I get pic: jpeg stream - in response, but how do I upload a picture from some url directly to the db? -- Kuba

Re: [web2py] Re: auth_permission limitation?

2010-06-27 Thread Kuba Kucharski
thx I do this know and it is much better than from appadmin: auth.settings.register_onaccept=lambda form:auth.add_permission(auth.user_group(form.vars.id),'create','ctm_table1') maybe this is why no one encountered this so far - everyone is doing all this stuff automatically although the workarou

[web2py] auth_permission limitation?

2010-06-27 Thread Kuba Kucharski
THE PROBLEM IS ABOUT APPADMIN AND RENDERING DEFAULT CRUD ON AUTH_PERMISSION TABLE. to reproduce: 1: initialize new app 2: add a table in db.py 3: go here: http://127.0.0.1:8001/app/appadmin/insert/db/auth_permission and check whether you can assign permissions to your new table in dropbox(table na

Re: [web2py] Re: pyamf installation issues

2010-06-21 Thread Kuba Kucharski
from my experience with pyamf: I got the same, my conclusion was web2py process restart is needed. for me it started to work after rebooting web2py. don't know why and if it is a coincidence or not. -- Kuba

[web2py] SHORT one amfrpc3 with web2py

2010-06-10 Thread Kuba Kucharski
I get service not found when using this: @service.amfrpc3('testing_domain') def addvalues(a,b): return a+b from client: from pyamf.remoting.client import RemotingService client = RemotingService('http://127.0.0.1:8001/warsawbackpanel/default/call/amfrpc3') service = client.getService('testing

Re: [web2py] new in Django

2010-05-18 Thread Kuba Kucharski
sory, I've missed previous thread about it

[web2py] new in Django

2010-05-18 Thread Kuba Kucharski
http://docs.djangoproject.com/en/dev/releases/1.2/ "Support for multiple database connections in a single Django instance." django is catching up ;) -- Kuba

Re: [web2py] Re: Is T3 still in use, whats everyone using

2010-05-06 Thread Kuba Kucharski
On Thu, May 6, 2010 at 9:37 PM, mdipierro wrote: > There is something being planned. A lot of what used to be in T3 > (modules/t2.py) is not in web2py core. > > (modules/t2.py) is NOW in web2py core.

Re: [web2py] Web2py or Python 2.5 consumes too much RAM

2010-05-04 Thread Kuba Kucharski
> I tried rebooting the server but after some time it starts to consume > a lot of memory again. There's only one user for now do you have some kind of automated actions(like xml-rpc calls, js scripts using json-rpc) and you forgot to disable sessions for this actions with session.forget?

Re: [web2py] Re: Upgrade gluon directory

2010-04-23 Thread Kuba Kucharski
you can safely extract new version into your old web2py version folder although it is recommended to do the backup of your applications anyway. -- Subscription settings: http://groups.google.com/group/web2py/subscribe?hl=en

Re: [web2py] Re: Authenticate against the users defined at the server database

2010-04-22 Thread Kuba Kucharski
> I meant to enter user and password from a form ?? you mean you want to authenticate to your database with creditentials from auth_user table??? -- Kuba -- Subscription settings: http://groups.google.com/group/web2py/subscribe?hl=en

Re: [web2py] Database migration does not work

2010-04-22 Thread Kuba Kucharski
Can you show us the line with a query code? -- Kuba -- Subscription settings: http://groups.google.com/group/web2py/subscribe?hl=en

[web2py] tagging content in user-documentation - TO: WEB2PY COMMUNITY

2010-04-21 Thread Kuba Kucharski
SUMMARIZE: could we improve web2py documentation dramatically w/o creating a lot of new content just by tagging? FULL: After Massimo's post in "Preventing login after Auth.register; Adding groups to the register form" >It is in the book but it is called form_factory. web2py support both >names

Re: [web2py] Re: Preventing login after Auth.register; Adding groups to the register form

2010-04-21 Thread Kuba Kucharski
>   form=SQLFORM.factory(db.auth_user,Field('group1')): btw this ( I mean concatenating/passing "table definition" like f.e "db.some_table" along with Field('some_field') in the SQLFORM.factory() ) is not in the book(?) and it doesn't look google-able to me anywhere else this maybe obvious from p

Re: [web2py] Re: showing errors from loaded web2py components

2010-04-21 Thread Kuba Kucharski
Massimo, Is it possible to have this as a trigger/checkbox in admin as an OPTIONAL behaviour for all errors(not only LOAD components)? this way we left the default behaviour and allow alternate. I personally hate opening new tab/window for error browsing since it almost always takes <1sec to fin

Re: [web2py] Re: DAL SQL exercise of the day

2010-04-15 Thread Kuba Kucharski
I don't think so, please post :) -- Kuba On Thu, Apr 15, 2010 at 4:49 AM, DenesL wrote: > Nobody else? Need more time? > Speak up or else... I will will post the answer. > > > -- > To unsubscribe, reply using "remove me" as the subject. >

Re: [web2py] enum types

2010-04-07 Thread Kuba Kucharski
hi, thadeus there was whole thread about this: http://www.mail-archive.com/web2py@googlegroups.com/msg10329.html -- Kuba On Wed, Apr 7, 2010 at 10:55 PM, Thadeus Burgess wrote: > Does the DAL support database ENUM types? > > -Thadeus > > -- > You received this message because you are subscr

Re: [web2py] How to install and run web2py on Jython ?

2010-04-07 Thread Kuba Kucharski
Hi, here they are: http://web2py.com/book/default/section/12/9 + use newest stable -- Kuba -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send e

Re: [web2py] Re: recaptcha in LOAD not working

2010-04-06 Thread Kuba Kucharski
Massimo, Isn't this the same issue? http://groups.google.com/group/web2py/browse_thread/thread/a907fdafd432636c?pli=1 -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe

Re: [web2py] Re: Creating New Applications From Console

2010-04-06 Thread Kuba Kucharski
> You can also do 'python web2py.py -S newapp' and it will prompt to > create the app if it doesn't exist shouldn't this go into python web2py.py -h in a "-S" section ? or we could add new option "-g" (generate) witha description "creates new application" just wondering. -- Kuba -- You recei

Re: [web2py] Creating New Applications From Console

2010-04-06 Thread Kuba Kucharski
hi you don't need python to do that you just have to create basic app folder structure like here: http://gluonframework.wordpress.com/2010/03/02/shell-only-web2py/ or just # cp welcome/ your_app/ -- Kuba On Tue, Apr 6, 2010 at 5:58 PM, Mengu wrote: > Hi, > > Is it possible to create new

Re: [web2py] how use python 2.6 ?

2010-04-04 Thread Kuba Kucharski
Hi Web2py-binary-runs-it's-own-python.-you-have-to-use-source-version. On 4 Apr 2010 15:08, "Sky" wrote: Hi, I've installed Python 2.6 and web2py in my windows. but web2py runs under python 2.5 ( i didn't installed 2.5 ), so my installed site-packages are not available for web2py. any one can h

Re: [web2py] Stored Procedures DAL

2010-03-30 Thread Kuba Kucharski
I remember massimo's answer in this subject, calling them yes - with executesql, but writing no, as they are db platform specific -- Kuba -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.

[web2py] plotkit realtime

2010-03-26 Thread Kuba Kucharski
I need to draw charts realtime I do: $("#plot").load('http://127.0.0.1:8001/monitoring/default/plotme2', '', call2back); in plotme2 I have: =PLOT(.. Which is javascript HELPER from Massimo's appliance I am loading the site with js code but javascipt is not getting executed - so I don't get to s

Re: [web2py] Re: my problem with datatables jq

2010-03-26 Thread Kuba Kucharski
I mean your example for month/year/day seems fine but there is a problem with time -- Kuba -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email

Re: [web2py] Re: my problem with datatables jq

2010-03-26 Thread Kuba Kucharski
but this IS_DATE(format=T('%H:%M:%S')) gives me 00:00:00 where in db I have 14:39:23 why? -- Kuba -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group,

[web2py] my problem with datatables jq

2010-03-26 Thread Kuba Kucharski
Hi in datatables datetime is displayed like this: 2010-03-26 13... by default so i cannot see minutes and seconds How to change this behaviour? I have this problem with appadmin but also when using sortable table plugin I tried setting bAutoWidth but either it doesn't work or I do smth wrong

Re: [web2py] Re: Debian / Ubuntu packager needed!

2010-03-22 Thread Kuba Kucharski
So /var/www.. -- Kuba -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit thi

Re: [web2py] Re: Debian / Ubuntu packager needed!

2010-03-22 Thread Kuba Kucharski
yes, there may be no "home" in Debian, but the proper user always have some directory assigned in /etc/passwd mysql:x:116:122:MySQL Server,,,:/var/lib/mysql:/bin/false -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send

Re: [web2py] Re: Debian / Ubuntu packager needed!

2010-03-22 Thread Kuba Kucharski
web2py application are higher level. Like php scripts in www directory. They are edtable. They are apps within web2py. They are isolated and independent. They sometimes contain sqlite data inside. web2py is about user-developers. So in some way applications are "user data". Applying default securit

Re: [web2py] Re: Debian / Ubuntu packager needed!

2010-03-22 Thread Kuba Kucharski
There are two type of "apps": the core, web2py itself applications that runs in the web2py environment. Those have to be editable. This is a hard case, since web2py is "kind of an OS itself", this should be solved with /var. -- Kuba -- You received this message because you are subscribed to t

Re: [web2py] Re: benchmarking: rocket vs pound with four rockets

2010-03-20 Thread Kuba Kucharski
you expect overhead from this? ;) def benchmark2(): return dict(data="test") -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py

Re: [web2py] Re: benchmarking: rocket vs pound with four rockets

2010-03-20 Thread Kuba Kucharski
> I am assuming that in all your tests you did not use web2py. I wrong assumption. I even published my model&controller at the beginning of this thread. -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...

Re: [web2py] Re: benchmarking: rocket vs pound with four rockets

2010-03-20 Thread Kuba Kucharski
> ach! I meant to say:  web2py.com nice one. yes. stability and funcionality over speed. I just wanted to learn where are the borders(and how to benchmark properly). -- Kuba -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to

Re: [web2py] Re: benchmarking: rocket vs pound with four rockets

2010-03-20 Thread Kuba Kucharski
ALL POWER I CAN GET FROM quad core Xeon @ 2.33GHz ONLY SOME STABLE RECORDS HERE: Request rate: 929.0 req/s (1.1 ms/req) QUAD CHERRYPY Request rate: 877.6 req/s (1.1 ms/req) QUAD ROCKET Request rate: 1478.0 req/s (0.7 ms/req) CHERRYPY SOLO Request rate: 1544.2 req/s (0.6 ms/req) ROCKET SOLO QUAD

Re: [web2py] Re: benchmarking: rocket vs pound with four rockets

2010-03-19 Thread Kuba Kucharski
One instance of each, with 10 calls in a connection as it is closer to reallife scenario: (numbers speak for themselves) CHERRYPY: r...@kubatron:/home/kuba/httperf-0.9.0/src# ./httperf --hog --server 192.168.0.1 --port=8000 ==uri=/vae/default/benchmark2 --num-conns=1 --num-calls=10 httperf -

Re: [web2py] Re: benchmarking: rocket vs pound with four rockets

2010-03-19 Thread Kuba Kucharski
> > My point here was about the general web2py population rather than your > "thing".  No offense intended, but you have a special case.  web2py handles > web-services but that is not it's primary function. yes, true, I was just explaining my httperf thinking >I think Massimo wishes > to primari

Re: [web2py] Re: benchmarking: rocket vs pound with four rockets

2010-03-19 Thread Kuba Kucharski
On Fri, Mar 19, 2010 at 2:48 PM, mdipierro wrote: > Can you also do me a favor? Can you benchmark sneaky.py (in web2py/ > gluon/)? In my tests it was faster than cherryby and I thought rocket > was an improvement over it. ok, as soon as I get back to my testing environment again -- You received

Re: [web2py] Re: benchmarking: rocket vs pound with four rockets

2010-03-19 Thread Kuba Kucharski
>Just looking over the httperf command, Kuba used --num-calls=1 This would not >be an accurate real-world test because it creates a new connection for every >request whereas most >browsers span requests over only a few connections. >Nicholas Piel's test used --num-calls=10 for testing HTTP/1.1

Re: [web2py] Re: benchmarking: rocket vs pound with four rockets

2010-03-19 Thread Kuba Kucharski
I like Rocket too. I would like it to be better than Cherrypy -- Kuba -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr.

Re: [web2py] Re: benchmarking: rocket vs pound with four rockets

2010-03-19 Thread Kuba Kucharski
>Are these numbers consistent with Tim numbers? Could this be dues to a >different memory usage? 1. Tim? 2. I have a lot of free memory while testing I wrote email to an author of the blog entry about wsgi webserver benchmarks - Nicholas Piël http://nichol.as/benchmark-of-python-web-servers In

Re: [web2py] Re: benchmarking: rocket vs pound with four rockets

2010-03-18 Thread Kuba Kucharski
the last one is doubled rocket solo w/o a header.. -- Kuba -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegro

Re: [web2py] Re: benchmarking: rocket vs pound with four rockets

2010-03-18 Thread Kuba Kucharski
I've changed methodics a bit so I repeat my measurments for ROCKET at the end of the file. Methodics: Increase rate till errors show @Massimo as you can see quad cherrypy is faster than quad rocket. but when you look closer to "SOLO" comparision you can see that both servers are hitting SAME WALL

Re: [web2py] Re: benchmarking: rocket vs pound with four rockets

2010-03-18 Thread Kuba Kucharski
I've changed methodics a bit so I repeat my measurments for ROCKET at the end of the file. Methodics: Increase rate till errors show @Massimo as you can see quad cherrypy is faster than quad rocket. but when you look closer to "SOLO" comparision you can see that both servers are hitting SAME WALL

Re: [web2py] Re: benchmarking: rocket vs pound with four rockets

2010-03-18 Thread Kuba Kucharski
with 4x Rocket via Pound all is ok, with Rocket Solo I get 4703 addrunavail errors(in httperf this should never happened and it renders this benchmarks useless) per 1 connections. I think this might be about linux tweaking. Do ANYONE have some more experience with setting sysctl environment for

Re: [web2py] benchmarking: rocket vs pound with four rockets

2010-03-18 Thread Kuba Kucharski
@Tim do you have the fix already in launchpad? if yes can you tell me how to replace rocket with the newest one inside web2py? -- Kuba -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.co

Re: [web2py] Re: Where do you use web2py?

2010-03-17 Thread Kuba Kucharski
voice over ip data engine ( routing, billing, gui-backend, etc ) -- Kuba -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubs

Re: [web2py] benchmarking: rocket vs pound with four rockets

2010-03-17 Thread Kuba Kucharski
http://web2py.com/book/default/section/11/12?search=pound http://www.apsis.ch/pound/ kernel is 2.6.31-14-server not PAE of course.. sorry for mistakes. I didn't mentioned but I had also executed some sysctl and ulimit tweaking before benchmarking. I ran tests again with the same configuration v

Re: [web2py] Re: benchmarking: rocket vs pound with four rockets

2010-03-17 Thread Kuba Kucharski
> I was going to say "extend/include" not import and even this is not true as I see now for small layout -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this grou

  1   2   3   >