|
Our problem was using database drivers. Most are not designed to handle async event load. We switched to mongo, which seems to work better, but it's hard to say without large data to test with. If you want to bounce any ideas around message me. Latez
.'\ /`.
.'.-.`-'.-.`.
..._: .-. .-. :_...
.' '-.(o ) (o ).-' `.
: _ _ _`~(_)~`_ _ _ :
: /: ' .-=_ _=-. ` ;\ :
: :|-.._ ' ` _..-|: :
: `:| |`:-:-.-:-:'| |:' :
`. `.| | | | | | |.' .'
`. `-:_| | |_:-' .'
`-._ ```` _.-'
``-------'/xml>
|
|
|
|
|
Our approach to utilize relational data sources is to have Nodejs to access back-end http services (WCF at present), custom built for a database of particular schema. Nodejs can handle this kind of service async calls well since they are nothing but http requests inside of the Nodejs server.
This may imply a lot of work to create and maintain the system. However we have been automating the system generation process so that much of the work can be done by computers. Only some business logic and front-ends codez need to be handled by human developers.
When it is done (Nodejs system) I could write an article about it here if I find time for it.
|
|
|
|
|
just a silly question...
why use nodejs when you can use webapi and such like?
It's not a rhetorical question, I don't like JS.. though I am getting used to it slowly.. but I couldn't fathom using it in place where there are perfectly working other solution, wondering what might cause other people to do the jump!
Speaking of which, javascript joke, what is the value of this?
|
|
|
|
|
Super Lloyd wrote: why use nodejs when you can use webapi and such like?
At least, it is less expensive to use (linux, less than 1 GB of memory, etc. to support massive connections). The savings will add up when scaling out is needed.
And secondly, from what was claimed, it can scale out more easily for interactive, event driven systems. Of couse this will eventually depends on if the application system is so designed to take advantage of the async IO nature of Nodejs. Web Api can support async ways of programming, but it (asynchrony) is based on thread pools, not on events so it is likely not as scalable as event based asynchrony. To be event driven, one need to use specialized web servers which are not available on Windows platform. If Web Api framework can be made support such servers, which I am not sure it is possible, it could take some efforts to create such kind of servers on ones own.
However, it should not be used for servers that process computational intensive jobs.
Of course what is said above is in principle, one still need to verify if they are really the case ...
|
|
|
|
|
1. Cost
2. Event / Stream driven
3. Deployment time
4. Scalability
5. Low Memory and CPU footprint
6. Great for Mobile Devices
Above are some common reasons.
JS is definitely a strange beast, but once you get use to it, you will come around. Also just a side not. If you want to see an example of how JS can really be used check out this video and learn FRP ( functional reactive programming )
Video Tutorial[^]
.'\ /`.
.'.-.`-'.-.`.
..._: .-. .-. :_...
.' '-.(o ) (o ).-' `.
: _ _ _`~(_)~`_ _ _ :
: /: ' .-=_ _=-. ` ;\ :
: :|-.._ ' ` _..-|: :
: `:| |`:-:-.-:-:'| |:' :
`. `.| | | | | | |.' .'
`. `-:_| | |_:-' .'
`-._ ```` _.-'
``-------'/xml>
|
|
|
|
|
Brand New rule for today.
143. When Life gives you lemons, make a bloody Mary and enjoy it as Life go all like WTF MANG!
Other rules and suggestions for rules can be found here[®]
»»» <small>Loading Signature</small> «««
· · · <small>Please Wait</small> · · ·
|
|
|
|
|
*Margarita
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
Entropy isn't what it used to.
|
|
|
|
|
Bloody Margarita?
»»» <small>Loading Signature</small> «««
· · · <small>Please Wait</small> · · ·
|
|
|
|
|
No, not the pizza, the cocktail.
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
Entropy isn't what it used to.
|
|
|
|
|
There is a Pizza called Bloody Margarita? *drooling
There is no such Pizza, You lie to me?!
I am going to copyright it right now! If google[ . ] cannot find proof of it in existence (first 5 results) then it must not exist!
»»» <small>Loading Signature</small> «««
· · · <small>Please Wait</small> · · ·
|
|
|
|
|
The margarita (Margherita, correctly) is a pizze with usually only tomato.
Tomato: red.
Blood: red.
Bloody Margarita !
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
Entropy isn't what it used to.
|
|
|
|
|
Bloody hell
»»» <small>Loading Signature</small> «««
· · · <small>Please Wait</small> · · ·
|
|
|
|
|
Will you die if you drink it 3 times in a row ?
Clickety
Microsoft ... the only place where VARIANT_TRUE != true
|
|
|
|
|
Bloody right you will. Well if you get killed...
»»» <small>Loading Signature</small> «««
· · · <small>Please Wait</small> · · ·
|
|
|
|
|
Live the life that will get the Westboro Baptist Church to picket your funeral.
|
|
|
|
|
Nagy Vilmos wrote: Live the life that will get the Westboro Baptist Church to picket your funeral. ...and leave in your will that everyone attending your funeral should be given a loaded paintball gun!
|
|
|
|
|
But Buddha said....
if(this.signature != "")
{
MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
}
else
{
MessageBox.Show("404-Signature not found");
}
|
|
|
|
|
Destroy All Humans?
Or is that a slogan?
Simon Lee Shugar (Software Developer)
www.simonshugar.co.uk
"If something goes by a false name, would it mean that thing is fake? False by nature?" By Gilbert Durandil
|
|
|
|
|
|
Whilst I agree with your new motto, what brought that on? I thought the old elephant-er had "popped his clogs"?
Ken
|
|
|
|
|
So you want to die in a war while having Gay Sex?
I want to live my life in such a way that THE Church picket my funeral.
|
|
|
|
|
I just can't understand why god hates cigarettes so much.
Alberto Brandolini: The amount of energy necessary to refute bullshit is an order of magnitude bigger than to produce it.
|
|
|
|
|
He told me he is just trying to stop, so he might be a bit irritated.
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
Entropy isn't what it used to.
|
|
|
|
|
I hear their strapped for cash and all members have chipped in and they will be holding a dress sale.
Have you ever just looked at someone and knew the wheel was turning but the hamster was dead?
Trying to understand the behavior of some people is like trying to smell the color 9.
I'm not crazy, my reality is just different than yours!
|
|
|
|
|
Life is a bitch and then you die.
My personal motto and BEST MOTTO EVER!
It's an OO world.
public class SanderRossel : Lazy<Person>
{
public void DoWork()
{
throw new NotSupportedException();
}
}
|
|
|
|