Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7867949
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T00:50:45+00:00 2026-06-03T00:50:45+00:00

I’ve really enjoyed experimenting with Meteor recently and so far i’ve found it to

  • 0

I’ve really enjoyed experimenting with Meteor recently and so far i’ve found it to be a really neat little app. I’ve decided to migrate an old application over to meteor and have already made some good progress. The application is a live score updates application. While i’ve been able to demonstrate the concept i’ve found 2 issues which may prevent me from using it.

1) Data previously existed in a mySQL database so i’ve written a script to export the data into .js files. For those that might want to do similar, the main part of the PHP code is here.

$handle = fopen($output_file, "w");

foreach ( $tables as $key => $table ) {
        $query = "SELECT * FROM $table_prefix$table";
        $res = mysql_query($query);
        while ( $row = mysql_fetch_assoc($res) ) {

                $newTableName = "";

                $parts = explode("_", $table);
                foreach ( $parts as $k => $v ) {
                        $newTableName .= ucfirst($v);
                }

                $string = $newTableName.".insert({";
                $first = true;
                foreach ( $row as $columnName =>  $value ) {
                        if ( !$first ) { $string .= ", "; }
                        $string .= "$columnName : \"$value\"";
                        $first = false;
                }
                $string .= " });";
                print $string . "<br>";

        }
}

While this has worked for most of the tables, i have one table in particular which contains all the event information. This separate .js file contains 3600 lines of insert statements and it would seem that when this is in the application, the application breaks. If i rename the file to be ‘event.js.save’ for example, then the application is fine. More specifically, with this .js file in place, when i deploy the application i get..

mac:app user$ meteor deploy <domain>.meteor.com
Deploying to <domain>.meteor.com.  Bundling ...

Errors prevented deploying:
Exception while bundling application:
RangeError: Maximum call stack size exceeded

So, Question number 1 is – how much has been done to test the scalability of this appliction?

2) The second issue i have is regarding mobile performance. I’ve spent a long time getting a stylesheet looking good on all platforms and have been really disappointed to see how quickly the battery on a mobile goes down.

When i load a page in Safari the ‘progress’ animation in the top right is constantly spinning and from what i’ve seen 5% of battery goes in probably 10 minutes.

Question number 2 – how is the connection kept alive for browsers? Is there anything that can be done to reduce the impact on mobile browsers?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T00:50:47+00:00Added an answer on June 3, 2026 at 12:50 am

    1:
    Applications are very scalable in the case that the meteor site managed the launch just fine with a massive amount of traffic all in one day when they had not planned for it.
    The reason for your error is that you can’t call that many statements that are the same in a row as far as I’m aware as js thinks it is crashing. I think there are ways to change this however or get round it.

    As far as testing they have done I’m unsure, personally I would import the data by itterating through the data and inserting it rather than having it as that many calls (I think that is the issue).

    2:
    That is a bug that it is spinning however it is constantly checking over ajax or similar methods.
    In future sockets will be used which I expect will be more efficient.
    Perhaps there will be a way to tune down the number of queries and network intensive it is in the future.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build
I am writing an app with both english and french support. The app requests
I am using Paperclip to handle profile photo uploads in my app. They upload
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but
I would like to count the length of a string with PHP. The string

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.