Re: [nodejs] Remote simulation?

92 views
Skip to first unread message

Mingli Yuan

unread,
Mar 12, 2013, 9:12:45 AM3/12/13
to nod...@googlegroups.com
Hi, Simo,


Although it is unfinished, it is just what you want.

Mingli


On Tue, Mar 12, 2013 at 3:00 PM, simo <as3...@gmail.com> wrote:

At client side, I will have a physics simulation, user will create the simulation arguments using HTML5 based interactive view.

The simulation arguments will be sent to server side, where child nodejs process will calculate the results and send back to client.
The simulation results are emitted to client each one second.

I know that I will be using HTML5 websockets, I am not streaming a file, I am sending calculations in a json object each one second, so I will need to create a live instance within a child process of my js based simulator class.

Is there an example about creating a live instance in a child process?
Is there a proto-type or an example close to what I am trying to do? Or a nodejs module? 


--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com
To unsubscribe from this group, send email to
nodejs+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
 
---
You received this message because you are subscribed to the Google Groups "nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

simo

unread,
Mar 13, 2013, 10:18:04 AM3/13/13
to nod...@googlegroups.com
Thanks Mingli! please check my website here http://www.dcaclab.com/en/lab
this is the simulator that I want to write its core to work at server side, when users chose alternative current for power source, I will need to stream calculations to client in a rate near to 15 iteration per second, and front end as HTML5, do you think that your project is similar? : )

Thanks again for sharing!

simo

unread,
Mar 13, 2013, 10:21:12 AM3/13/13
to nod...@googlegroups.com
I've noticed that you didn't use any module .. ex: socket.io, didn't you need them?
Can you please enrich my question at stackoverflow here: http://stackoverflow.com/questions/15341361/remote-simulation-with-nodejs

Regards,
Samir

Denys Khanzhiyev

unread,
Mar 13, 2013, 11:58:45 AM3/13/13
to nodejs
Simo,
http://www.dcaclab.com/en/lab is fun! Offtopic: why I can not delete burnt-out fan?

Regards,
Denis


2013/3/13 simo <as3...@gmail.com>

Mingli Yuan

unread,
Mar 13, 2013, 1:00:35 PM3/13/13
to nod...@googlegroups.com
Simo,

Explanation had been posted on SO!
If you want to have a try, you can mail me privately.

Mingli


Samir Sabri

unread,
Mar 13, 2013, 3:06:48 PM3/13/13
to nod...@googlegroups.com

Thank you, Try to select it by cluck on it, then press delete, or drag and drop it out of board : ) currently I am building html5 version, thats why I am seeking knowledge here ..

You received this message because you are subscribed to a topic in the Google Groups "nodejs" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/nodejs/W46mBbf0TKU/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to nodejs+un...@googlegroups.com.

Samir Sabri

unread,
Mar 13, 2013, 11:40:32 PM3/13/13
to nod...@googlegroups.com
Thanks Mingli, your explanation is definitely helpful, as I am building the client side, I will let you know once I start the server side part.

Thanks again! what a wonderful community : )

You received this message because you are subscribed to a topic in the Google Groups "nodejs" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/nodejs/W46mBbf0TKU/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to nodejs+un...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
--
Kind Regards,
--------------------------------------------- 
Samir Sabri
Software Architect& Developer
Jordan-Middle East
Reply all
Reply to author
Forward
0 new messages