[jQuery] Re: should I use .txt or a database to retrieve data from it every second

2009-05-20 Thread Null
Comet (server-push technology) is that the other way around? So normaly with jQuery you ask the server every sec to check for new data and then display it, but with Comet, you don't do the request but new data is automaticly pushed and displayed when the server received new data? Do I understand t

[jQuery] Re: should I use .txt or a database to retrieve data from it every second

2009-05-19 Thread Ricardo
A database is usually faster than flat files, and the gap grows larger as the data size increases. From what I know using caching (memcache, APC) and/or prepared statements it shouldn't be hard to achieve over 10.000 queries/second on a decent system (someone please correct me if I'm wrong). You