What is the proper way to do load testing for node.js? [on hold]











up vote
0
down vote

favorite












We are trying to make a load testing script in node, in order to test our back-end. We are using on.call firebase functions and redis.



The system is composed by mobile devices, which will send coordinates and move continuously, hitting the on.call firebase functions which in turn interact with firebase database and redis.



Which would be the proper way to do it? we would like to make thousands of instances which will send data and move continuously.



We were thinking of experimental workers or web workers in order to make threads to emulate each device.










share|improve this question









New contributor




Antonis S is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











put on hold as too broad by Neil Lunn, EdChum, alexi2, stealthyninja, greg-449 19 hours ago


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.



















    up vote
    0
    down vote

    favorite












    We are trying to make a load testing script in node, in order to test our back-end. We are using on.call firebase functions and redis.



    The system is composed by mobile devices, which will send coordinates and move continuously, hitting the on.call firebase functions which in turn interact with firebase database and redis.



    Which would be the proper way to do it? we would like to make thousands of instances which will send data and move continuously.



    We were thinking of experimental workers or web workers in order to make threads to emulate each device.










    share|improve this question









    New contributor




    Antonis S is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.











    put on hold as too broad by Neil Lunn, EdChum, alexi2, stealthyninja, greg-449 19 hours ago


    Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      We are trying to make a load testing script in node, in order to test our back-end. We are using on.call firebase functions and redis.



      The system is composed by mobile devices, which will send coordinates and move continuously, hitting the on.call firebase functions which in turn interact with firebase database and redis.



      Which would be the proper way to do it? we would like to make thousands of instances which will send data and move continuously.



      We were thinking of experimental workers or web workers in order to make threads to emulate each device.










      share|improve this question









      New contributor




      Antonis S is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      We are trying to make a load testing script in node, in order to test our back-end. We are using on.call firebase functions and redis.



      The system is composed by mobile devices, which will send coordinates and move continuously, hitting the on.call firebase functions which in turn interact with firebase database and redis.



      Which would be the proper way to do it? we would like to make thousands of instances which will send data and move continuously.



      We were thinking of experimental workers or web workers in order to make threads to emulate each device.







      node.js multithreading firebase testing load






      share|improve this question









      New contributor




      Antonis S is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      Antonis S is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited 14 hours ago





















      New contributor




      Antonis S is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 22 hours ago









      Antonis S

      12




      12




      New contributor




      Antonis S is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Antonis S is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Antonis S is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      put on hold as too broad by Neil Lunn, EdChum, alexi2, stealthyninja, greg-449 19 hours ago


      Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.






      put on hold as too broad by Neil Lunn, EdChum, alexi2, stealthyninja, greg-449 19 hours ago


      Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.


























          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          Firebase onCall functions are effectively just onRequest functions that have the data and auth objects dealt with by the client sdks. You can call an onCall via a post request. Bit more information from another answer or on the docs. So you can test it via any normal http load testing means






          share|improve this answer




























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            Firebase onCall functions are effectively just onRequest functions that have the data and auth objects dealt with by the client sdks. You can call an onCall via a post request. Bit more information from another answer or on the docs. So you can test it via any normal http load testing means






            share|improve this answer

























              up vote
              0
              down vote













              Firebase onCall functions are effectively just onRequest functions that have the data and auth objects dealt with by the client sdks. You can call an onCall via a post request. Bit more information from another answer or on the docs. So you can test it via any normal http load testing means






              share|improve this answer























                up vote
                0
                down vote










                up vote
                0
                down vote









                Firebase onCall functions are effectively just onRequest functions that have the data and auth objects dealt with by the client sdks. You can call an onCall via a post request. Bit more information from another answer or on the docs. So you can test it via any normal http load testing means






                share|improve this answer












                Firebase onCall functions are effectively just onRequest functions that have the data and auth objects dealt with by the client sdks. You can call an onCall via a post request. Bit more information from another answer or on the docs. So you can test it via any normal http load testing means







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 21 hours ago









                Jack Woodward

                29617




                29617















                    Popular posts from this blog

                    Volksrepublik China

                    How to test boost logger output in unit testing?

                    Write to the output between two pipeline